From: Roman Lechtchinsky Date: Fri, 31 May 2002 19:36:15 +0000 (+0000) Subject: configure.in: Fix typo in the code checking for sys_errlist. X-Git-Tag: releases/gcc-3.1.1~220 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06e041b8c1189b3c1befbcd08170dce3e76428df;p=thirdparty%2Fgcc.git 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: r54115 --- diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 2c5f96672478..d795263dfe51 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,6 +1,7 @@ -2002-05-14 Release Manager +2002-05-31 Roman Lechtchinsky - * GCC 3.1 Released. + * configure.in: Fix typo in the code checking for sys_errlist. + * configure: Regenerated. 2002-05-14 Release Manager diff --git a/libiberty/configure b/libiberty/configure index 84c10add96ec..c1f954c0a712 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -2803,7 +2803,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:2810: \"$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 4765f8f39dbc..6d7a70f70002 100644 --- a/libiberty/configure.in +++ b/libiberty/configure.in @@ -371,7 +371,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