| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 2347 2013-07-03 19:09:32Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 2382 2013-07-06 16:31:07Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
|
# Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK. |
| 5 |
|
# |
| 3083 |
|
MAINT=$MAINTAINER_MODE_TRUE |
| 3084 |
|
|
| 3085 |
|
|
| 3086 |
+ |
|
| 3087 |
|
ac_config_headers="$ac_config_headers config.h" |
| 3088 |
|
|
| 3089 |
|
|
| 8560 |
|
$RM -r conftest* |
| 8561 |
|
|
| 8562 |
|
|
| 8563 |
+ |
## CAVEAT EMPTOR: |
| 8564 |
+ |
## There is no encapsulation within the following macros, do not change |
| 8565 |
+ |
## the running order or otherwise move them around unless you know exactly |
| 8566 |
+ |
## what you are doing... |
| 8567 |
|
if test -n "$compiler"; then |
| 8568 |
|
|
| 8569 |
|
lt_prog_compiler_no_builtin_flag= |
| 13177 |
|
|
| 13178 |
|
# Checks for libraries. |
| 13179 |
|
|
| 13180 |
+ |
|
| 13181 |
+ |
if test "X$CC" != "X"; then |
| 13182 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 |
| 13183 |
+ |
$as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; } |
| 13184 |
+ |
if ${ssp_cv_cc+:} false; then : |
| 13185 |
+ |
$as_echo_n "(cached) " >&6 |
| 13186 |
+ |
else |
| 13187 |
+ |
ssp_old_cflags="$CFLAGS" |
| 13188 |
+ |
CFLAGS="$CFLAGS -fstack-protector" |
| 13189 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13190 |
+ |
/* end confdefs.h. */ |
| 13191 |
+ |
|
| 13192 |
+ |
int |
| 13193 |
+ |
main () |
| 13194 |
+ |
{ |
| 13195 |
+ |
|
| 13196 |
+ |
; |
| 13197 |
+ |
return 0; |
| 13198 |
+ |
} |
| 13199 |
+ |
_ACEOF |
| 13200 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13201 |
+ |
ssp_cv_cc=yes |
| 13202 |
+ |
else |
| 13203 |
+ |
ssp_cv_cc=no |
| 13204 |
+ |
fi |
| 13205 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13206 |
+ |
CFLAGS="$ssp_old_cflags" |
| 13207 |
+ |
|
| 13208 |
+ |
fi |
| 13209 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
| 13210 |
+ |
$as_echo "$ssp_cv_cc" >&6; } |
| 13211 |
+ |
if test $ssp_cv_cc = yes; then |
| 13212 |
+ |
CFLAGS="$CFLAGS -fstack-protector" |
| 13213 |
+ |
|
| 13214 |
+ |
$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h |
| 13215 |
+ |
|
| 13216 |
+ |
fi |
| 13217 |
+ |
fi |
| 13218 |
+ |
|
| 13219 |
+ |
|
| 13220 |
+ |
|
| 13221 |
|
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
| 13222 |
|
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
| 13223 |
|
|