Re: optional features and AC_ARG_WITH

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

 



Gregorio Guidi <g.guidi@xxxxxx> writes:

> To avoid this, it should be possible to build software x in a way that does 
> not depend on the building host, and this is only possible if x supports 
> AC_ARG_WITH() or AC_ARG_ENABLE() for every optional feature it has
> (so that I can add --without-acl to the package building instructions...).

Here's a different idea: build software x in an environment that does
not have the acl library available.  This can be done even if the
build host has the acl library installed; all you need to do is to
construct a subset environment on the build host, and then use the
subset environment to build.

> for main problem: encourage the use of AC_ARG_WITH and AC_ARG_ENABLE.

Yes, that sounds reasonable, and we already do this, although the
wording could be improved I suppose.  (--with* and --enable* are
in the GNU Coding Standards, as well.)

> for child problem: provide a standard interpretation of those macros (either 
> through a macro that standardizes the use of AC_ARG_WITH/AC_ARG_ENABLE, such 
> as the ones I posted at the beginning; or through some more precise 
> documentation on their use, so that I can point to it when interacting with 
> software developers).

I think I prefer the idea of modifying the documentation.  Can someone
suggest some wording, in the form of a patch?


_______________________________________________
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