| I'm trying to rebuild the configure script for grep 2.4.2, but autoconf | fails for some reason. | | How do I tell what is wrong?
Probably nothing wrong. It seems to me that the Grep 2.4.2 that you fetched, is broken. Unless you run HP/UX. | | I did run aclocal and automake before hand but it doesn't make any | difference. Just don't. | | | Here's a log of some of the msgs, but it means nothing to me:- | | configure.in:11: your implementation of AM_INIT_AUTOMAKE comes from an | configure.in:11: old Automake version. You should recreate aclocal.m4 | configure.in:11: with aclocal and run automake again. | aclocal.m4:471: error: m4_defn: undefined macro: _m4_divert_diversion | autoconf/oldnames.m4:113: AM_PROG_INSTALL is expanded from... | aclocal.m4:471: the top level | WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' | WARNING: and `config.h.top', to define templates for `config.h.in' | WARNING: is deprecated and discouraged. | | WARNING: Using the third argument of `AC_DEFINE' and | WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without | WARNING: `acconfig.h': | | WARNING: AC_DEFINE([NEED_MAIN], 1, | WARNING: [Define if a function `main' is needed.]) | | WARNING: More sophisticated templates can also be produced, see the | WARNING: documentation. | aclocal.m4:471: error: m4_defn: undefined macro: _m4_divert_diversion | autoconf/oldnames.m4:113: AM_PROG_INSTALL is expanded from... | aclocal.m4:471: the top level | autoheader: autom4te failed with exit status: 1 | at c:/usr/local/bin/autoheader line 163 Start again from a fresh tarball, say 2.5.
