]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure.in: Fix typo in the code checking for sys_errlist.
authorRoman Lechtchinsky <rl@cs.tu-berlin.de>
Fri, 31 May 2002 19:36:15 +0000 (19:36 +0000)
committerDJ Delorie <dj@gcc.gnu.org>
Fri, 31 May 2002 19:36:15 +0000 (15:36 -0400)
* configure.in: Fix typo in the code checking for sys_errlist.
* configure: Regenerated.

From-SVN: r54115

libiberty/ChangeLog
libiberty/configure
libiberty/configure.in

index 2c5f9667247816c33dc570ed1fb63acc8c20d2be..d795263dfe5178d348cb9f1439b55964948fbca3 100644 (file)
@@ -1,6 +1,7 @@
-2002-05-14  Release Manager
+2002-05-31  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
 
-       * GCC 3.1 Released.
+       * configure.in: Fix typo in the code checking for sys_errlist.
+       * configure: Regenerated.
 
 2002-05-14  Release Manager
 
index 84c10add96ece0e1615c27c90e80c98d2c7b7c15..c1f954c0a712874f451c741e764afe17dce967ee 100755 (executable)
@@ -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
index 4765f8f39dbc07bf92e9b049bd11c5a743a1dbaa..6d7a70f70002f3c38fd27be5ad9a3fcdb091f64a 100644 (file)
@@ -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