[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: m4 macro default behavior
From: |
Ralf Wildenhues |
Subject: |
Re: m4 macro default behavior |
Date: |
Mon, 14 Aug 2006 18:05:22 +0200 |
User-agent: |
Mutt/1.5.12 (2006-08-10) |
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)
YMMV, though.
Cheers,
Ralf
- Re: m4 macro default behavior,
Ralf Wildenhues <=