[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
conditionally compiling C++ code
From: |
Keith Bostic |
Subject: |
conditionally compiling C++ code |
Date: |
Mon, 21 Apr 2003 16:50:20 -0400 (EDT) |
We just ran across the problem where you cannot conditionally
call the AC_PROG_CXX macro, that is, we were doing:
if test "$db_cv_cxx" = "yes"; then
AC_PROG_CXX
fi
and this broke when we upgraded to the autoconf 2.57 release.
I've seen some postings on the web discussing the problem, but
I haven't seen any suggested workarounds. Are there any?
Is there a "standard" way to optionally compile C++ code as well
as C code when using autoconf?
Regards,
--keith
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Keith Bostic address@hidden
Sleepycat Software Inc. keithbosticim (ymsgid)
118 Tower Rd. +1-781-259-3139
Lincoln, MA 01773 http://www.sleepycat.com
- conditionally compiling C++ code,
Keith Bostic <=
- Re: conditionally compiling C++ code, Ronald Landheer-Cieslak, 2003/04/23
- Re: conditionally compiling C++ code, Thomas Dickey, 2003/04/23
- Re: conditionally compiling C++ code, Ronald Landheer-Cieslak, 2003/04/24
- Re: conditionally compiling C++ code, Thomas E. Dickey, 2003/04/24
- 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