Bug 650467 - make libstdc++ compatibility opt-in instead of opt-out. r=khuey
authorMike Hommey <mh+mozilla@glandium.org>
Sat, 16 Apr 2011 17:57:08 +0200
changeset 68198 98094f3afb9306c9387dff493ae4df10269ec29d
parent 68197 bee1149208a9d7424f27cb5c63e9d926e2ece11e
child 68199 40ebe6af8a662ddb61aaa613a28f163490c266a7
push idunknown
push userunknown
push dateunknown
reviewerskhuey
bugs650467
milestone6.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 650467 - make libstdc++ compatibility opt-in instead of opt-out. r=khuey
configure.in
--- a/configure.in
+++ b/configure.in
@@ -7725,31 +7725,20 @@ if test "$USE_ELF_HACK" = 1; then
         ;;
     esac
 fi
 
 dnl ========================================================
 dnl = libstdc++ compatibility hacks
 dnl ========================================================
 
-STDCXX_COMPAT=stdc++compat.cpp
-MOZ_ARG_DISABLE_BOOL(stdcxx-compat,
-[  --disable-stdcxx-compat Disable libstdc++ compatibility],
-    STDCXX_COMPAT=)
-
-# Disable on platforms where it doesn't make sense
-if test -n "$STDCXX_COMPAT"; then
-    case "${OS_TARGET}" in
-    Linux)
-        ;;
-    *)
-        STDCXX_COMPAT=
-        ;;
-    esac
-fi
+STDCXX_COMPAT=
+MOZ_ARG_ENABLE_BOOL(stdcxx-compat,
+[  --enable-stdcxx-compat  Enable compatibility with older libstdc++],
+    STDCXX_COMPAT=stdc++compat.cpp)
 
 AC_SUBST(STDCXX_COMPAT)
 
 dnl ========================================================
 dnl = 
 dnl = Profiling and Instrumenting
 dnl = 
 dnl ========================================================