Re: Conditional Configuration

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

 



Hi Paulo,

* Paulo J. Matos wrote on Thu, May 25, 2006 at 06:23:55PM CEST:
> 
> I have:
> if test "${enable_static_modules}" = "no"; then
> AC_LIBTOOL_DLOPEN
> fi
> AC_PROG_LIBTOOL
> 
> And then during configure:
> ./configure: line 3871: syntax error near unexpected token `fi'
> ./configure: line 3871: `fi'
> 
> Around line 3871 I have:
> if test "${enable_static_modules}" = "no"; then
> 
> 
> fi /* LINE 3871*/
> 
> Which is empty...

Heh.  Thanks for noticing and reporting!  I'll see whether it's safe to
put a fix in Libtool, that certainly looks suboptimal to me.  Meanwhile,
there's a cheap workaround:

if test "${enable_static_modules}" = "no"; then
  :
  AC_LIBTOOL_DLOPEN
fi
AC_PROG_LIBTOOL

(using AS_IF still being recommended).

Cheers,
Ralf


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux