diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-22 22:31:52 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-22 22:31:52 +0000 |
commit | 2c79f1707df571cb896ee4469debf0feabfa3ea9 (patch) | |
tree | 50776c386e475ef991d61b91cd8bd81eb7a69e3a /libiberty/configure.in | |
parent | 7df8b55573fc37a990b4a50afbe06b18718941ba (diff) | |
download | gcc-2c79f1707df571cb896ee4469debf0feabfa3ea9.tar.gz |
* configure.in (variable detection): Use arrays of unspecified
size instead of plain integers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49103 138bc75d-0d04-0410-961f-82ee72b054a4
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 0160edfc596..eed222d35d1 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 |