libwww patch, needed for autoconf 2.53

Hi.

System is homebrewn GNU/Linux i586.
autoconf 2.53
automake 1.6.1

I had to use the following patch to configure.in to prevent autoconf 2.53
from spitting a broken configure at me. It would look like someone cut a
fair chunk out of it. Broken meaning bash barfed at an unexpected token
";;", because the beginning of the case statement checking for WAIS was
written to confdefs.h instead of being executed.

It's just replacing the elegant syntax with the foolproof one.

Thurog

---------------- cut here ----------------

diff libwww/configure.in
Index: libwww/configure.in
===================================================================
RCS file: /sources/public/libwww/configure.in,v
retrieving revision 1.90
diff -r1.90 configure.in
216c216,223
< AC_CHECK_FUNC(unlink, , AC_CHECK_FUNC(remove, AC_DEFINE(unlink, remove)))
---
> 
> AC_CHECK_FUNC(unlink)
> if test "$ac_cv_func_unlink" != yes; then
>   AC_CHECK_FUNC(remove)
>   if test "$ac_cv_func_remove" == yes; then
>     AC_DEFINE(unlink, remove)
>   fi
> fi

Received on Thursday, 9 May 2002 14:39:01 UTC