From 58b1717a5eda251ff165b5107764947bef66a26e Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 22 Jan 2002 22:32:35 +0000 Subject: * configure.in (variable detection): Use arrays of unspecified size instead of plain integers. --- libiberty/configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libiberty/configure.in') 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 -- cgit v1.1