Re: m4 macro default behavior

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

 



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


_______________________________________________
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