Tomas Berndtsson <[EMAIL PROTECTED]> writes:
> My autoconf version is 2.13. m4 is GNU m4 1.4.
>
> I have the following in my configure.in:
>
> AC_CHECK_FUNCS(dlopen, , AC_CHECK_LIB(dl,dlopen, ,
> [AC_MSG_ERROR([
> *** Zen does not function properly without dlopen, sorry.])]))
As said by Alexandre, this is incorrect, underquoted. But even quoted
2.13 fails. Yep, that's a bug in 2.13, which was vastly mixing
overquotation, and underquotation. CVS Autoconf is fixed.
/tmp % cat configure.in nostromo 15:26
AC_INIT
AC_CHECK_FUNCS(dlopen, , [AC_CHECK_LIB(dl,dlopen, ,
[AC_MSG_ERROR([
*** Zen does not function properly without dlopen, sorry.])])])
AC_OUTPUT
/tmp % ./configure nostromo 15:26
checking for gcc... gcc
checking for object suffix... o
checking for executable suffix...
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
configure: creating ./config.status