From: David Levine Date: Sun, 4 Jan 2015 15:57:23 +0000 (-0600) Subject: Added yacc/bison support to configure.ac. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/78870b8d0afae1f7626febfc48251688d83e9b28?hp=41a19760d9369daba89e4ad963a06ebb6f04321e Added yacc/bison support to configure.ac. --- diff --git a/MACHINES b/MACHINES index 1547a4ac..d930dc23 100644 --- a/MACHINES +++ b/MACHINES @@ -22,9 +22,10 @@ the exceptions noted below), using an ANSI C compiler, such as gcc: On all platforms, the following programs are required to build nmh from a snapshot of the source code repository: - autoconf - automake - flex + autoconf 2.68 or later + automake 1.12 or later + flex 2.5.4 or later + bison 2.3 or later, Berkeley yacc 1.9 or later, or Solaris yacc 4.0 They are not required if building from an nmh distribution (.tar.gz) file. Platform-specific notes follow. diff --git a/configure.ac b/configure.ac index e0a96f5d..4e195b61 100644 --- a/configure.ac +++ b/configure.ac @@ -206,11 +206,12 @@ AC_HEADER_ASSERT dnl ------------------ dnl CHECK FOR PROGRAMS dnl ------------------ -AC_PROG_MAKE_SET dnl Does make define $MAKE -AC_PROG_INSTALL dnl Check for BSD compatible `install' -AC_PROG_RANLIB dnl Check for `ranlib' +AC_PROG_MAKE_SET dnl Does make define $MAKE +AC_PROG_INSTALL dnl Check for BSD compatible `install' +AC_PROG_RANLIB dnl Check for `ranlib' AC_PROG_AWK dnl Check for mawk,gawk,nawk, then awk -AC_PROG_SED dnl Check for Posix-compliant sed +AC_PROG_SED dnl Check for Posix-compliant sed +AC_PROG_YACC dnl Check for yacc/bison AM_PROG_LEX dnl Check for lex/flex AM_PROG_AR