From 9f3dbd92d22772fead769678ce0d326a5e74e0f3 Mon Sep 17 00:00:00 2001 From: Roman Lechtchinsky Date: Wed, 22 May 2002 20:57:15 +0000 Subject: [PATCH] configure.in: Fix typo in the code checking for sys_errlist. * configure.in: Fix typo in the code checking for sys_errlist. * configure: Regenerated. From-SVN: r53747 --- libiberty/ChangeLog | 5 +++++ libiberty/configure | 2 +- libiberty/configure.in | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 330315d2346e..cd112f9875a2 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2002-05-22 Roman Lechtchinsky + + * configure.in: Fix typo in the code checking for sys_errlist. + * configure: Regenerated. + 2002-05-13 Andreas Schwab * config.table: Use mh-x86pic also for x86-64. diff --git a/libiberty/configure b/libiberty/configure index fc89885f3051..7f2c0a931a3d 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -2860,7 +2860,7 @@ else #include "confdefs.h" int *p; int main() { -extern int $v []; p = &$v; +extern int $v []; p = $v; ; return 0; } EOF if { (eval echo configure:2867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then diff --git a/libiberty/configure.in b/libiberty/configure.in index f6d92bcb03e1..c84ece4ef41b 100644 --- a/libiberty/configure.in +++ b/libiberty/configure.in @@ -401,7 +401,7 @@ if test -z "${setobjs}"; then for v in $vars; do AC_MSG_CHECKING([for $v]) AC_CACHE_VAL(libiberty_cv_var_$v, - [AC_TRY_LINK([int *p;], [extern int $v []; p = &$v;], + [AC_TRY_LINK([int *p;], [extern int $v []; p = $v;], [eval "libiberty_cv_var_$v=yes"], [eval "libiberty_cv_var_$v=no"])]) if eval "test \"`echo '$libiberty_cv_var_'$v`\" = yes"; then -- 2.39.2