From 4c69e66dec1fb0b99ae085fb882674d0d3205c18 Mon Sep 17 00:00:00 2001 From: psychon Date: Sat, 3 Jul 2010 07:56:04 +0000 Subject: [PATCH] Make --with-openssl do more It now also adds lib64 to the library search path. On 32-bit systems this won't hurt because such a directory most likely does not exist. Also, because we are trying to find pkg-config via openssl first, the appropriate dirs are also added to $PKG_CONFIG_PATH. Thanks to DarthGandalf for some good suggestions on this one. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2056 726aef4b-f618-498e-8847-2d620e286838 --- configure | 2 ++ configure.in | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configure b/configure index 1b971dac..5c3ebb18 100755 --- a/configure +++ b/configure @@ -3205,7 +3205,9 @@ fi if test "x$SSL" != "xno"; then if test -n "$OPENSSL"; then appendLib -L${OPENSSL}/lib + appendLib -L${OPENSSL}/lib64 appendCXX -I${OPENSSL}/include + PKG_CONFIG_PATH="$OPENSSL/lib/pkgconfig/:$OPENSSL/lib64/pkgconfig/:$PKG_CONFIG_PATH" fi old_SSL=$SSL diff --git a/configure.in b/configure.in index 865aafa8..65b96e90 100644 --- a/configure.in +++ b/configure.in @@ -186,7 +186,9 @@ fi if test "x$SSL" != "xno"; then if test -n "$OPENSSL"; then appendLib -L${OPENSSL}/lib + appendLib -L${OPENSSL}/lib64 appendCXX -I${OPENSSL}/include + PKG_CONFIG_PATH="$OPENSSL/lib/pkgconfig/:$OPENSSL/lib64/pkgconfig/:$PKG_CONFIG_PATH" fi old_SSL=$SSL