Hello. On Sat, Aug 06, 2005 at 10:51:28PM -0400, Sam Steingold wrote: > ./configure.ac is the ad hoc concatenation of the the sub-package > configures, including modules/regexp/configure.in. > specifically, it contains > gl_INCLUDED_REGEX([regex.c]) > and src/m4/regex.m4 defines it and calls AC_CHECK_HEADERS_ONCE &c.
Hah! An idea: Do I understand correctly that regex.m4 is in fact located at modules/regexp/src/m4/regex.m4 ? But when you run $ aclocal -I `pwd`/src/m4 --output=src/autoconf/aclocal.m4 it looks only to src/m4/regex.m4 (relative to the current directory), so it cannot find the definition of gl_INCLUDED_REGEX? Could you try to add option --verbose to your aclocal call? Does it say something like: aclocal: found macro gl_INCLUDED_REGEX in .../modules/regexp/src/m4/regex.m4: 53 Anyway, --verbose option could help you to debug your problem. Stepan