|
|
@@ -635,9 +635,9 @@ TCLINCFN
|
|
|
TCL_INCLUDES
|
|
|
TCLLIBFN
|
|
|
TCLLIB
|
|
|
-SSL_LIBDIR
|
|
|
SSL_LIBS
|
|
|
SSL_INCLUDES
|
|
|
+SSL_LIBDIR
|
|
|
LIBELF_LIB
|
|
|
LIBELF_BUNDLED
|
|
|
EGREP
|
|
|
@@ -1343,6 +1343,7 @@ Optional Packages:
|
|
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
|
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
|
|
--with-openssl=PATH Path to OpenSSL
|
|
|
+ --with-openssl=PATH Path to OpenSSL Lib
|
|
|
--with-tcllib=PATH full path to Tcl library
|
|
|
--with-tclinc=PATH full path to Tcl header
|
|
|
|
|
|
@@ -3819,6 +3820,11 @@ EOF
|
|
|
if [ "${ax_cv_prog_cc_Og}" = "no" ]; then
|
|
|
DEBCXXFLAGS="${DEBCXXFLAGS} -O0"
|
|
|
fi
|
|
|
+#CXX_FLAG_CHECK_LINK([DEBCXXFLAGS], [-fsanitize=address], [fsanitize_address])
|
|
|
+#if [[ "${ax_cv_prog_cc_fsanitize_address}" = "yes" ]]; then
|
|
|
+# DEBLDFLAGS="${DEBLDFLAGS} -fsanitize=address"
|
|
|
+# DEBCXXFLAGS="${DEBCXXFLAGS} -D__SANITIZE_ADDRESS__"
|
|
|
+#fi
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler understands -fstack-protector-all" >&5
|
|
|
$as_echo_n "checking whether the compiler understands -fstack-protector-all... " >&6; }
|
|
|
@@ -6099,16 +6105,16 @@ cf_openssl_basedir=""
|
|
|
cf_openssl_libdir=""
|
|
|
if test "$with_openssl_path" != "auto"; then
|
|
|
cf_openssl_basedir="`echo ${with_openssl_path} | sed 's/\/$//'`"
|
|
|
- cf_openssl_libdir="${cf_openssl_basedir}/lib"
|
|
|
+ cf_openssl_libdir="${cf_openssl_basedir}/lib"
|
|
|
else
|
|
|
- if test -f "/usr/include/openssl/opensslv.h" && test -f "/usr/lib64/libssl.so"; then
|
|
|
+ if test -f "/usr/include/openssl/opensslv.h" && test -f "/usr/lib64/libssl.so"; then
|
|
|
cf_openssl_libdir="/usr/lib64"
|
|
|
cf_openssl_basedir="/usr"
|
|
|
else
|
|
|
for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/local/openssl; do
|
|
|
if test -f "${dirs}/include/openssl/opensslv.h" && test -f "${dirs}/lib/libssl.so"; then
|
|
|
cf_openssl_basedir="${dirs}"
|
|
|
- cf_openssl_libdir="${cf_openssl_basedir}/lib"
|
|
|
+ cf_openssl_libdir="${cf_openssl_basedir}/lib"
|
|
|
break
|
|
|
fi
|
|
|
done
|
|
|
@@ -6120,7 +6126,7 @@ if test ! -z "$cf_openssl_basedir"; then
|
|
|
SSL_INCLUDES="-I${cf_openssl_basedir}/include"
|
|
|
SSL_LIBS="-L${cf_openssl_libdir}"
|
|
|
else
|
|
|
- cf_openssl_basedir=""
|
|
|
+ cf_openssl_basedir=""
|
|
|
cf_openssl_libdir=""
|
|
|
fi
|
|
|
else
|
|
|
@@ -6141,6 +6147,16 @@ $as_echo "not found" >&6; }
|
|
|
fi
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for path to OpenSSL Lib" >&5
|
|
|
$as_echo_n "checking for path to OpenSSL Lib... " >&6; }
|
|
|
+
|
|
|
+
|
|
|
+# Check whether --with-openssl was given.
|
|
|
+if test "${with_openssl+set}" = set; then :
|
|
|
+ withval=$with_openssl; with_openssl_path=$withval
|
|
|
+else
|
|
|
+ with_openssl_path=auto
|
|
|
+fi
|
|
|
+
|
|
|
+
|
|
|
if test ! -z "${cf_openssl_libdir}"; then
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${cf_openssl_libdir}" >&5
|
|
|
$as_echo "${cf_openssl_libdir}" >&6; }
|
|
|
@@ -6252,6 +6268,7 @@ LIBS="$save_LIBS"
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
cat >>build/confdefs.h <<_ACEOF
|
|
|
#define EGG_SSL_EXT 1
|
|
|
_ACEOF
|