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
This commit is contained in:
Tristan Gingold 2011-12-20 08:08:30 +00:00 committed by Tristan Gingold
parent 0f172beec4
commit 8c3db96e64
3 changed files with 7 additions and 2 deletions

View 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.

View 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])

2
libiberty/configure vendored
View File

@ -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. */