[PATCH] Fix typo in libiberty/configure.in
Roman Lechtchinsky
rl@cs.tu-berlin.de
Wed May 22 08:26:00 GMT 2002
This patch fixes a type error in the code which checks for sys_errlist and
friends. Could this be applied to the branch as well? With this and
http://gcc.gnu.org/ml/gcc-patches/2002-05/msg01569.html
alpha-cray-unicosmk native builds finally work again on the branch.
I've checked that this generates the correct defines in config.h on
sparc-sun-solaris2.8 and alphaev5-cray-unicosmk2.0.5.X.
Bye
Roman
2002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
* configure.in: Fix typo in the code checking for sys_errlist.
Index: configure.in
===================================================================
RCS file: /cvsroot/gcc/gcc/libiberty/configure.in,v
retrieving revision 1.50
diff -c -3 -p -r1.50 configure.in
*** configure.in 8 May 2002 04:36:55 -0000 1.50
--- configure.in 22 May 2002 13:03:04 -0000
*************** if test -z "${setobjs}"; then
*** 401,407 ****
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;],
[eval "libiberty_cv_var_$v=yes"],
[eval "libiberty_cv_var_$v=no"])])
if eval "test \"`echo '$libiberty_cv_var_'$v`\" = yes"; then
--- 401,407 ----
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;],
[eval "libiberty_cv_var_$v=yes"],
[eval "libiberty_cv_var_$v=no"])])
if eval "test \"`echo '$libiberty_cv_var_'$v`\" = yes"; then
More information about the Gcc-patches
mailing list