X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/blobdiff_plain/f78c5d06a8775b33890071166d56be82d9233c8b..f2d4efbe8a7d51123b806e623835ddb6ccbc2f3a:/configure.ac diff --git a/configure.ac b/configure.ac index a0bf6b1..b30597a 100644 --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,7 @@ dnl There is NO WARRANTY, to the extent permitted by law. AC_PREREQ([2.68]) AC_INIT([cdecl99], [0.1], [nbowler@draconx.ca]) -AC_CONFIG_HEADER([config.h]) +AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign subdir-objects]) AM_SILENT_RULES([yes]) @@ -48,8 +48,12 @@ m4_traceoff([AM_GNU_GETTEXT]) AM_GNU_GETTEXT([external]) DX_LINGUAS -DX_PROG_FLEX([], [], [FLEX=false]) -DX_PROG_BISON([], [], [BISON=false]) +DX_PROG_FLEX([], [have_flex=yes], [have_flex=no]) +AM_CONDITIONAL([HAVE_FLEX], [test x"$have_flex" = x"yes"]) + +DX_PROG_BISON([], [have_bison=yes], [have_bison=no]) +AM_CONDITIONAL([HAVE_BISON], [test x"$have_bison" = x"yes"]) + DX_BISON_COMPAT BISON_I18N