[Top][All Lists]

[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 20:05:49 +0200
User-agent: Mutt/1.5.11+cvs20060403

* Paulo J. Matos wrote on Thu, May 25, 2006 at 08:02:26PM CEST:
> On 25/05/06, Ralf Wildenhues <address@hidden> wrote:
> >
> >if test "${enable_static_modules}" = "no"; then
> >  :
> >fi

> Nice. :-)
> AS_IF([test "${enable_static_modules}" = "no"], [: AC_LIBTOOL_DLOPEN])
> Works for some reason... without : doesn't!

Please don't write it that way.  If we ever decide that
AC_LIBTOOL_DLOPEN should expand to shell code (and not just change some
state at M4 time, which then induces a shell snippet elsewhere), then
the above could silently fail, while mine wouldn't.  You could write
  AS_IF([test "${enable_static_modules}" = "no"], [:; AC_LIBTOOL_DLOPEN])


reply via email to

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