RCS file: /home/cvsroot/ALFS/nALFS/configure.in,v
retrieving revision 1.3
diff -u -b -r1.3 configure.in
|
|
|
78 | 78 | enable_ssl=yes |
79 | 79 | ;; |
80 | 80 | *) |
81 | | LIBS="$LIBS -L$withval/lib" |
| 81 | SSL_DIR="$withval" |
| 82 | LIBS="$LIBS -L$SSL_DIR/lib" |
82 | 83 | enable_ssl=yes |
83 | 84 | ;; |
84 | 85 | esac |
… |
… |
|
86 | 87 | |
87 | 88 | if test "$enable_ssl" == "yes" ; then |
88 | 89 | AC_CHECK_LIB(ssl, OpenSSL_add_all_digests, [ |
89 | | CPPFLAGS="$CPPFLAGS -DHAVE_LIBSSL" |
90 | | LIBS="$LIBS -lcrypto -lssl"]) |
| 90 | CPPFLAGS="$CPPFLAGS -I$SSL_DIR/include -DHAVE_LIBSSL" |
| 91 | LIBS="$LIBS -lcrypto -lssl"], [], -lcrypto) |
91 | 92 | fi |
92 | 93 | |
93 | 94 | |