autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoconf bug?


From: Akim Demaille
Subject: Re: autoconf bug?
Date: 09 Feb 2001 15:28:58 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

Tomas Berndtsson <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]