* m4/m4.m4: New, from CVS Autoconf.

* configure.in: Invoke it.
* src/output.c (output_skeleton): Use its result instead of the
hard coded name.
This commit is contained in:
Akim Demaille
2002-02-25 14:00:57 +00:00
parent 381fb12e1e
commit abe017f60d
4 changed files with 20 additions and 5 deletions

View File

@@ -42,6 +42,11 @@ AC_ISC_POSIX
AM_PROG_CC_STDC
AC_PROG_RANLIB
AM_MISSING_PROG([AUTOM4TE], [autom4te])
BISON_PROG_GNU_M4
if test x"$ac_cv_prog_gnu_m4" != xyes; then
AC_MSG_ERROR([GNU M4 1.4 is required])
fi
AC_DEFINE_UNQUOTED([M4], ["$M4"], [Define to the GNU M4 executable name.])
AC_ARG_ENABLE(gcc-warnings,
[ --enable-gcc-warnings turn on lots of GCC warnings (not recommended)],