aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/configure
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/configure')
-rwxr-xr-xlibstdc++-v3/configure19
1 files changed, 14 insertions, 5 deletions
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index 2d5016a374a..1d631a33bac 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -1544,7 +1544,16 @@ if test "$build" != "$host"; then
GLIBCXX_IS_NATIVE=false
else
- GLIBCXX_IS_NATIVE=true
+ # APPLE LOCAL begin 64-bit
+ case "$target" in
+ powerpc-apple-darwin8*)
+ GLIBCXX_IS_NATIVE=false
+ cross_compiling=yes
+ ;;
+ *)
+ GLIBCXX_IS_NATIVE=true ;;
+ esac
+ # APPLE LOCAL end 64-bit
fi
# Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
@@ -4390,7 +4399,7 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
case $host in
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 4393 "configure"' > conftest.$ac_ext
+ echo '#line 4402 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -5011,7 +5020,7 @@ fi;
#
# Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
cat > conftest.$ac_ext << EOF
-#line 5014 "configure"
+#line 5023 "configure"
struct S { ~S(); };
void bar();
void foo()
@@ -6285,7 +6294,7 @@ fi;
if test $enable_libstdcxx_allocator_flag = auto; then
case ${target_os} in
linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
- enable_libstdcxx_allocator_flag=mt
+ enable_libstdcxx_allocator_flag=new
;;
*)
enable_libstdcxx_allocator_flag=new
@@ -8633,7 +8642,7 @@ echo "${ECHO_T}$ac_c99_complex" >&6
if test x"$ac_c99_complex" = x"yes"; then
cat >>confdefs.h <<\_ACEOF
-#define _GLIBCXX_USE_C99_COMPLEX_MATH 1
+#define _GLIBCXX_USE_C99_COMPLEX 1
_ACEOF
fi