summaryrefslogtreecommitdiff
path: root/libstdc++-v3/configure
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-16 22:11:18 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-16 22:11:18 +0000
commitb4b3bbba824a8d7e713f90b47de4acf36a6b43b9 (patch)
tree0007d25b499ac6d83204c313765f73351718b2d9 /libstdc++-v3/configure
parent1eaedae67937a002e43db2b990e711157c4038ce (diff)
downloadgcc-b4b3bbba824a8d7e713f90b47de4acf36a6b43b9.tar.gz
Regenerate configure files for libtool.m4 change
boehm-gc/ * configure: Regenerated. gcc/ * configure: Regenerated. libatomic/ * configure: Regenerated. libffi/ * configure: Regenerated. libgfortran/ * configure: Regenerated. libgomp/ * configure: Regenerated. libitm/ * configure: Regenerated. libjava/classpath/ * configure: Regenerated. libjava/ * configure: Regenerated. libmudflap/ * configure: Regenerated. libobjc/ * configure: Regenerated. libquadmath/ * configure: Regenerated. libssp/ * configure: Regenerated. libstdc++-v3/ * configure: Regenerated. lto-plugin/ * configure: Regenerated. zlib/ * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187616 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/configure')
-rwxr-xr-xlibstdc++-v3/configure29
1 files changed, 18 insertions, 11 deletions
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index e0af9c8de6c..2da417e1458 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -7119,7 +7119,14 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
LD="${LD-ld} -m elf_i386_fbsd"
;;
x86_64-*linux*)
- LD="${LD-ld} -m elf_i386"
+ case `/usr/bin/file conftest.o` in
+ *x86-64*)
+ LD="${LD-ld} -m elf32_x86_64"
+ ;;
+ *)
+ LD="${LD-ld} -m elf_i386"
+ ;;
+ esac
;;
ppc64-*linux*|powerpc64-*linux*)
LD="${LD-ld} -m elf32ppclinux"
@@ -11497,7 +11504,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11500 "configure"
+#line 11507 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11603,7 +11610,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11606 "configure"
+#line 11613 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -14961,7 +14968,7 @@ fi
#
# Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
cat > conftest.$ac_ext << EOF
-#line 14964 "configure"
+#line 14971 "configure"
struct S { ~S(); };
void bar();
void foo()
@@ -15296,7 +15303,7 @@ $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
# Fake what AC_TRY_COMPILE does.
cat > conftest.$ac_ext << EOF
-#line 15299 "configure"
+#line 15306 "configure"
int main()
{
typedef bool atomic_type;
@@ -15331,7 +15338,7 @@ $as_echo "$glibcxx_cv_atomic_bool" >&6; }
rm -f conftest*
cat > conftest.$ac_ext << EOF
-#line 15334 "configure"
+#line 15341 "configure"
int main()
{
typedef short atomic_type;
@@ -15366,7 +15373,7 @@ $as_echo "$glibcxx_cv_atomic_short" >&6; }
rm -f conftest*
cat > conftest.$ac_ext << EOF
-#line 15369 "configure"
+#line 15376 "configure"
int main()
{
// NB: _Atomic_word not necessarily int.
@@ -15402,7 +15409,7 @@ $as_echo "$glibcxx_cv_atomic_int" >&6; }
rm -f conftest*
cat > conftest.$ac_ext << EOF
-#line 15405 "configure"
+#line 15412 "configure"
int main()
{
typedef long long atomic_type;
@@ -15481,7 +15488,7 @@ $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a resu
# unnecessary for this test.
cat > conftest.$ac_ext << EOF
-#line 15484 "configure"
+#line 15491 "configure"
int main()
{
_Decimal32 d1;
@@ -15523,7 +15530,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
# unnecessary for this test.
cat > conftest.$ac_ext << EOF
-#line 15526 "configure"
+#line 15533 "configure"
template<typename T1, typename T2>
struct same
{ typedef T2 type; };
@@ -15557,7 +15564,7 @@ $as_echo "$enable_int128" >&6; }
rm -f conftest*
cat > conftest.$ac_ext << EOF
-#line 15560 "configure"
+#line 15567 "configure"
template<typename T1, typename T2>
struct same
{ typedef T2 type; };