From: Akim Demaille Date: Mon, 10 Dec 2001 09:00:36 +0000 (+0000) Subject: * configure.in: Require 2.52g. X-Git-Tag: before-m4-back-end~176 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/80df876864983b91961c74171d1a32fabe3fdefe * configure.in: Require 2.52g. M4 is not needed, but AUTOM4TE is. * m4/m4.m4: Remove. * tests/Makefile.am: Adjust. --- diff --git a/ChangeLog b/ChangeLog index c4a4dc5a..594e4d28 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2001-12-10 Akim Demaille + + * configure.in: Require 2.52g. + M4 is not needed, but AUTOM4TE is. + * m4/m4.m4: Remove. + * tests/Makefile.am: Adjust. + + 2001-12-10 Akim Demaille One structure for states is enough, even though theoretically diff --git a/configure.in b/configure.in index f59fe984..b6788873 100644 --- a/configure.in +++ b/configure.in @@ -18,7 +18,7 @@ # 02111-1307 USA # We need a recent Autoconf to run a recent Autotest. -AC_PREREQ(2.52e) +AC_PREREQ(2.52g) AC_INIT([GNU Bison], [1.49a], [bug-bison@gnu.org]) AC_CONFIG_AUX_DIR(config) @@ -28,7 +28,7 @@ AM_CONFIG_HEADER(config.h:config.hin) # Initialize the test suite. AC_CONFIG_TESTDIR(tests) -AC_CONFIG_FILES(tests/Makefile tests/atlocal) +AC_CONFIG_FILES([tests/Makefile tests/atlocal]) AC_CONFIG_FILES([tests/bison], [chmod +x tests/bison]) # Needed by tests/atlocal.in. AC_SUBST([GCC]) @@ -39,12 +39,7 @@ AC_MINIX AC_ISC_POSIX AM_PROG_CC_STDC AC_PROG_RANLIB -# GNU M4 is needed to build the testsuite. -BISON_AC_PROG_GNU_M4 -if test "$ac_cv_prog_gnu_m4" != yes; then - missing_dir=`cd $ac_aux_dir && pwd` - M4="$missing_dir/missing m4" -fi +AM_MISSING_PROG([AUTOM4TE], [autom4te]) AC_ARG_ENABLE(gcc-warnings, [ --enable-gcc-warnings turn on lots of GCC warnings (not recommended)], diff --git a/m4/Makefile.am b/m4/Makefile.am index 261cc7d8..052697d6 100644 --- a/m4/Makefile.am +++ b/m4/Makefile.am @@ -9,7 +9,6 @@ glibc21.m4 \ iconv.m4 \ isc-posix.m4 \ lcmessage.m4 \ -m4.m4 \ malloc.m4 \ mbrtowc.m4 \ mbstate_t.m4 \ diff --git a/m4/m4.m4 b/m4/m4.m4 deleted file mode 100644 index 6cf4af18..00000000 --- a/m4/m4.m4 +++ /dev/null @@ -1,16 +0,0 @@ -# serial 1 -*- Autoconf -*- - -# BISON_AC_PROG_GNU_M4 -# -------------------- -# Check for GNU m4, at least 1.3 (supports frozen files). -AC_DEFUN([BISON_AC_PROG_GNU_M4], -[AC_PATH_PROGS(M4, gm4 gnum4 m4, m4) -AC_CACHE_CHECK([whether m4 supports frozen files], - [ac_cv_prog_gnu_m4], -[ac_cv_prog_gnu_m4=no -if test x"$M4" != x; then - case `$M4 --help < /dev/null 2>&1` in - *reload-state*) ac_cv_prog_gnu_m4=yes ;; - esac -fi]) -])# BISON_AC_PROG_GNU_M4 diff --git a/tests/Makefile.am b/tests/Makefile.am index 485784ef..0a4c0bc6 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -20,7 +20,7 @@ EXTRA_DIST = $(TESTSUITE_AT) testsuite -DISTCLEANFILES = atconfig atlocal bison package.m4 +DISTCLEANFILES = atconfig bison package.m4 MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE) TESTSUITE_AT = \ @@ -28,7 +28,6 @@ TESTSUITE_AT = \ output.at reduce.at calc.at torture.at regression.at TESTSUITE = $(srcdir)/testsuite -AUTOM4TE = autom4te AUTOTEST = $(AUTOM4TE) --language=autotest $(srcdir)/$(TESTSUITE): $(TESTSUITE_AT) $(AUTOTEST) -I $(srcdir) testsuite.at -o $@.tmp diff --git a/tests/Makefile.in b/tests/Makefile.in index be9e3ac6..b97b4c51 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -64,6 +64,7 @@ EXEEXT = @EXEEXT@ OBJEXT = @OBJEXT@ PATH_SEPARATOR = @PATH_SEPARATOR@ AMTAR = @AMTAR@ +AUTOM4TE = @AUTOM4TE@ AWK = @AWK@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ CATALOGS = @CATALOGS@ @@ -85,7 +86,6 @@ INTLOBJS = @INTLOBJS@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ LIB = @LIB@ LIBICONV = @LIBICONV@ -M4 = @M4@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ PACKAGE = @PACKAGE@ @@ -103,7 +103,7 @@ install_sh = @install_sh@ EXTRA_DIST = $(TESTSUITE_AT) testsuite -DISTCLEANFILES = atconfig atlocal bison package.m4 +DISTCLEANFILES = atconfig bison package.m4 MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE) TESTSUITE_AT = \ @@ -112,7 +112,6 @@ TESTSUITE_AT = \ TESTSUITE = $(srcdir)/testsuite -AUTOM4TE = autom4te AUTOTEST = $(AUTOM4TE) --language=autotest subdir = tests mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs