1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

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 commit is contained in:
Richard Sharpe -
parent 524c4d2978
commit 3598d90a32

26
source/configure vendored
View File

@ -8284,6 +8284,32 @@ EOF
CFLAGS="-I/usr/local/ssl/include $CFLAGS" 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 echo "$ac_t""no" 1>&6