configure.in: And here.

2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>

        * configure.in: And here.
        * configure: Regenerate.
        * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
        --enable-libstdcxx-v3 is passed at configure time.
        * config.h.in: Regenerate.

From-SVN: r32962
This commit is contained in:
Benjamin Kosnik 2000-04-06 06:47:52 +00:00 committed by Benjamin Kosnik
parent d312ec72ba
commit 7822500a66
5 changed files with 276 additions and 215 deletions

View file

@ -1,3 +1,11 @@
2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
* configure.in: And here.
* configure: Regenerate.
* acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
--enable-libstdcxx-v3 is passed at configure time.
* config.h.in: Regenerate.
2000-04-05 Mark Mitchell <mark@codesourcery.com>
* final.c (final): Use xcalloc to allocate line_note_exists.

View file

@ -4,6 +4,12 @@
/* Define if printf supports "%p". */
#undef HAVE_PRINTF_PTR
/* Define if you want to enable namespaces (-fhonor-std) by default. */
#undef ENABLE_STD_NAMESPACE
#if !defined(ENABLE_STD_NAMESPACE)
# define ENABLE_STD_NAMESPACE 0
#endif
/* Define if you want to always select the new-abi for g++. */
#undef ENABLE_NEW_GXX_ABI

View file

@ -5,6 +5,12 @@
/* Define if printf supports "%p". */
#undef HAVE_PRINTF_PTR
/* Define if you want to enable namespaces (-fhonor-std) by default. */
#undef ENABLE_STD_NAMESPACE
#if !defined(ENABLE_STD_NAMESPACE)
# define ENABLE_STD_NAMESPACE 0
#endif
/* Define if you want to always select the new-abi for g++. */
#undef ENABLE_NEW_GXX_ABI

456
gcc/configure vendored

File diff suppressed because it is too large Load diff

View file

@ -4601,6 +4601,21 @@ 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=yes], [enable_libstdcxx_v3=no])
if test x$enable_libstdcxx_v3 = xyes; then
AC_MSG_RESULT(v3)
AC_DEFINE(ENABLE_STD_NAMESPACE)
else
AC_MSG_RESULT(v2)
fi
# Make empty files to contain the specs and options for each language.
# Then add #include lines to for a compiler that has specs and/or options.