From: Will Estes Date: Tue, 20 Aug 2002 14:52:39 +0000 (+0000) Subject: we're using m4 so have configure test for it X-Git-Tag: flex-2-5-15~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=43932bce507d7f57bbe252b4535257372a982a14;p=flex we're using m4 so have configure test for it --- diff --git a/Makefile.am b/Makefile.am index f8f9f5c..b4abd89 100644 --- a/Makefile.am +++ b/Makefile.am @@ -36,6 +36,7 @@ YFLAGS = -d ACLOCAL_AMFLAGS = -I m4 help2man = @HELP2MAN@ +m4 = @M4@ AUTOMAKE_OPTIONS = \ readme-alpha \ @@ -123,7 +124,7 @@ INCLUDES = -DLOCALEDIR=\"$(localedir)\" -I@includedir@ LIBS = @LIBINTL@ @LIBS@ skel.c: flex.skl mkskel.sh - m4 -P $(srcdir)/flex.skl | $(SHELL) $(srcdir)/mkskel.sh >skel.c + $(m4) -P $(srcdir)/flex.skl | $(SHELL) $(srcdir)/mkskel.sh >skel.c $(man_MANS): $(srcdir)/main.c for i in $(man_MANS) ; do \ diff --git a/NEWS b/NEWS index 3dcd4d3..377f56e 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,9 @@ See the file COPYING for copying conditions. * after version 2.5.14 +** skeleton now processed by m4 before mkskel.sh; (this only matters + if you want to change the skeleton or if you're doing flex development) + ** zh_cn translation added from translation project ** a bug that caused a segfault has now been fixed diff --git a/configure.in b/configure.in index 66f3fa6..d8cc7a7 100644 --- a/configure.in +++ b/configure.in @@ -37,6 +37,7 @@ AC_PROG_CC AC_PROG_RANLIB AC_PATH_PROG(HELP2MAN, help2man, $srcdir/missing) +AC_PATH_PROG(M4, m4, $srcdir/missing) AC_C_CONST AC_TYPE_SIZE_T