Mercurial > ~mikael > mcabber > hg
comparison mcabber/configure.ac @ 1025:804aebb39028
[BP-d530e5fb506a] Fix SSL on OS X
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 16 Nov 2006 19:07:09 +0100 |
parents | 1574f5a4c264 |
children | f7ef8003fc35 |
comparison
equal
deleted
inserted
replaced
1024:1574f5a4c264 | 1025:804aebb39028 |
---|---|
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, [ |