[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Conditional Configuration
From: |
Ralf Wildenhues |
Subject: |
Re: Conditional Configuration |
Date: |
Thu, 25 May 2006 18:31:28 +0200 |
User-agent: |
Mutt/1.5.11+cvs20060403 |
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