[xmlsec] Fix to configure when OpenSSL is in /usr/lib
Scott Cantor
cantor.2 at osu.edu
Tue Oct 29 10:17:37 PST 2002
> This makes perfect sense to me. If there ar no objections
> from others I would be happy to apply your patch.
Thanks. This isn't the only fix possible, but I added conditionals
around your assignment statements for OPENSSL_CFLAGS and OPENSSL_LIBS
that check for /usr and omit the flag in that case:
if test $dir != "/usr/include"; then
OPENSSL_CFLAGS="-I$dir" <-- original line
else
OPENSSL_CFLAGS="-I."
fi
....
if test $dir != "/usr/lib"; then
OPENSSL_LIBS="-L$dir -lcrypto" <-- original line
else
OPENSSL_LIBS="-lcrypto"
fi
I don't have a diff patch off hand, but I can put one together if you
like.
-- Scott
More information about the xmlsec
mailing list