summaryrefslogtreecommitdiffstats
path: root/ds9/win/configure
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-04-26 21:37:17 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-04-26 21:37:17 (GMT)
commit276248924f179411396352ecc80e34adb592a247 (patch)
treea66549ed5cf66649ba982ac37b1fed2215a76d70 /ds9/win/configure
parentf3adb1b276a9556562cd68e374ac621e5ac1ebab (diff)
downloadblt-276248924f179411396352ecc80e34adb592a247.zip
blt-276248924f179411396352ecc80e34adb592a247.tar.gz
blt-276248924f179411396352ecc80e34adb592a247.tar.bz2
add tls for https support win32
Diffstat (limited to 'ds9/win/configure')
-rwxr-xr-xds9/win/configure91
1 files changed, 2 insertions, 89 deletions
diff --git a/ds9/win/configure b/ds9/win/configure
index d48bc78..b529602 100755
--- a/ds9/win/configure
+++ b/ds9/win/configure
@@ -655,6 +655,7 @@ STUBS_BUILD
SHARED_BUILD
TK_INCLUDES
TCL_INCLUDES
+SSLLIBS
MATH_LIBS
EGREP
GREP
@@ -10847,95 +10848,7 @@ done
#TEA_ADD_STUB_SOURCES([])
#TEA_ADD_TCL_SOURCES([])
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CRYPTO_new_ex_data in -lcrypto" >&5
-$as_echo_n "checking for CRYPTO_new_ex_data in -lcrypto... " >&6; }
-if ${ac_cv_lib_crypto_CRYPTO_new_ex_data+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lcrypto $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-/* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-#ifdef __cplusplus
-extern "C"
-#endif
-char CRYPTO_new_ex_data ();
-int
-main ()
-{
-return CRYPTO_new_ex_data ();
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_crypto_CRYPTO_new_ex_data=yes
-else
- ac_cv_lib_crypto_CRYPTO_new_ex_data=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_CRYPTO_new_ex_data" >&5
-$as_echo "$ac_cv_lib_crypto_CRYPTO_new_ex_data" >&6; }
-if test "x$ac_cv_lib_crypto_CRYPTO_new_ex_data" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBCRYPTO 1
-_ACEOF
-
- LIBS="-lcrypto $LIBS"
-
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TLSv1_1_method in -lssl" >&5
-$as_echo_n "checking for TLSv1_1_method in -lssl... " >&6; }
-if ${ac_cv_lib_ssl_TLSv1_1_method+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lssl $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-/* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-#ifdef __cplusplus
-extern "C"
-#endif
-char TLSv1_1_method ();
-int
-main ()
-{
-return TLSv1_1_method ();
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_ssl_TLSv1_1_method=yes
-else
- ac_cv_lib_ssl_TLSv1_1_method=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_TLSv1_1_method" >&5
-$as_echo "$ac_cv_lib_ssl_TLSv1_1_method" >&6; }
-if test "x$ac_cv_lib_ssl_TLSv1_1_method" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBSSL 1
-_ACEOF
-
- LIBS="-lssl $LIBS"
-
-fi
+SSLLIBS="-LC:/opt/openssl/lib -lssleay32 -llibeay32"
#--------------------------------------------------------------------