merge from gcc
[deliverable/binutils-gdb.git] / libiberty / configure.in
index f6d92bcb03e1ba9b5e9287d1cb791d52eaa7f651..c84ece4ef41ba45435999145c2fd7040e2ae9dcc 100644 (file)
@@ -401,7 +401,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.024694 seconds and 4 git commands to generate.