aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2011-12-20 08:08:30 +0000
committerTristan Gingold <gingold@gcc.gnu.org>2011-12-20 08:08:30 +0000
commit8c3db96e6425846bc1f7760c382369ff671e45c6 (patch)
tree659be630311c0f21dc97d85780fe010fd89983a0 /libiberty
parent0f172beec4a9f1f225b3d0cca973f26f376d9556 (diff)
downloadgcc-8c3db96e6425846bc1f7760c382369ff671e45c6.zip
gcc-8c3db96e6425846bc1f7760c382369ff671e45c6.tar.gz
gcc-8c3db96e6425846bc1f7760c382369ff671e45c6.tar.bz2
aclocal.m4: Assume strncmp works in cross case.
2011-12-20 Tristan Gingold <gingold@adacore.com> * aclocal.m4: Assume strncmp works in cross case. * configure: Regenerate From-SVN: r182520
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog5
-rw-r--r--libiberty/aclocal.m42
-rwxr-xr-xlibiberty/configure2
3 files changed, 7 insertions, 2 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index cab1f97..734cf8c 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -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.
diff --git a/libiberty/aclocal.m4 b/libiberty/aclocal.m4
index a528604..bf8a907 100644
--- a/libiberty/aclocal.m4
+++ b/libiberty/aclocal.m4
@@ -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])
diff --git a/libiberty/configure b/libiberty/configure
index d26c8b5..0b94385 100755
--- a/libiberty/configure
+++ b/libiberty/configure
@@ -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. */