* configure.in (variable detection): Use arrays of unspecified
size instead of plain integers.
This commit is contained in:
parent
9a2e995d8a
commit
58b1717a5e
@ -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
|
||||
|
2
libiberty/configure
vendored
2
libiberty/configure
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user