diff options
author | Richard Henderson <rth@redhat.com> | 2002-01-22 22:32:35 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2002-01-22 22:32:35 +0000 |
commit | 58b1717a5eda251ff165b5107764947bef66a26e (patch) | |
tree | b3292147d90cd7400159b40f2ee05d4da1d04834 /libiberty/configure.in | |
parent | 9a2e995d8ac926488ad1472e6fb76352122ff576 (diff) | |
download | gdb-58b1717a5eda251ff165b5107764947bef66a26e.zip gdb-58b1717a5eda251ff165b5107764947bef66a26e.tar.gz gdb-58b1717a5eda251ff165b5107764947bef66a26e.tar.bz2 |
* configure.in (variable detection): Use arrays of unspecified
size instead of plain integers.
Diffstat (limited to 'libiberty/configure.in')
-rw-r--r-- | libiberty/configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/configure.in b/libiberty/configure.in index 0160edf..eed222d 100644 --- a/libiberty/configure.in +++ b/libiberty/configure.in @@ -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 |