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 5633af0..b536611 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 a528604..bf8a907 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 9bccb8e..9bdea73 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.  */