From 00f4515d6c84356d87b69fc7d1ac786ed84c4eec Mon Sep 17 00:00:00 2001 From: rofl0r Date: Sat, 1 May 2021 15:12:59 +0100 Subject: [PATCH] fix configure check for SSL_CTX_get_ssl_method --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 05b7cfd..dcf5932 100755 --- a/configure +++ b/configure @@ -147,7 +147,7 @@ check_compile() { printf "checking %s ... " "$1" printf "$3" > "$tmpc" local res=0 - $CC $OUR_CPPFLAGS $CPPFLAGS $2 $CFLAGS $OUR_LDFLAGS "$tmpc" -o /dev/null >/dev/null 2>&1 \ + $CC $OUR_CPPFLAGS $CPPFLAGS $2 $CFLAGS "$tmpc" $OUR_LDFLAGS -o /dev/null >/dev/null 2>&1 \ || res=1 test x$res = x0 && \ { printf "yes\n" ; test x"$2" = x || OUR_CPPFLAGS="$OUR_CPPFLAGS $2" ; } \ @@ -201,7 +201,7 @@ OUR_LDFLAGS='-lssl -lcrypto' check_compile 'whether we have SSL_CTX_get_ssl_method()' \ '-DHAVE_SSL_CTX_get_ssl_method' \ - "#include \nint main() { SSL_CTX *c = 0; (void)SSL_CTX_get_ssl_method(c); return 0}" + "#include \nint main() { SSL_CTX *c = 0; (void)SSL_CTX_get_ssl_method(c); return 0;}" for i in python perl tcl libsexy gtkspell ; do eval feature_$i=auto ; done while true ; do -- 2.11.4.GIT