Hey,
sometimes, when I run a script that executes the usual commands to configure
the autotools (aclocal, autoconf, etc...), or when I run autoreconf -f -i, I
get the error "possibly undefined macro" for AC_DEFINE. Today, it with
AC_CHECK_LIBS
The code that is related to that amcro is:
AC_CHECK_FUNCS([fnmatch],
[res="yes"],
[res="no"]
)
if test "x$res" = "xno" ; then
AC_CHECK_LIBS([fnmatch],
[fnmatch iberty],
[res="yes"],
[res="no"]
)
if test "x${}" = "xno" ; then
AC_MSG_ERROR([Cannot find fnmatch() in neither libc nor libfnmatch, nor
libiberty])
fi
fi
(note: iberty is for mingw)
But, when I run myself all the commands of my script, in the same order, in the
terminal, that is:
aclocal -I m4
autoheader
autoconf
libtoolize --copy --automake
automake --add-missing --copy --gnu
then, everything is fine, no error...
Does someone know what the problem is ?
thank you
Vincent Torri
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf