Re: macro reuse

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

 



Hi Thomas,

* Thomas Porschberg wrote on Mon, May 22, 2006 at 11:56:25PM CEST:
> 
> 1.
> I can pass a directory parameter to all three macros at configure time
> (the root dir of boost). When I call e.g.
> ./configure --with-boost-date-time=/usr/local
> How could I then pass "/usr/local/" to AX_BOOST_BASE inside
> AX_BOOST_DATE_TIME ?

You could plainly call AX_BOOST_BASE with the respective arguments,
instead of AC_REQUIRE'ing it, iff you can deal with the fact that it may
be expanded more than once.

But the way you did in the other post doesn't seem unreasonable.

> (I could declare a second parameter for AX_BOOST_BASE which should be
> not not public but only used if the macro is called from another boost
> macro but is it OK ?)

Hmm.

> 2.
> ./configure --help lists also the help-string for ax_boost_base.m4
> although the macro is only called indirectly by ax_boost_date_time.m4
> respectively ax_boost_program_options.m4.

Is that not what is desired?

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