* configure.in (variable detection): Use arrays of unspecified
authorRichard Henderson <rth@redhat.com>
Tue, 22 Jan 2002 22:32:35 +0000 (22:32 +0000)
committerRichard Henderson <rth@redhat.com>
Tue, 22 Jan 2002 22:32:35 +0000 (22:32 +0000)
        size instead of plain integers.

libiberty/ChangeLog
libiberty/configure
libiberty/configure.in

index cb53fb61827591f06294e639b6b46f773759fa82..59f48d45976811d90dd69ddb397affbf05107a31 100644 (file)
@@ -1,3 +1,8 @@
+2002-01-22  Momchil Velikov  <velco@fadata.bg>
+
+       * configure.in (variable detection): Use arrays of unspecified
+       size instead of plain integers.
+
 2002-01-18  DJ Delorie  <dj@redhat.com>
 
        * Makefile.in (TESTLIB): New.  This library is for future
index be1fa94a5f113d01974f7bcbf3f7dcd08cfbb931..a406d28db626049c93b14184ab2673fa7a8dcfea 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 0160edfc5963ab338bdce4be3c4a5d48bfeb58e9..eed222d35d1cb514b868e4984a71b2258ee77999 100644 (file)
@@ -365,7 +365,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
This page took 0.032673 seconds and 4 git commands to generate.