Jim Meyering wrote on bug-gnulib:
> Fedora 12, gcc-c++-4.4.3-4.fc12.x86_64
>
> FYI, I pushed the grep changes, so if you get the latest,
> revert the latest bootstrap.conf change (which avoids the
> failing test), then ./bootstrap && ./configure etc. should
> demonstrate the failure.
I checked out the grep 'git' repository, reverted the bootstrap.conf
change, did
$ ./bootstrap
and got:
...
./bootstrap: autoconf --force ...
configure.ac:27: error: possibly undefined macro: AC_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
The generated configure file indeed contains
# support for pcre
PKG_PROG_PKG_CONFIG
if test x"$testpcre" = x"yes"; then
PKG_CHECK_MODULES(PCRE, libpcre,
AC_DEFINE([HAVE_LIBPCRE], 1,
[Define to 1 if you have the `pcre' library (-lpcre).])
CPPFLAGS="$CPPFLAGS $PCRE_CFLAGS",
:)
fi
Apparently a definition of the macros PKG_PROG_PKG_CONFIG and PKG_CHECK_MODULES
is missing from the grep/m4/ directory. Please add these macros there;
pkg-config is not a standard development tool present on every developer's
machine.
Bruno