Hello Nishio, * Nishio Futoshi wrote on Sun, Jul 04, 2010 at 03:02:20AM CEST: > I'm checking autoconf-2.66, then autoreconf -f (--force) command > caught error which uses pkg-config (pkg.m4). > > in configure.ac write > PKG_CHECK_MODULES(GLIB, [glib-2.0]) > > and autoreconf with -f (--force) option > > $ autoreconf -f > configure:3445: error: possibly undefined macro: AS_MESSAGE_LOG_FDdnl > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > > $ cat -n configure | head -n 3450 - | tail -n 10 - > 3441 installed software in a non-standard prefix. > 3442 > 3443 Alternatively, you may set the environment variables GLIB_CFLAGS > 3444 and GLIB_LIBS to avoid the need to call pkg-config. > 3445 See the pkg-config man page for more details." "$LINENO" AS_MESSAGE_LOG_FDdnl > 3446 > 3447 elif test $pkg_failed = untried; then > 3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 > 3449 $as_echo "no" >&6; } > 3450 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 > > I putted tested tarball in > http://www.d3.dion.ne.jp/~fut_nis/test_package-0.0.0.tar.gz Thanks for the bug report. I'm not 100 percent sure that this isn't some quoting regression in Autoconf, but quite likely it is just that the newer Autoconf uncovered an underquoted text in pkg.m4. For me it works to edit pkg.m4, search for "Package requirements" then search for the next "dnl" and replace it with "[]dnl". Hope that helps. Please report this to the maintainer of the pkg.m4 file (should be listed somewhere near the top). Thanks. Cheers, Ralf _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf