|
|
aaffe09 |
diff -ur BitchX-1.2.1.orig/configure BitchX-1.2.1/configure
|
|
|
aaffe09 |
--- BitchX-1.2.1.orig/configure 2017-03-06 23:17:29.667012724 +1100
|
|
|
aaffe09 |
+++ BitchX-1.2.1/configure 2017-03-06 23:38:43.921378493 +1100
|
|
|
aaffe09 |
@@ -10557,9 +10557,9 @@
|
|
|
aaffe09 |
case "$with_ssl" in
|
|
|
aaffe09 |
yes|check)
|
|
|
aaffe09 |
|
|
|
aaffe09 |
-echo "$as_me:$LINENO: checking for SSLeay in -lcrypto" >&5
|
|
|
aaffe09 |
-echo $ECHO_N "checking for SSLeay in -lcrypto... $ECHO_C" >&6
|
|
|
aaffe09 |
-if test "${ac_cv_lib_crypto_SSLeay+set}" = set; then
|
|
|
aaffe09 |
+echo "$as_me:$LINENO: checking for ERR_get_error in -lcrypto" >&5
|
|
|
aaffe09 |
+echo $ECHO_N "checking for ERR_get_error in -lcrypto... $ECHO_C" >&6
|
|
|
aaffe09 |
+if test "${ac_cv_lib_crypto_ERR_get_error+set}" = set; then
|
|
|
aaffe09 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
aaffe09 |
else
|
|
|
aaffe09 |
ac_check_lib_save_LIBS=$LIBS
|
|
|
aaffe09 |
@@ -10577,11 +10577,11 @@
|
|
|
aaffe09 |
#endif
|
|
|
aaffe09 |
/* We use char because int might match the return type of a gcc2
|
|
|
aaffe09 |
builtin and then its argument prototype would still apply. */
|
|
|
aaffe09 |
-char SSLeay ();
|
|
|
aaffe09 |
+char ERR_get_error ();
|
|
|
aaffe09 |
int
|
|
|
aaffe09 |
main ()
|
|
|
aaffe09 |
{
|
|
|
aaffe09 |
-SSLeay ();
|
|
|
aaffe09 |
+ERR_get_error ();
|
|
|
aaffe09 |
;
|
|
|
aaffe09 |
return 0;
|
|
|
aaffe09 |
}
|
|
|
aaffe09 |
@@ -10608,20 +10608,20 @@
|
|
|
aaffe09 |
ac_status=$?
|
|
|
aaffe09 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
aaffe09 |
(exit $ac_status); }; }; then
|
|
|
aaffe09 |
- ac_cv_lib_crypto_SSLeay=yes
|
|
|
aaffe09 |
+ ac_cv_lib_crypto_ERR_get_error=yes
|
|
|
aaffe09 |
else
|
|
|
aaffe09 |
echo "$as_me: failed program was:" >&5
|
|
|
aaffe09 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
aaffe09 |
|
|
|
aaffe09 |
-ac_cv_lib_crypto_SSLeay=no
|
|
|
aaffe09 |
+ac_cv_lib_crypto_ERR_get_error=no
|
|
|
aaffe09 |
fi
|
|
|
aaffe09 |
rm -f conftest.err conftest.$ac_objext \
|
|
|
aaffe09 |
conftest$ac_exeext conftest.$ac_ext
|
|
|
aaffe09 |
LIBS=$ac_check_lib_save_LIBS
|
|
|
aaffe09 |
fi
|
|
|
aaffe09 |
-echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SSLeay" >&5
|
|
|
aaffe09 |
-echo "${ECHO_T}$ac_cv_lib_crypto_SSLeay" >&6
|
|
|
aaffe09 |
-if test $ac_cv_lib_crypto_SSLeay = yes; then
|
|
|
aaffe09 |
+echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ERR_get_error" >&5
|
|
|
aaffe09 |
+echo "${ECHO_T}$ac_cv_lib_crypto_ERR_get_error" >&6
|
|
|
aaffe09 |
+if test $ac_cv_lib_crypto_ERR_get_error = yes; then
|
|
|
aaffe09 |
cat >>confdefs.h <<_ACEOF
|
|
|
aaffe09 |
#define HAVE_LIBCRYPTO 1
|
|
|
aaffe09 |
_ACEOF
|
|
|
aaffe09 |
@@ -10630,7 +10630,7 @@
|
|
|
aaffe09 |
|
|
|
aaffe09 |
fi
|
|
|
aaffe09 |
|
|
|
aaffe09 |
- if test x"$ac_cv_lib_crypto_SSLeay" = x"yes"; then
|
|
|
aaffe09 |
+ if test x"$ac_cv_lib_crypto_ERR_get_error" = x"yes"; then
|
|
|
aaffe09 |
|
|
|
aaffe09 |
echo "$as_me:$LINENO: checking for SSL_accept in -lssl" >&5
|
|
|
aaffe09 |
echo $ECHO_N "checking for SSL_accept in -lssl... $ECHO_C" >&6
|
|
|
aaffe09 |
@@ -14756,12 +14756,6 @@
|
|
|
aaffe09 |
SHLIB_LD="ld -shared"
|
|
|
aaffe09 |
fi
|
|
|
aaffe09 |
;;
|
|
|
aaffe09 |
- FreeBSD-2.2*)
|
|
|
aaffe09 |
- SHLIB_LD="ld -Bshareable"
|
|
|
aaffe09 |
- ;;
|
|
|
aaffe09 |
- FreeBSD-2*)
|
|
|
aaffe09 |
- SHLIB_LD="ld -Bshareable"
|
|
|
aaffe09 |
- ;;
|
|
|
aaffe09 |
FreeBSD*)
|
|
|
aaffe09 |
SHLIB_CFLAGS="-fPIC"
|
|
|
aaffe09 |
SHLIB_LD="$CC -shared"
|
|
|
aaffe09 |
@@ -16237,12 +16231,6 @@
|
|
|
aaffe09 |
SHLIB_LD="ld -shared"
|
|
|
aaffe09 |
fi
|
|
|
aaffe09 |
;;
|
|
|
aaffe09 |
- FreeBSD-2.2*)
|
|
|
aaffe09 |
- SHLIB_LD="ld -Bshareable"
|
|
|
aaffe09 |
- ;;
|
|
|
aaffe09 |
- FreeBSD-2*)
|
|
|
aaffe09 |
- SHLIB_LD="ld -Bshareable"
|
|
|
aaffe09 |
- ;;
|
|
|
aaffe09 |
FreeBSD*)
|
|
|
aaffe09 |
SHLIB_CFLAGS="-fPIC"
|
|
|
aaffe09 |
SHLIB_LD="$CC -shared"
|
|
|
aaffe09 |
diff -ur BitchX-1.2.1.orig/configure.in BitchX-1.2.1/configure.in
|
|
|
aaffe09 |
--- BitchX-1.2.1.orig/configure.in 2017-03-06 23:17:29.703012732 +1100
|
|
|
aaffe09 |
+++ BitchX-1.2.1/configure.in 2017-03-06 23:38:36.453320386 +1100
|
|
|
aaffe09 |
@@ -559,8 +559,8 @@
|
|
|
aaffe09 |
esac
|
|
|
aaffe09 |
case "$with_ssl" in
|
|
|
aaffe09 |
yes|check)
|
|
|
aaffe09 |
- AC_CHECK_LIB([crypto], [SSLeay], [], [], [])
|
|
|
aaffe09 |
- if test x"$ac_cv_lib_crypto_SSLeay" = x"yes"; then
|
|
|
aaffe09 |
+ AC_CHECK_LIB([crypto], [ERR_get_error], [], [], [])
|
|
|
aaffe09 |
+ if test x"$ac_cv_lib_crypto_ERR_get_error" = x"yes"; then
|
|
|
aaffe09 |
AC_CHECK_LIB([ssl], [SSL_accept], [], [], [])
|
|
|
aaffe09 |
fi
|
|
|
aaffe09 |
if test x"$ac_cv_lib_ssl_SSL_accept" = x"yes"; then
|