autoconf
[Top][All Lists]
Advanced

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

Re: m4 macro default behavior


From: Familie Porschberg
Subject: Re: m4 macro default behavior
Date: Thu, 17 Aug 2006 12:13:22 +0200

Am Mon, 14 Aug 2006 18:05:22 +0200
schrieb Ralf Wildenhues <address@hidden>:

> Hello Thomas,
> 
> Sorry for the delay.
> 
> * Thomas Porschberg wrote on Tue, Jul 18, 2006 at 07:38:25AM CEST:
> > 
> > I wrote some m4 macros for the boost libraries(see
> > http://randspringer.de/boost/index.html).
> > ATM the default behavior is that the user has to give
> > --with-boost, --with-boost-files-date-time....
> > to the configure script in order to set the boost compile/linker
> > flags (the last parameter of AC_ARG_WITH sets want_boost="no").
> > 
> > Is there any disadvantage to make the default behavior
> > want_boost="yes" so that user doesn't need to tell anything to
> > configure ?
> 
> For (very) simple macros I try to do this:
>   --with-foo     enable use of package FOO, error out if it does not
> work --without-foo  disable use of package FOO
>   user specifies nothing
>                  if possible, enable use of package FOO (but no error
>                  otherwise)
> 
Hello Ralf,

sounds reasonable to me and I will go this way for the boost macros.
Thank you.

Thomas
> YMMV, though.
> 
> Cheers,
> Ralf
> 
> 
> _______________________________________________
> Autoconf mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/autoconf


-- 
NO ePatents: http://swpat.ffii.org/index.de.html





reply via email to

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