aclocal.m4: Assume strncmp works in cross case.
authorTristan Gingold <gingold@adacore.com>
Tue, 20 Dec 2011 08:08:30 +0000 (08:08 +0000)
committerTristan Gingold <gingold@gcc.gnu.org>
Tue, 20 Dec 2011 08:08:30 +0000 (08:08 +0000)
2011-12-20  Tristan Gingold  <gingold@adacore.com>

* aclocal.m4: Assume strncmp works in cross case.
* configure: Regenerate

From-SVN: r182520

libiberty/ChangeLog
libiberty/aclocal.m4
libiberty/configure

index cab1f97..734cf8c 100644 (file)
@@ -1,3 +1,8 @@
+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 d26c8b5..0b94385 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.  */