This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [UPDATE] apache-1.3.29-1 ready for testing and upload


> In the relevant Configure part is LIBS="$LIBS -lexpat" defined which is
> not needed here, instead of LIBS there should be this (and CFLAGS which
> is entirely missing here, what a stupid bug):
> 
>         EXPATLIB=" -lexpat"
>         CFLAGS="$CFLAGS -DUSE_EXPAT"
> 
> Complete excerpt from Configure:
> 
> if [ "x$RULE_EXPAT" = "xyes" ]; then
>     if ./helpers/TestCompile lib expat; then
>         echo " + using system Expat"
>         EXPATLIB=" -lexpat"
>         CFLAGS="$CFLAGS -DUSE_EXPAT"
>     else
>         if [ ! -d ./lib/expat-lite/ ]; then
>             echo "ERROR: RULE_EXPAT set to \"yes\" but is not available."
>             exit 1
>         fi
>         echo " + using builtin Expat"
>         EXPATLIB="lib/expat-lite/libexpat.a"
>         APLIBDIRS="expat-lite $APLIBDIRS"
>         CFLAGS="$CFLAGS -DUSE_EXPAT -I\$(SRCDIR)/lib/expat-lite"
>     fi
> fi

to be honest, I still don't get it. ;)

I didn't patch this piece of code. Hence it should be failing on _all_
platforms. And to be honest I don't believe it does ;)

My interpretation is that the CFLAGS is set to indicate that the
internal bundled version is picked and within the code (espacially for
the WIN32 defines sections) you'll have to react differently.

Stipe

mailto:tolj@wapme-systems.de
-------------------------------------------------------------------
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf, NRW, Germany

phone: +49.211.74845.0
fax: +49.211.74845.299

mailto:info@wapme-systems.de
http://www.wapme-systems.de/
-------------------------------------------------------------------

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.2.2 (Cygwin)

mIsEP6mcYwEEAMDnUiUwrbb+xwTFWN6TxF2+XZu7/alwJMeCwMBRvXtPZqfjpPhS
OkBpU0F4TrVuugz1HINTSaJTYq10AzDQXp5NkyWgckqW79nPAWuOX0dicbJk+cN2
nM2TI4KaxUDe6u8hghNEnH/i2lXsUu9apnP/iixzV81VC2je3uc9hZpnAAYptEVT
dGlwZSBUb2xqIChUZWNobm9sb2d5IENlbnRlciAmIFJlc2VhcmNoIExhYikgPHRv
bGpAd2FwbWUtc3lzdGVtcy5kZT6ItAQTAQIAHgUCP6mcYwIbAwYLCQgHAwIDFQID
AxYCAQIeAQIXgAAKCRABV0w1BqPYRuSqA/wPzsQxao2YePENCtgRTrO86U6zg3sl
OcS6CJFI4FZP5h/xD3GRsNH1+MPSvZlomDdpFnr547DGz/Kq9MXuQwVvlVig5yWZ
K5dtKp1r5YLhxJQBhfirZbRFFnYmf19f18J8OoS28tuFVftDl1AIwJS3HLyBTv6H
g2HyLAEKQIp30Q==
=aYCI
-----END PGP PUBLIC KEY BLOCK-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]