[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: conditionally compiling C++ code
From: |
Ronald Landheer-Cieslak |
Subject: |
Re: conditionally compiling C++ code |
Date: |
Tue, 29 Apr 2003 16:23:34 +0200 (CEST) |
On Tue, 29 Apr 2003, Sander Niemeijer wrote:
> I was just wondering, but aren't the --with-PACKAGE/--enable-FEATURE
> options of configure meant for this?
Exactly, and it is up to the author of the configure.ac file to make sure
these options work as they're supposed to. Your way of handling these
options (snipped) is the right way *if* the macros can be run optionally -
and this should, IMHO, always be the case (except for macros of vital
importance to configure itself, such as AC_INIT.
I think we're about at a dollar's worth of opinions here, though - someone
should start writing something (the maintainer of the AC_PROG_CXX macro
might want to fix the two bugs mentioned in this thread, for example).
Me being completely ignorant of autoconf innarts, not having a copyright
waiver and not having time, I don't think I am in any way close to
patching up autoconf.. (though I do hate to be on the complaining side of
the argument).
rlc
- Re: conditionally compiling C++ code, (continued)
- Re: conditionally compiling C++ code, Steve M. Robbins, 2003/04/24
- Re: conditionally compiling C++ code, Ronald Landheer-Cieslak, 2003/04/25
- Re: conditionally compiling C++ code, Steve M. Robbins, 2003/04/26
- Re: conditionally compiling C++ code, Ronald Landheer-Cieslak, 2003/04/28
- Re: conditionally compiling C++ code, Peter Eisentraut, 2003/04/28
- Re: conditionally compiling C++ code, Thomas Dickey, 2003/04/28
- Re: conditionally compiling C++ code, Bob Proulx, 2003/04/28
- Re: conditionally compiling C++ code, Thomas E. Dickey, 2003/04/29
- Re: conditionally compiling C++ code, Patrick Welche, 2003/04/29
- Re: conditionally compiling C++ code, Sander Niemeijer, 2003/04/29
- Re: conditionally compiling C++ code,
Ronald Landheer-Cieslak <=
- Re: conditionally compiling C++ code, Thomas E. Dickey, 2003/04/29
- Re: conditionally compiling C++ code, Ronald Landheer-Cieslak, 2003/04/30
- Re: conditionally compiling C++ code, Patrick Welche, 2003/04/29
- Re: conditionally compiling C++ code, Sander Niemeijer, 2003/04/29
- Re: conditionally compiling C++ code, Ronald Landheer-Cieslak, 2003/04/29
- Re: conditionally compiling C++ code, Thomas E. Dickey, 2003/04/29
- Re: conditionally compiling C++ code, Andreas Schwab, 2003/04/29
- Re: conditionally compiling C++ code, Ronald Landheer-Cieslak, 2003/04/29