in the case where se don't link with kerberos 4, use

${with_openssl_include} if its are set (not ${with_openssl}/include)
same for with_openssl_lib


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11960 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-04-02 13:02:02 +00:00
parent 74e8c102ac
commit dc98cddce7

View File

@@ -123,10 +123,10 @@ if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then
INCLUDE_des=
LIB_des=
if test "$with_openssl_include" != ""; then
INCLUDE_des="-I${with_openssl}/include"
INCLUDE_des="-I${with_openssl_include}"
fi
if test "$with_openssl_lib" != ""; then
LIB_des="-L${with_openssl}/lib"
LIB_des="-L${with_openssl_lib}"
fi
CFLAGS="-DHAVE_OPENSSL ${INCLUDE_des} ${CFLAGS}"
LIB_des="${LIB_des} -lcrypto"