W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2002

libwww patch, needed for autoconf 2.53

From: Thurog <thurog@gmx.de>
Date: Thu, 9 May 2002 13:06:36 -0400 (EDT)
Message-Id: <200205091706.NAA21850@tux.w3.org>
To: www-lib@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:41 GMT