Hi Ludovic, On 08/24/12 06:36, Ludovic Courtès wrote:
I'd prefer to use guile.m4, even though it uses guile-config. It insists. Unfortunately, it does not work. For me.configure.ac:140: the top level configure:14130: error: possibly undefined macro: AC_LIB_LINKFLAGS_FROM_LIBS If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. bootstrap failure: trapped exit signal mk-all: line 197: 5702 KilledAs the comment says: dnl AC_LIB_LINKFLAGS_FROM_LIBS is defined in gnulib/m4/lib-link.m4 and needs dnl the file gnulib/build-aux/config.rpath. This means that these two files have to be imported in your project for this to work. I hadn’t noticed that, and I reckon that this is unfortunate. The change dates back to Feb. 2011, by Bruno, so we’d have to check the rationale.
Thank you for the explanation. I am a big fan of comprehensible error messages and, as you'd guess, I don't think that "possibly undefined macro: AC_LIB_LINKFLAGS_FROM_LIBS" qualifies. Adding an AC_REQUIRE() would likely trigger something more meaningful. Having to trace down a comment in an m4 file is not very friendly. However, now that I know the issue, obviously I'll add these files to the list of things I grab from gnulib. Thank you again. Regards, Bruce
