More changes to get SSL working with 2.x.x
authorRichard Sharpe <sharpe@samba.org>
Mon, 25 Jan 1999 00:36:45 +0000 (00:36 +0000)
committerRichard Sharpe <sharpe@samba.org>
Mon, 25 Jan 1999 00:36:45 +0000 (00:36 +0000)
Now, we have most of the configure support done, next
have to fix Makefile.in and other things ...
(This used to be commit 3598d90a325eaf90341832c1aa35ad17f6d34af7)

source3/configure

index 2e92e1c8001f32783711e0cad90d4ed3b18c78d8..f3a7b5bce4ad9b9cf0b877d6235c4d6f68bb5206 100755 (executable)
@@ -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