X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=95d2f2b9c9a3b10310180b72486191225d07dd3b;hb=e9558f1dd242f2eb6a528c5509f1f8911fffe5d7;hp=30bec5e82e4f4c186ed3a21535a49e2a9e243cdf;hpb=6b839b35324dc93ee2e032c2beaa16dbf1e629b5;p=portablexdr.git diff --git a/configure.ac b/configure.ac index 30bec5e..95d2f2b 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT(portablexdr, 4.0.11) +AC_INIT(portablexdr, 5.0.0) AM_INIT_AUTOMAKE AC_CONFIG_HEADERS([config.h]) @@ -9,6 +9,19 @@ AC_CHECK_PROGS(AR, ar) AC_PROG_INSTALL AC_PROG_LIBTOOL +AC_PROG_LEX +AC_PROG_YACC + +dnl Look for an external 'cpp' program which can run on a file with any +dnl extension. The normal CPP can only run on files with a '.c' +dnl extension, therefore we prefer to use /usr/bin/cpp if it exists. +AC_PATH_PROG([EXTCPP], [cpp], [no]) +if test "x$EXTCPP" = "xno"; then + AC_MSG_FAILURE([Cannot find a working 'cpp' (C preprocessor) program]) +fi +AC_DEFINE_UNQUOTED([EXTCPP], ["$EXTCPP"], + [The C preprocessor command (may include command line options).]) + MINGW_EXTRA_LDFLAGS= case "$host" in *-*-mingw*)