summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>1999-01-25 00:36:45 +0000
committerRichard Sharpe <sharpe@samba.org>1999-01-25 00:36:45 +0000
commit444dc51920f648458b6fd6bee1a7309cecb87ad1 (patch)
treecafc8764a469c528a5970f9924500470dddd600a /source3
parent9a00d1071625b0075dab0cc982549fc51d405c5d (diff)
downloadsamba-444dc51920f648458b6fd6bee1a7309cecb87ad1.tar.gz
samba-444dc51920f648458b6fd6bee1a7309cecb87ad1.tar.bz2
samba-444dc51920f648458b6fd6bee1a7309cecb87ad1.zip
More changes to get SSL working with 2.x.x
Now, we have most of the configure support done, next have to fix Makefile.in and other things ... (This used to be commit 3598d90a325eaf90341832c1aa35ad17f6d34af7)
Diffstat (limited to 'source3')
-rwxr-xr-xsource3/configure26
1 files changed, 26 insertions, 0 deletions
diff --git a/source3/configure b/source3/configure
index 2e92e1c800..f3a7b5bce4 100755
--- a/source3/configure
+++ b/source3/configure
@@ -8284,6 +8284,32 @@ EOF
CFLAGS="-I/usr/local/ssl/include $CFLAGS"
+ if test "${with_sslinc+set}" = set; then
+
+ withval="$with_sslinc"
+ case "$withval" in
+ yes|no)
+ echo "configure: warning: --with-sslinc called without argument - will
+ use default" 1>&2
+ CFLAGS="-I/usr/local/ssl/include $CFLAGS"
+ LDFLAGS="-L/usr/local/ssl/lib $LDFLAGS"
+ LIBS="-lssl -lcrypto $LIBS"
+ ;;
+ * )
+ CFLAGS="-I${withval}/include $CFLAGS"
+ LDFLAGS="-L${withval}/lib $LDFLAGS"
+ LIBS="-lssl -lcrypto $LIBS"
+ ;;
+ esac
+
+ else
+
+ CFLAGS="-I/usr/local/ssl/include $CFLAGS"
+ LDFLAGS="-L/usr/local/ssl/lib $LDFLAGS"
+ LIBS="-lssl -lcrypto $LIBS"
+
+ fi
+
;;
*)
echo "$ac_t""no" 1>&6