re PR libstdc++/12189 (abi_check fails to build)
authorDaniel Jacobowitz <drow@mvista.com>
Thu, 11 Sep 2003 03:11:31 +0000 (03:11 +0000)
committerDaniel Jacobowitz <drow@gcc.gnu.org>
Thu, 11 Sep 2003 03:11:31 +0000 (03:11 +0000)
PR libstdc++/12189
* acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
abi_check if cross compiling.
* aclocal.m4: Regenerated.
* configure: Regenerated.

Co-Authored-By: Andreas Jaeger <aj@suse.de>
From-SVN: r71291

libstdc++-v3/ChangeLog
libstdc++-v3/acinclude.m4
libstdc++-v3/aclocal.m4
libstdc++-v3/configure

index f046caac3cced608fac52019d1faf19cc74c341f..034951775e96bdcca6ff674157b6ffb50bbb0cb2 100644 (file)
@@ -1,3 +1,12 @@
+2003-09-10  Daniel Jacobowitz  <drow@mvista.com>
+           Andreas Jaeger <aj@suse.de>
+
+       PR libstdc++/12189
+       * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
+       abi_check if cross compiling.
+       * aclocal.m4: Regenerated.
+       * configure: Regenerated.
+
 2003-09-10  Jeffrey D. Oldham  <oldham@codesourcery.com>
 
        * libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns
index 0ba24bad7fda64e9a5caa783018922a58d20bace..177a4d45aa158dcbbb9be6b4b85f3709726edfa0 100644 (file)
@@ -585,24 +585,27 @@ AC_DEFUN(GLIBCXX_CONFIGURE_TESTSUITE, [
 
     # Look for setenv, so that extended locale tests can be performed.
     GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_3(setenv)
+
+    if test $enable_symvers = no; then
+      enable_abi_check=no
+    else
+      case "$host" in
+        *-*-cygwin*)
+          enable_abi_check=no ;;
+        *)
+          enable_abi_check=yes ;;
+      esac
+    fi
+  else
+    # Only build this as native, since automake does not understand
+    # CXX_FOR_BUILD.
+    enable_abi_check=no
   fi
 
   # Export file names for ABI checking.
   baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
   AC_SUBST(baseline_dir)
 
-  # Determine if checking the ABI is desirable.
-  if test $enable_symvers = no || test $is_hosted = no; then
-    enable_abi_check=no
-  else
-    case "$host" in
-      *-*-cygwin*)
-        enable_abi_check=no ;;
-      *)
-        enable_abi_check=yes ;;
-    esac
-  fi
-
   GLIBCXX_CONDITIONAL(GLIBCXX_TEST_WCHAR_T, test $enable_wchar_t = yes)
   GLIBCXX_CONDITIONAL(GLIBCXX_TEST_ABI, test $enable_abi_check = yes)
 ])
index 42399080ba378dca9b08cb4af5e5541630a7b5c4..f37b565168b1295215663b76a7ba127543a4d4d4 100644 (file)
@@ -598,24 +598,27 @@ AC_DEFUN(GLIBCXX_CONFIGURE_TESTSUITE, [
 
     # Look for setenv, so that extended locale tests can be performed.
     GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_3(setenv)
+
+    if test $enable_symvers = no; then
+      enable_abi_check=no
+    else
+      case "$host" in
+        *-*-cygwin*)
+          enable_abi_check=no ;;
+        *)
+          enable_abi_check=yes ;;
+      esac
+    fi
+  else
+    # Only build this as native, since automake does not understand
+    # CXX_FOR_BUILD.
+    enable_abi_check=no
   fi
 
   # Export file names for ABI checking.
   baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
   AC_SUBST(baseline_dir)
 
-  # Determine if checking the ABI is desirable.
-  if test $enable_symvers = no || test $is_hosted = no; then
-    enable_abi_check=no
-  else
-    case "$host" in
-      *-*-cygwin*)
-        enable_abi_check=no ;;
-      *)
-        enable_abi_check=yes ;;
-    esac
-  fi
-
   GLIBCXX_CONDITIONAL(GLIBCXX_TEST_WCHAR_T, test $enable_wchar_t = yes)
   GLIBCXX_CONDITIONAL(GLIBCXX_TEST_ABI, test $enable_abi_check = yes)
 ])
index fb170a7fbb42e036790336039a9ba084b7004f47..2a416457af2d84db922ee04fc208a5c4c3e3d52f 100755 (executable)
@@ -59011,24 +59011,27 @@ done
 
   fi
 
+
+    if test $enable_symvers = no; then
+      enable_abi_check=no
+    else
+      case "$host" in
+        *-*-cygwin*)
+          enable_abi_check=no ;;
+        *)
+          enable_abi_check=yes ;;
+      esac
+    fi
+  else
+    # Only build this as native, since automake does not understand
+    # CXX_FOR_BUILD.
+    enable_abi_check=no
   fi
 
   # Export file names for ABI checking.
   baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
 
 
-  # Determine if checking the ABI is desirable.
-  if test $enable_symvers = no || test $is_hosted = no; then
-    enable_abi_check=no
-  else
-    case "$host" in
-      *-*-cygwin*)
-        enable_abi_check=no ;;
-      *)
-        enable_abi_check=yes ;;
-    esac
-  fi
-