Re: Platform-specific AC_ARG_*

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

 



John wrote:
> For example, on Solaris SPARC hosts, you can target sparc-generic code,
> if you wish, but it makes no sense to even see an option,
> --enable-sparc-generic on an Intel Linux box.

It makes sense if you are cross-compiling.

As I recall, the recommended behavior is to ignore unknown --with[out]-*
and --[dis]enable-* flags, as a top-level configure script may be
calling more than one subordinate configure scripts.

But either way has some suckage, IMO.

I'd be inclined to leave it "visible" just for educational purposes, as
people often build packages on different platforms.

And there are times I squawk about "insane" flags and times I just
ignore them.

H


_______________________________________________
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