diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 49 |
1 files changed, 48 insertions, 1 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac Id: configure.ac 2431 2013-08-02 17:20:42Z michael . +# From configure.ac Id: configure.ac 2481 2013-10-23 16:38:58Z michael . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.1.7. # @@ -3083,6 +3083,7 @@ fi MAINT=$MAINTAINER_MODE_TRUE + ac_config_headers="$ac_config_headers config.h" @@ -8559,6 +8560,10 @@ _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... if test -n "$compiler"; then lt_prog_compiler_no_builtin_flag= @@ -13172,6 +13177,47 @@ LIBTOOL="$LIBTOOL --silent" # Checks for libraries. + + if test "X$CC" != "X"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 +$as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; } +if ${ssp_cv_cc+:} false; then : + $as_echo_n "(cached) " >&6 +else + ssp_old_cflags="$CFLAGS" + CFLAGS="$CFLAGS -fstack-protector" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ssp_cv_cc=yes +else + ssp_cv_cc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$ssp_old_cflags" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 +$as_echo "$ssp_cv_cc" >&6; } + if test $ssp_cv_cc = yes; then + CFLAGS="$CFLAGS -fstack-protector" + +$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h + + fi + fi + + + ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" if test "x$ac_cv_func_getaddrinfo" = xyes; then : @@ -13831,6 +13877,7 @@ fi fi + # Check whether --enable-openssl was given. if test "${enable_openssl+set}" = set; then : enableval=$enable_openssl; cf_enable_openssl=$enableval |