configure.in: Move check for V3 above check for C++ header-file directory.

* configure.in: Move check for V3 above check for C++ header-file
	directory.
	* configure: Regenerated.

From-SVN: r37470
This commit is contained in:
Mark Mitchell 2000-11-15 04:40:30 +00:00 committed by Mark Mitchell
parent 9f9359795c
commit 5a7c103786
3 changed files with 281 additions and 273 deletions

View File

@ -1,3 +1,9 @@
2000-11-14 Mark Mitchell <mark@codesourcery.com>
* configure.in: Move check for V3 above check for C++ header-file
directory.
* configure: Regenerated.
2000-11-14 DJ Delorie <dj@redhat.com>
* config/v850/v850.c: Remove obstacks.

515
gcc/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -151,6 +151,23 @@ if test x$local_prefix = x; then
local_prefix=/usr/local
fi
# Build a new-libstdc++ system (ie libstdc++-v3)
AC_MSG_CHECKING([for libstdc++ to install])
AC_ARG_ENABLE(libstdcxx-v3,
[ --enable-libstdcxx-v3
enable libstdc++-v3 for building and installation],
[enable_libstdcxx_v3="$enableval"], [enable_libstdcxx_v3=yes])
if test x$enable_libstdcxx_v3 = xyes; then
AC_MSG_RESULT(v3)
HAVE_LIBSTDCXX_V3=1
ac_esn=1
else
AC_MSG_RESULT(v2)
HAVE_LIBSTDCXX_V3=0
ac_esn=0
fi
# Don't set gcc_gxx_include_dir to gxx_include_dir since that's only
# passed in by the toplevel make and thus we'd get different behavior
# depending on where we built the sources.
@ -4942,22 +4959,6 @@ echo "Building a new-abi g++ compiler."
])
AC_SUBST(GXX_ABI_FLAG)
# Build a new-libstdc++ system (ie libstdc++-v3)
AC_MSG_CHECKING([for libstdc++ to install])
AC_ARG_ENABLE(libstdcxx-v3,
[ --enable-libstdcxx-v3
enable libstdc++-v3 for building and installation],
[enable_libstdcxx_v3="$enableval"], [enable_libstdcxx_v3=yes])
if test x$enable_libstdcxx_v3 = xyes; then
AC_MSG_RESULT(v3)
HAVE_LIBSTDCXX_V3=1
ac_esn=1
else
AC_MSG_RESULT(v2)
HAVE_LIBSTDCXX_V3=0
ac_esn=0
fi
AC_DEFINE_UNQUOTED(ENABLE_STD_NAMESPACE, $ac_esn,
[Define to 1 if you want to enable namespaces (-fhonor-std) by default.])
AC_SUBST(HAVE_LIBSTDCXX_V3)