]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
merge from gcc
authorDJ Delorie <dj@redhat.com>
Tue, 20 Dec 2011 19:02:08 +0000 (19:02 +0000)
committerDJ Delorie <dj@redhat.com>
Tue, 20 Dec 2011 19:02:08 +0000 (19:02 +0000)
libiberty/ChangeLog
libiberty/aclocal.m4
libiberty/configure

index 5633af078fc0eb452b9fb243632a11c5b8368ff9..b5366111c1eb4e69e21bd4e6486dba2ba642929f 100644 (file)
@@ -2,6 +2,11 @@
 
        * configure: Regenerate.
 
+2011-12-20  Tristan Gingold  <gingold@adacore.com>
+
+       * aclocal.m4: Assume strncmp works in cross case.
+       * configure: Regenerate
+
 2011-12-19  Andreas Schwab  <schwab@linux-m68k.org>
 
        * configure: Regenerate.
index a528604d70e5d498a15fdced40c00e2caa8f2bf2..bf8a907100f9d2107df899e538e6a47f6fcd3058 100644 (file)
@@ -72,7 +72,7 @@ main ()
   exit (0);
 }
 ], ac_cv_func_strncmp_works=yes, ac_cv_func_strncmp_works=no,
-  ac_cv_func_strncmp_works=no)
+  ac_cv_func_strncmp_works=yes)
 rm -f core core.* *.core])
 if test $ac_cv_func_strncmp_works = no ; then
   AC_LIBOBJ([strncmp])
index 9bccb8e8781560a87fefbd7dcf2bc1ca19e22ff3..9bdea73f950d4fa2d11cf3d2ce7df0950170e71f 100755 (executable)
@@ -6824,7 +6824,7 @@ if test "${ac_cv_func_strncmp_works+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test "$cross_compiling" = yes; then :
-  ac_cv_func_strncmp_works=no
+  ac_cv_func_strncmp_works=yes
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */