Mercurial > ~mikael > mcabber > hg
comparison mcabber/configure.ac @ 976:d530e5fb506a
Fix SSL on OS X
We need libcrypto on OS X, for SSL support. Thanks to Alexis Hildebrandt
for the information.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 10 Oct 2006 19:43:32 +0200 |
parents | abfe3ca42c35 |
children | f7ef8003fc35 |
comparison
equal
deleted
inserted
replaced
975:c3198eea6c3b | 976:d530e5fb506a |
---|---|
116 if test -n "$with_openssl" -a "$with_openssl" != "no"; then | 116 if test -n "$with_openssl" -a "$with_openssl" != "no"; then |
117 if test "$with_openssl" = "yes"; then with_openssl="/usr"; fi | 117 if test "$with_openssl" = "yes"; then with_openssl="/usr"; fi |
118 CFLAGS="$CFLAGS -I${with_openssl}" | 118 CFLAGS="$CFLAGS -I${with_openssl}" |
119 AC_DEFINE([HAVE_OPENSSL], [], [OpenSSL]) | 119 AC_DEFINE([HAVE_OPENSSL], [], [OpenSSL]) |
120 AC_MSG_RESULT([found in $with_openssl]) | 120 AC_MSG_RESULT([found in $with_openssl]) |
121 AC_CHECK_LIB(crypto, main, [ | 121 AC_CHECK_LIB(crypto, main) |
122 AC_CHECK_LIB(crypto, SSLeay_add_all_algorithms, [ | |
123 AC_DEFINE([HAVE_SSLEAY], [], [SSLeay]) | |
124 ]) | |
125 ]) | |
126 AC_CHECK_LIB(ssl, main) | 122 AC_CHECK_LIB(ssl, main) |
127 else | 123 else |
128 AC_MSG_RESULT([not found or disabled]) | 124 AC_MSG_RESULT([not found or disabled]) |
129 | 125 |
130 # AM_PATH_LIBGNUTLS_EXTRA(0.0.1, [ | 126 # AM_PATH_LIBGNUTLS_EXTRA(0.0.1, [ |