[xmlsec] Fix to configure when OpenSSL is in /usr/lib
Aleksey Sanin
aleksey at aleksey.com
Wed Oct 30 17:29:00 PST 2002
Applied and commited. Thanks for fixing this!
Aleksey
Scott Cantor wrote:
>>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
>
>_______________________________________________
>xmlsec mailing list
>xmlsec at aleksey.com
>http://www.aleksey.com/mailman/listinfo/xmlsec
>
>
More information about the xmlsec
mailing list