From 3d583e568fcd09ef8f64383877c9840f7da29d10 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 20 Dec 2011 19:02:08 +0000 Subject: merge from gcc --- libiberty/ChangeLog | 5 +++++ libiberty/aclocal.m4 | 2 +- libiberty/configure | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'libiberty') diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 5633af078fc..b5366111c1e 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -2,6 +2,11 @@ * configure: Regenerate. +2011-12-20 Tristan Gingold + + * aclocal.m4: Assume strncmp works in cross case. + * configure: Regenerate + 2011-12-19 Andreas Schwab * configure: Regenerate. diff --git a/libiberty/aclocal.m4 b/libiberty/aclocal.m4 index a528604d70e..bf8a907100f 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 9bccb8e8781..9bdea73f950 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. */ -- cgit v1.2.1