1 |
|
#! /bin/sh |
2 |
< |
# From configure.ac Id: configure.ac 4981 2014-12-05 14:31:27Z michael . |
2 |
> |
# From configure.ac Id: configure.ac 9259 2020-02-02 19:22:00Z michael . |
3 |
|
# Guess values for system-dependent variables and create Makefiles. |
4 |
|
# Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK. |
5 |
|
# |
648 |
|
LIBDIR |
649 |
|
SYSCONFDIR |
650 |
|
PREFIX |
651 |
– |
ENABLE_SSL_FALSE |
652 |
– |
ENABLE_SSL_TRUE |
651 |
|
LTDLOPEN |
652 |
|
LT_CONFIG_H |
653 |
|
CONVENIENCE_LTDL_FALSE |
667 |
|
LTDLDEPS |
668 |
|
LIBLTDL |
669 |
|
CPP |
670 |
+ |
LT_SYS_LIBRARY_PATH |
671 |
|
OTOOL64 |
672 |
|
OTOOL |
673 |
|
LIPO |
709 |
|
AMDEPBACKSLASH |
710 |
|
AMDEP_FALSE |
711 |
|
AMDEP_TRUE |
713 |
– |
am__quote |
712 |
|
am__include |
713 |
|
DEPDIR |
714 |
|
OBJEXT |
767 |
|
docdir |
768 |
|
oldincludedir |
769 |
|
includedir |
770 |
+ |
runstatedir |
771 |
|
localstatedir |
772 |
|
sharedstatedir |
773 |
|
sysconfdir |
786 |
|
PACKAGE_TARNAME |
787 |
|
PACKAGE_NAME |
788 |
|
PATH_SEPARATOR |
789 |
< |
SHELL' |
789 |
> |
SHELL |
790 |
> |
am__quote' |
791 |
|
ac_subst_files='' |
792 |
|
ac_user_opts=' |
793 |
|
enable_option_checking |
813 |
|
enable_assert |
814 |
|
enable_debugging |
815 |
|
enable_warnings |
816 |
< |
enable_openssl |
817 |
< |
enable_libgeoip |
816 |
> |
enable_efence |
817 |
> |
with_tls |
818 |
|
' |
819 |
|
ac_precious_vars='build_alias |
820 |
|
host_alias |
826 |
|
CPPFLAGS |
827 |
|
YACC |
828 |
|
YFLAGS |
829 |
+ |
LT_SYS_LIBRARY_PATH |
830 |
|
CPP' |
831 |
|
|
832 |
|
|
866 |
|
sysconfdir='${prefix}/etc' |
867 |
|
sharedstatedir='${prefix}/com' |
868 |
|
localstatedir='${prefix}/var' |
869 |
+ |
runstatedir='${localstatedir}/run' |
870 |
|
includedir='${prefix}/include' |
871 |
|
oldincludedir='/usr/include' |
872 |
|
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
1119 |
|
| -silent | --silent | --silen | --sile | --sil) |
1120 |
|
silent=yes ;; |
1121 |
|
|
1122 |
+ |
-runstatedir | --runstatedir | --runstatedi | --runstated \ |
1123 |
+ |
| --runstate | --runstat | --runsta | --runst | --runs \ |
1124 |
+ |
| --run | --ru | --r) |
1125 |
+ |
ac_prev=runstatedir ;; |
1126 |
+ |
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
1127 |
+ |
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
1128 |
+ |
| --run=* | --ru=* | --r=*) |
1129 |
+ |
runstatedir=$ac_optarg ;; |
1130 |
+ |
|
1131 |
|
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1132 |
|
ac_prev=sbindir ;; |
1133 |
|
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
1265 |
|
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1266 |
|
datadir sysconfdir sharedstatedir localstatedir includedir \ |
1267 |
|
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1268 |
< |
libdir localedir mandir |
1268 |
> |
libdir localedir mandir runstatedir |
1269 |
|
do |
1270 |
|
eval ac_val=\$$ac_var |
1271 |
|
# Remove trailing slashes. |
1418 |
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1419 |
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1420 |
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1421 |
+ |
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
1422 |
|
--libdir=DIR object code libraries [EPREFIX/lib] |
1423 |
|
--includedir=DIR C header files [PREFIX/include] |
1424 |
|
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
1479 |
|
--enable-assert Enable assert() statements |
1480 |
|
--enable-debugging Enable debugging. |
1481 |
|
--enable-warnings Enable compiler warnings. |
1482 |
< |
--enable-openssl=DIR Enable LibreSSL/OpenSSL support (DIR optional). |
1483 |
< |
--disable-openssl Disable LibreSSL/OpenSSL support. |
1472 |
< |
--disable-libgeoip Disable GeoIP support |
1482 |
> |
--enable-efence Enable linking with Electric Fence 'efence' memory |
1483 |
> |
debugger library. |
1484 |
|
|
1485 |
|
Optional Packages: |
1486 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1496 |
|
--with-included-ltdl use the GNU ltdl sources included here |
1497 |
|
--with-ltdl-include=DIR use the ltdl headers installed in DIR |
1498 |
|
--with-ltdl-lib=DIR use the libltdl.la installed in DIR |
1499 |
+ |
--with-tls Enables TLS with specified library. Options: |
1500 |
+ |
'openssl', 'wolfssl', 'gnutls' or 'none' |
1501 |
|
|
1502 |
|
Some influential environment variables: |
1503 |
|
CC C compiler command |
1513 |
|
YFLAGS The list of arguments that will be passed by default to $YACC. |
1514 |
|
This script will default YFLAGS to the empty string to avoid a |
1515 |
|
default value of `-d' given by some make applications. |
1516 |
+ |
LT_SYS_LIBRARY_PATH |
1517 |
+ |
User-defined run-time library search path. |
1518 |
|
CPP C preprocessor |
1519 |
|
|
1520 |
|
Use these variables to override the choices made by `configure' or to help |
2333 |
|
fi |
2334 |
|
|
2335 |
|
as_fn_append ac_func_list " strtok_r" |
2321 |
– |
as_fn_append ac_func_list " usleep" |
2336 |
|
as_fn_append ac_func_list " strlcat" |
2337 |
|
as_fn_append ac_func_list " strlcpy" |
2338 |
|
as_fn_append ac_header_list " crypt.h" |
2325 |
– |
as_fn_append ac_header_list " sys/resource.h" |
2339 |
|
as_fn_append ac_header_list " sys/param.h" |
2340 |
|
as_fn_append ac_header_list " types.h" |
2341 |
|
as_fn_append ac_header_list " socket.h" |
2342 |
|
as_fn_append ac_header_list " sys/wait.h" |
2330 |
– |
as_fn_append ac_header_list " wait.h" |
2343 |
|
# Check that the precious variables saved in the cache have kept the same |
2344 |
|
# value. |
2345 |
|
ac_cache_corrupted=false |
2408 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2409 |
|
|
2410 |
|
|
2411 |
< |
am__api_version='1.14' |
2411 |
> |
am__api_version='1.16' |
2412 |
|
|
2413 |
|
ac_aux_dir= |
2414 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2609 |
|
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2610 |
|
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
2611 |
|
|
2612 |
< |
# expand $ac_aux_dir to an absolute path |
2613 |
< |
am_aux_dir=`cd $ac_aux_dir && pwd` |
2612 |
> |
# Expand $ac_aux_dir to an absolute path. |
2613 |
> |
am_aux_dir=`cd "$ac_aux_dir" && pwd` |
2614 |
|
|
2615 |
|
if test x"${MISSING+set}" != xset; then |
2616 |
|
case $am_aux_dir in |
2629 |
|
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
2630 |
|
fi |
2631 |
|
|
2632 |
< |
if test x"${install_sh}" != xset; then |
2632 |
> |
if test x"${install_sh+set}" != xset; then |
2633 |
|
case $am_aux_dir in |
2634 |
|
*\ * | *\ *) |
2635 |
|
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
2953 |
|
|
2954 |
|
# For better backward compatibility. To be removed once Automake 1.9.x |
2955 |
|
# dies out for good. For more background, see: |
2956 |
< |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
2957 |
< |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
2956 |
> |
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
2957 |
> |
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
2958 |
|
mkdir_p='$(MKDIR_P)' |
2959 |
|
|
2960 |
< |
# We need awk for the "check" target. The system "awk" is bad on |
2961 |
< |
# some platforms. |
2960 |
> |
# We need awk for the "check" target (and possibly the TAP driver). The |
2961 |
> |
# system "awk" is bad on some platforms. |
2962 |
|
# Always define AMTAR for backward compatibility. Yes, it's still used |
2963 |
|
# in the wild :-( We should find a proper way to deprecate it ... |
2964 |
|
AMTAR='$${TAR-tar}' |
3005 |
|
Aborting the configuration process, to ensure you take notice of the issue. |
3006 |
|
|
3007 |
|
You can download and install GNU coreutils to get an 'rm' implementation |
3008 |
< |
that behaves properly: <http://www.gnu.org/software/coreutils/>. |
3008 |
> |
that behaves properly: <https://www.gnu.org/software/coreutils/>. |
3009 |
|
|
3010 |
|
If you want to complete the configuration process using your problematic |
3011 |
|
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
3016 |
|
fi |
3017 |
|
fi |
3018 |
|
|
3019 |
+ |
|
3020 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
3021 |
|
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
3022 |
|
# Check whether --enable-maintainer-mode was given. |
3049 |
|
|
3050 |
|
ac_config_commands="$ac_config_commands depfiles" |
3051 |
|
|
3052 |
< |
|
3053 |
< |
am_make=${MAKE-make} |
3054 |
< |
cat > confinc << 'END' |
3052 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 |
3053 |
> |
$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } |
3054 |
> |
cat > confinc.mk << 'END' |
3055 |
|
am__doit: |
3056 |
< |
@echo this is the am__doit target |
3056 |
> |
@echo this is the am__doit target >confinc.out |
3057 |
|
.PHONY: am__doit |
3058 |
|
END |
3046 |
– |
# If we don't find an include directive, just comment out the code. |
3047 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
3048 |
– |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
3059 |
|
am__include="#" |
3060 |
|
am__quote= |
3061 |
< |
_am_result=none |
3062 |
< |
# First try GNU make style include. |
3063 |
< |
echo "include confinc" > confmf |
3064 |
< |
# Ignore all kinds of additional output from 'make'. |
3065 |
< |
case `$am_make -s -f confmf 2> /dev/null` in #( |
3066 |
< |
*the\ am__doit\ target*) |
3067 |
< |
am__include=include |
3068 |
< |
am__quote= |
3069 |
< |
_am_result=GNU |
3070 |
< |
;; |
3071 |
< |
esac |
3072 |
< |
# Now try BSD make style include. |
3073 |
< |
if test "$am__include" = "#"; then |
3074 |
< |
echo '.include "confinc"' > confmf |
3075 |
< |
case `$am_make -s -f confmf 2> /dev/null` in #( |
3076 |
< |
*the\ am__doit\ target*) |
3077 |
< |
am__include=.include |
3078 |
< |
am__quote="\"" |
3079 |
< |
_am_result=BSD |
3061 |
> |
# BSD make does it like this. |
3062 |
> |
echo '.include "confinc.mk" # ignored' > confmf.BSD |
3063 |
> |
# Other make implementations (GNU, Solaris 10, AIX) do it like this. |
3064 |
> |
echo 'include confinc.mk # ignored' > confmf.GNU |
3065 |
> |
_am_result=no |
3066 |
> |
for s in GNU BSD; do |
3067 |
> |
{ echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 |
3068 |
> |
(${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 |
3069 |
> |
ac_status=$? |
3070 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3071 |
> |
(exit $ac_status); } |
3072 |
> |
case $?:`cat confinc.out 2>/dev/null` in #( |
3073 |
> |
'0:this is the am__doit target') : |
3074 |
> |
case $s in #( |
3075 |
> |
BSD) : |
3076 |
> |
am__include='.include' am__quote='"' ;; #( |
3077 |
> |
*) : |
3078 |
> |
am__include='include' am__quote='' ;; |
3079 |
> |
esac ;; #( |
3080 |
> |
*) : |
3081 |
|
;; |
3082 |
< |
esac |
3083 |
< |
fi |
3084 |
< |
|
3085 |
< |
|
3086 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
3087 |
< |
$as_echo "$_am_result" >&6; } |
3088 |
< |
rm -f confinc confmf |
3082 |
> |
esac |
3083 |
> |
if test "$am__include" != "#"; then |
3084 |
> |
_am_result="yes ($s style)" |
3085 |
> |
break |
3086 |
> |
fi |
3087 |
> |
done |
3088 |
> |
rm -f confinc.* confmf.* |
3089 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 |
3090 |
> |
$as_echo "${_am_result}" >&6; } |
3091 |
|
|
3092 |
|
# Check whether --enable-dependency-tracking was given. |
3093 |
|
if test "${enable_dependency_tracking+set}" = set; then : |
4488 |
|
|
4489 |
|
|
4490 |
|
|
4491 |
< |
macro_version='2.4.4' |
4492 |
< |
macro_revision='2.4.4' |
4491 |
> |
macro_version='2.4.6' |
4492 |
> |
macro_revision='2.4.6' |
4493 |
|
|
4494 |
|
|
4495 |
|
|
5789 |
|
lt_cv_deplibs_check_method=pass_all |
5790 |
|
;; |
5791 |
|
|
5792 |
< |
netbsd*) |
5792 |
> |
netbsd* | netbsdelf*-gnu) |
5793 |
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
5794 |
|
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
5795 |
|
else |
6652 |
|
test $ac_status = 0; }; then |
6653 |
|
# Now try to grab the symbols. |
6654 |
|
nlist=conftest.nm |
6655 |
< |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 |
6656 |
< |
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 |
6644 |
< |
ac_status=$? |
6645 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6646 |
< |
test $ac_status = 0; } && test -s "$nlist"; then |
6655 |
> |
$ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 |
6656 |
> |
if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then |
6657 |
|
# Try sorting and uniquifying the output. |
6658 |
|
if sort "$nlist" | uniq > "$nlist"T; then |
6659 |
|
mv -f "$nlist"T "$nlist" |
6908 |
|
|
6909 |
|
|
6910 |
|
|
6911 |
+ |
|
6912 |
+ |
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
6913 |
+ |
func_cc_basename () |
6914 |
+ |
{ |
6915 |
+ |
for cc_temp in $*""; do |
6916 |
+ |
case $cc_temp in |
6917 |
+ |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
6918 |
+ |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
6919 |
+ |
\-*) ;; |
6920 |
+ |
*) break;; |
6921 |
+ |
esac |
6922 |
+ |
done |
6923 |
+ |
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
6924 |
+ |
} |
6925 |
+ |
|
6926 |
|
# Check whether --enable-libtool-lock was given. |
6927 |
|
if test "${enable_libtool_lock+set}" = set; then : |
6928 |
|
enableval=$enable_libtool_lock; |
7930 |
|
;; |
7931 |
|
esac |
7932 |
|
|
7933 |
+ |
# func_munge_path_list VARIABLE PATH |
7934 |
+ |
# ----------------------------------- |
7935 |
+ |
# VARIABLE is name of variable containing _space_ separated list of |
7936 |
+ |
# directories to be munged by the contents of PATH, which is string |
7937 |
+ |
# having a format: |
7938 |
+ |
# "DIR[:DIR]:" |
7939 |
+ |
# string "DIR[ DIR]" will be prepended to VARIABLE |
7940 |
+ |
# ":DIR[:DIR]" |
7941 |
+ |
# string "DIR[ DIR]" will be appended to VARIABLE |
7942 |
+ |
# "DIRP[:DIRP]::[DIRA:]DIRA" |
7943 |
+ |
# string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
7944 |
+ |
# "DIRA[ DIRA]" will be appended to VARIABLE |
7945 |
+ |
# "DIR[:DIR]" |
7946 |
+ |
# VARIABLE will be replaced by "DIR[ DIR]" |
7947 |
+ |
func_munge_path_list () |
7948 |
+ |
{ |
7949 |
+ |
case x$2 in |
7950 |
+ |
x) |
7951 |
+ |
;; |
7952 |
+ |
*:) |
7953 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
7954 |
+ |
;; |
7955 |
+ |
x:*) |
7956 |
+ |
eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
7957 |
+ |
;; |
7958 |
+ |
*::*) |
7959 |
+ |
eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
7960 |
+ |
eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
7961 |
+ |
;; |
7962 |
+ |
*) |
7963 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
7964 |
+ |
;; |
7965 |
+ |
esac |
7966 |
+ |
} |
7967 |
+ |
|
7968 |
|
ac_ext=c |
7969 |
|
ac_cpp='$CPP $CPPFLAGS' |
7970 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8550 |
|
test -z "$LD" && LD=ld |
8551 |
|
test -z "$ac_objext" && ac_objext=o |
8552 |
|
|
8553 |
< |
for cc_temp in $compiler""; do |
8554 |
< |
case $cc_temp in |
8495 |
< |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
8496 |
< |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
8497 |
< |
\-*) ;; |
8498 |
< |
*) break;; |
8499 |
< |
esac |
8500 |
< |
done |
8501 |
< |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
8553 |
> |
func_cc_basename $compiler |
8554 |
> |
cc_basename=$func_cc_basename_result |
8555 |
|
|
8556 |
|
|
8557 |
|
# Only perform the check for file, if the check method requires it |
9000 |
|
lt_prog_compiler_pic='-KPIC' |
9001 |
|
lt_prog_compiler_static='-static' |
9002 |
|
;; |
9003 |
+ |
# flang / f18. f95 an alias for gfortran or flang on Debian |
9004 |
+ |
flang* | f18* | f95*) |
9005 |
+ |
lt_prog_compiler_wl='-Wl,' |
9006 |
+ |
lt_prog_compiler_pic='-fPIC' |
9007 |
+ |
lt_prog_compiler_static='-static' |
9008 |
+ |
;; |
9009 |
|
# icc used to be incompatible with GCC. |
9010 |
|
# ICC 10 doesn't accept -KPIC any more. |
9011 |
|
icc* | ifort*) |
9482 |
|
openbsd* | bitrig*) |
9483 |
|
with_gnu_ld=no |
9484 |
|
;; |
9485 |
+ |
linux* | k*bsd*-gnu | gnu*) |
9486 |
+ |
link_all_deplibs=no |
9487 |
+ |
;; |
9488 |
|
esac |
9489 |
|
|
9490 |
|
ld_shlibs=yes |
9739 |
|
fi |
9740 |
|
;; |
9741 |
|
|
9742 |
< |
netbsd*) |
9742 |
> |
netbsd* | netbsdelf*-gnu) |
9743 |
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
9744 |
|
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
9745 |
|
wlarc= |
10409 |
|
if test yes = "$lt_cv_irix_exported_symbol"; then |
10410 |
|
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' |
10411 |
|
fi |
10412 |
+ |
link_all_deplibs=no |
10413 |
|
else |
10414 |
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' |
10415 |
|
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' |
10431 |
|
esac |
10432 |
|
;; |
10433 |
|
|
10434 |
< |
netbsd*) |
10434 |
> |
netbsd* | netbsdelf*-gnu) |
10435 |
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
10436 |
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
10437 |
|
else |
11020 |
|
# flags to be left without arguments |
11021 |
|
need_version=unknown |
11022 |
|
|
11023 |
+ |
|
11024 |
+ |
|
11025 |
|
case $host_os in |
11026 |
|
aix3*) |
11027 |
|
version_type=linux # correct to gnu/linux during the next big refactor |
11310 |
|
case $version_type in |
11311 |
|
freebsd-elf*) |
11312 |
|
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
11313 |
+ |
soname_spec='$libname$release$shared_ext$major' |
11314 |
|
need_version=no |
11315 |
|
need_lib_prefix=no |
11316 |
|
;; |
11370 |
|
soname_spec='$libname$release$shared_ext$major' |
11371 |
|
if test 32 = "$HPUX_IA64_MODE"; then |
11372 |
|
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
11373 |
+ |
sys_lib_dlsearch_path_spec=/usr/lib/hpux32 |
11374 |
|
else |
11375 |
|
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
11376 |
+ |
sys_lib_dlsearch_path_spec=/usr/lib/hpux64 |
11377 |
|
fi |
11310 |
– |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
11378 |
|
;; |
11379 |
|
hppa*64*) |
11380 |
|
shrext_cmds='.sl' |
11526 |
|
# before this can be enabled. |
11527 |
|
hardcode_into_libs=yes |
11528 |
|
|
11529 |
< |
# Append ld.so.conf contents to the search path |
11529 |
> |
# Ideally, we could use ldconfig to report *all* directores which are |
11530 |
> |
# searched for libraries, however this is still not possible. Aside from not |
11531 |
> |
# being certain /sbin/ldconfig is available, command |
11532 |
> |
# 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, |
11533 |
> |
# even though it is searched at run-time. Try to do the best guess by |
11534 |
> |
# appending ld.so.conf contents (and includes) to the search path. |
11535 |
|
if test -f /etc/ld.so.conf; then |
11536 |
|
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` |
11537 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
11546 |
|
dynamic_linker='GNU/Linux ld.so' |
11547 |
|
;; |
11548 |
|
|
11549 |
+ |
netbsdelf*-gnu) |
11550 |
+ |
version_type=linux |
11551 |
+ |
need_lib_prefix=no |
11552 |
+ |
need_version=no |
11553 |
+ |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
11554 |
+ |
soname_spec='${libname}${release}${shared_ext}$major' |
11555 |
+ |
shlibpath_var=LD_LIBRARY_PATH |
11556 |
+ |
shlibpath_overrides_runpath=no |
11557 |
+ |
hardcode_into_libs=yes |
11558 |
+ |
dynamic_linker='NetBSD ld.elf_so' |
11559 |
+ |
;; |
11560 |
+ |
|
11561 |
|
netbsd*) |
11562 |
|
version_type=sunos |
11563 |
|
need_lib_prefix=no |
11768 |
|
if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then |
11769 |
|
sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec |
11770 |
|
fi |
11771 |
+ |
|
11772 |
|
if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then |
11773 |
|
sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec |
11774 |
|
fi |
11775 |
|
|
11776 |
+ |
# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... |
11777 |
+ |
configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec |
11778 |
+ |
|
11779 |
+ |
# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code |
11780 |
+ |
func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" |
11781 |
+ |
|
11782 |
+ |
# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool |
11783 |
+ |
configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH |
11784 |
+ |
|
11785 |
+ |
|
11786 |
+ |
|
11787 |
+ |
|
11788 |
+ |
|
11789 |
+ |
|
11790 |
|
|
11791 |
|
|
11792 |
|
|
13180 |
|
# at 6.2 and later dlopen does load deplibs. |
13181 |
|
lt_cv_sys_dlopen_deplibs=yes |
13182 |
|
;; |
13183 |
< |
netbsd*) |
13183 |
> |
netbsd* | netbsdelf*-gnu) |
13184 |
|
lt_cv_sys_dlopen_deplibs=yes |
13185 |
|
;; |
13186 |
|
openbsd*) |
13645 |
|
|
13646 |
|
|
13647 |
|
if test "X$CC" != "X"; then |
13648 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 |
13649 |
< |
$as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; } |
13648 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector-strong" >&5 |
13649 |
> |
$as_echo_n "checking whether ${CC} accepts -fstack-protector-strong... " >&6; } |
13650 |
|
if ${ssp_cv_cc+:} false; then : |
13651 |
|
$as_echo_n "(cached) " >&6 |
13652 |
|
else |
13653 |
|
ssp_old_cflags="$CFLAGS" |
13654 |
< |
CFLAGS="$CFLAGS -fstack-protector" |
13654 |
> |
CFLAGS="$CFLAGS -fstack-protector-strong" |
13655 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13656 |
|
/* end confdefs.h. */ |
13657 |
|
|
13675 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
13676 |
|
$as_echo "$ssp_cv_cc" >&6; } |
13677 |
|
if test $ssp_cv_cc = yes; then |
13678 |
< |
CFLAGS="$CFLAGS -fstack-protector" |
13678 |
> |
CFLAGS="$CFLAGS -fstack-protector-strong" |
13679 |
> |
|
13680 |
> |
$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h |
13681 |
> |
|
13682 |
> |
else |
13683 |
> |
unset ssp_cv_cc |
13684 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 |
13685 |
> |
$as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; } |
13686 |
> |
if ${ssp_cv_cc+:} false; then : |
13687 |
> |
$as_echo_n "(cached) " >&6 |
13688 |
> |
else |
13689 |
> |
ssp_old_cflags="$CFLAGS" |
13690 |
> |
CFLAGS="$CFLAGS -fstack-protector" |
13691 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13692 |
> |
/* end confdefs.h. */ |
13693 |
> |
|
13694 |
> |
int |
13695 |
> |
main () |
13696 |
> |
{ |
13697 |
> |
|
13698 |
> |
; |
13699 |
> |
return 0; |
13700 |
> |
} |
13701 |
> |
_ACEOF |
13702 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
13703 |
> |
ssp_cv_cc=yes |
13704 |
> |
else |
13705 |
> |
ssp_cv_cc=no |
13706 |
> |
fi |
13707 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13708 |
> |
CFLAGS="$ssp_old_cflags" |
13709 |
> |
|
13710 |
> |
fi |
13711 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
13712 |
> |
$as_echo "$ssp_cv_cc" >&6; } |
13713 |
> |
if test $ssp_cv_cc = yes; then |
13714 |
> |
CFLAGS="$CFLAGS -fstack-protector" |
13715 |
|
|
13716 |
|
$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h |
13717 |
|
|
13718 |
+ |
fi |
13719 |
|
fi |
13720 |
|
fi |
13721 |
|
|
13755 |
|
fi |
13756 |
|
|
13757 |
|
|
13622 |
– |
|
13623 |
– |
|
13624 |
– |
|
13625 |
– |
|
13626 |
– |
for flag in -fno-strict-aliasing; do |
13627 |
– |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
13628 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
13629 |
– |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
13630 |
– |
if eval \${$as_CACHEVAR+:} false; then : |
13631 |
– |
$as_echo_n "(cached) " >&6 |
13632 |
– |
else |
13633 |
– |
|
13634 |
– |
ax_check_save_flags=$CFLAGS |
13635 |
– |
CFLAGS="$CFLAGS $flag" |
13636 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13637 |
– |
/* end confdefs.h. */ |
13638 |
– |
|
13639 |
– |
int |
13640 |
– |
main () |
13641 |
– |
{ |
13642 |
– |
|
13643 |
– |
; |
13644 |
– |
return 0; |
13645 |
– |
} |
13646 |
– |
_ACEOF |
13647 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
13648 |
– |
eval "$as_CACHEVAR=yes" |
13649 |
– |
else |
13650 |
– |
eval "$as_CACHEVAR=no" |
13651 |
– |
fi |
13652 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13653 |
– |
CFLAGS=$ax_check_save_flags |
13654 |
– |
fi |
13655 |
– |
eval ac_res=\$$as_CACHEVAR |
13656 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
13657 |
– |
$as_echo "$ac_res" >&6; } |
13658 |
– |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
13659 |
– |
if ${CFLAGS+:} false; then : |
13660 |
– |
case " $CFLAGS " in |
13661 |
– |
*" $flag "*) |
13662 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
13663 |
– |
(: CFLAGS already contains $flag) 2>&5 |
13664 |
– |
ac_status=$? |
13665 |
– |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13666 |
– |
test $ac_status = 0; } |
13667 |
– |
;; |
13668 |
– |
*) |
13669 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
13670 |
– |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
13671 |
– |
ac_status=$? |
13672 |
– |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13673 |
– |
test $ac_status = 0; } |
13674 |
– |
CFLAGS="$CFLAGS $flag" |
13675 |
– |
;; |
13676 |
– |
esac |
13677 |
– |
else |
13678 |
– |
CFLAGS="$flag" |
13679 |
– |
fi |
13680 |
– |
|
13681 |
– |
else |
13682 |
– |
: |
13683 |
– |
fi |
13684 |
– |
|
13685 |
– |
done |
13686 |
– |
|
13687 |
– |
|
13758 |
|
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
13759 |
|
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
13760 |
|
|
14189 |
|
|
14190 |
|
|
14191 |
|
|
14122 |
– |
|
14123 |
– |
|
14192 |
|
# Checks for header files. |
14193 |
|
|
14194 |
|
|
14219 |
|
|
14220 |
|
|
14221 |
|
|
14154 |
– |
|
14155 |
– |
|
14156 |
– |
|
14157 |
– |
|
14222 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
14223 |
|
$as_echo_n "checking for library containing crypt... " >&6; } |
14224 |
|
if ${ac_cv_search_crypt+:} false; then : |
14276 |
|
fi |
14277 |
|
|
14278 |
|
|
14215 |
– |
|
14216 |
– |
$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h |
14217 |
– |
|
14218 |
– |
|
14219 |
– |
$as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h |
14220 |
– |
|
14221 |
– |
|
14222 |
– |
$as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h |
14223 |
– |
|
14224 |
– |
|
14225 |
– |
$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h |
14226 |
– |
|
14227 |
– |
|
14228 |
– |
$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h |
14229 |
– |
|
14230 |
– |
|
14231 |
– |
$as_echo "#define MP_CHUNK_SIZE_CONNECTION 512*1024" >>confdefs.h |
14232 |
– |
|
14233 |
– |
|
14234 |
– |
$as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h |
14235 |
– |
|
14236 |
– |
|
14237 |
– |
$as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h |
14238 |
– |
|
14239 |
– |
|
14240 |
– |
$as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h |
14241 |
– |
|
14242 |
– |
|
14243 |
– |
$as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h |
14244 |
– |
|
14245 |
– |
|
14246 |
– |
$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h |
14247 |
– |
|
14248 |
– |
|
14249 |
– |
$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h |
14250 |
– |
|
14251 |
– |
|
14252 |
– |
$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h |
14253 |
– |
|
14254 |
– |
|
14255 |
– |
$as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h |
14256 |
– |
|
14257 |
– |
|
14279 |
|
# Argument processing. |
14280 |
|
|
14281 |
|
desired_iopoll_mechanism="none" |
14378 |
|
int |
14379 |
|
main () |
14380 |
|
{ |
14381 |
< |
epoll_create(256); |
14381 |
> |
epoll_create1(EPOLL_CLOEXEC); |
14382 |
|
; |
14383 |
|
return 0; |
14384 |
|
} |
14559 |
|
debugging="no" |
14560 |
|
fi |
14561 |
|
|
14562 |
< |
if test "$debugging" = "yes" ; then |
14562 |
> |
|
14563 |
> |
if test "$debugging" = "yes"; then : |
14564 |
> |
|
14565 |
|
CFLAGS="-Wall -g -O0" |
14566 |
< |
fi |
14566 |
> |
|
14567 |
> |
fi |
14568 |
|
|
14569 |
|
|
14570 |
|
# Check whether --enable-warnings was given. |
14575 |
|
fi |
14576 |
|
|
14577 |
|
|
14578 |
< |
if test "$warnings" = "yes" ; then |
14578 |
> |
if test "$warnings" = "yes"; then : |
14579 |
> |
|
14580 |
|
|
14581 |
|
|
14582 |
|
|
14613 |
|
eval ac_res=\$$as_CACHEVAR |
14614 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14615 |
|
$as_echo "$ac_res" >&6; } |
14616 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14617 |
< |
if ${CFLAGS+:} false; then : |
14618 |
< |
case " $CFLAGS " in |
14619 |
< |
*" $flag "*) |
14620 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14616 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
14617 |
> |
|
14618 |
> |
if ${CFLAGS+:} false; then : |
14619 |
> |
|
14620 |
> |
case " $CFLAGS " in #( |
14621 |
> |
*" $flag "*) : |
14622 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14623 |
|
(: CFLAGS already contains $flag) 2>&5 |
14624 |
|
ac_status=$? |
14625 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14626 |
< |
test $ac_status = 0; } |
14627 |
< |
;; |
14628 |
< |
*) |
14629 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14630 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14626 |
> |
test $ac_status = 0; } ;; #( |
14627 |
> |
*) : |
14628 |
> |
|
14629 |
> |
as_fn_append CFLAGS " $flag" |
14630 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
14631 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
14632 |
|
ac_status=$? |
14633 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14634 |
|
test $ac_status = 0; } |
14635 |
< |
CFLAGS="$CFLAGS $flag" |
14636 |
< |
;; |
14637 |
< |
esac |
14635 |
> |
;; |
14636 |
> |
esac |
14637 |
> |
|
14638 |
|
else |
14639 |
< |
CFLAGS="$flag" |
14639 |
> |
|
14640 |
> |
CFLAGS=$flag |
14641 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
14642 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
14643 |
> |
ac_status=$? |
14644 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14645 |
> |
test $ac_status = 0; } |
14646 |
> |
|
14647 |
|
fi |
14648 |
|
|
14649 |
|
else |
14688 |
|
eval ac_res=\$$as_CACHEVAR |
14689 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14690 |
|
$as_echo "$ac_res" >&6; } |
14691 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14692 |
< |
if ${CFLAGS+:} false; then : |
14693 |
< |
case " $CFLAGS " in |
14694 |
< |
*" $flag "*) |
14695 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14691 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
14692 |
> |
|
14693 |
> |
if ${CFLAGS+:} false; then : |
14694 |
> |
|
14695 |
> |
case " $CFLAGS " in #( |
14696 |
> |
*" $flag "*) : |
14697 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14698 |
|
(: CFLAGS already contains $flag) 2>&5 |
14699 |
|
ac_status=$? |
14700 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14701 |
< |
test $ac_status = 0; } |
14702 |
< |
;; |
14703 |
< |
*) |
14704 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14705 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14701 |
> |
test $ac_status = 0; } ;; #( |
14702 |
> |
*) : |
14703 |
> |
|
14704 |
> |
as_fn_append CFLAGS " $flag" |
14705 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
14706 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
14707 |
|
ac_status=$? |
14708 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14709 |
|
test $ac_status = 0; } |
14710 |
< |
CFLAGS="$CFLAGS $flag" |
14711 |
< |
;; |
14712 |
< |
esac |
14710 |
> |
;; |
14711 |
> |
esac |
14712 |
> |
|
14713 |
|
else |
14714 |
< |
CFLAGS="$flag" |
14714 |
> |
|
14715 |
> |
CFLAGS=$flag |
14716 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
14717 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
14718 |
> |
ac_status=$? |
14719 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14720 |
> |
test $ac_status = 0; } |
14721 |
> |
|
14722 |
|
fi |
14723 |
|
|
14724 |
|
else |
14763 |
|
eval ac_res=\$$as_CACHEVAR |
14764 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14765 |
|
$as_echo "$ac_res" >&6; } |
14766 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14767 |
< |
if ${CFLAGS+:} false; then : |
14768 |
< |
case " $CFLAGS " in |
14769 |
< |
*" $flag "*) |
14770 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14766 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
14767 |
> |
|
14768 |
> |
if ${CFLAGS+:} false; then : |
14769 |
> |
|
14770 |
> |
case " $CFLAGS " in #( |
14771 |
> |
*" $flag "*) : |
14772 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14773 |
|
(: CFLAGS already contains $flag) 2>&5 |
14774 |
|
ac_status=$? |
14775 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14776 |
+ |
test $ac_status = 0; } ;; #( |
14777 |
+ |
*) : |
14778 |
+ |
|
14779 |
+ |
as_fn_append CFLAGS " $flag" |
14780 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
14781 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
14782 |
+ |
ac_status=$? |
14783 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14784 |
|
test $ac_status = 0; } |
14785 |
< |
;; |
14786 |
< |
*) |
14787 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14788 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14785 |
> |
;; |
14786 |
> |
esac |
14787 |
> |
|
14788 |
> |
else |
14789 |
> |
|
14790 |
> |
CFLAGS=$flag |
14791 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
14792 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
14793 |
|
ac_status=$? |
14794 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14795 |
|
test $ac_status = 0; } |
14796 |
< |
CFLAGS="$CFLAGS $flag" |
14797 |
< |
;; |
14798 |
< |
esac |
14796 |
> |
|
14797 |
> |
fi |
14798 |
> |
|
14799 |
|
else |
14800 |
< |
CFLAGS="$flag" |
14800 |
> |
: |
14801 |
> |
fi |
14802 |
> |
|
14803 |
> |
done |
14804 |
> |
|
14805 |
> |
|
14806 |
> |
|
14807 |
> |
|
14808 |
> |
|
14809 |
> |
for flag in -Wcast-function-type; do |
14810 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14811 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14812 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14813 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14814 |
> |
$as_echo_n "(cached) " >&6 |
14815 |
> |
else |
14816 |
> |
|
14817 |
> |
ax_check_save_flags=$CFLAGS |
14818 |
> |
CFLAGS="$CFLAGS $flag" |
14819 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14820 |
> |
/* end confdefs.h. */ |
14821 |
> |
|
14822 |
> |
int |
14823 |
> |
main () |
14824 |
> |
{ |
14825 |
> |
|
14826 |
> |
; |
14827 |
> |
return 0; |
14828 |
> |
} |
14829 |
> |
_ACEOF |
14830 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14831 |
> |
eval "$as_CACHEVAR=yes" |
14832 |
> |
else |
14833 |
> |
eval "$as_CACHEVAR=no" |
14834 |
> |
fi |
14835 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14836 |
> |
CFLAGS=$ax_check_save_flags |
14837 |
> |
fi |
14838 |
> |
eval ac_res=\$$as_CACHEVAR |
14839 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14840 |
> |
$as_echo "$ac_res" >&6; } |
14841 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
14842 |
> |
|
14843 |
> |
if ${CFLAGS+:} false; then : |
14844 |
> |
|
14845 |
> |
case " $CFLAGS " in #( |
14846 |
> |
*" $flag "*) : |
14847 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14848 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14849 |
> |
ac_status=$? |
14850 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14851 |
> |
test $ac_status = 0; } ;; #( |
14852 |
> |
*) : |
14853 |
> |
|
14854 |
> |
as_fn_append CFLAGS " $flag" |
14855 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
14856 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
14857 |
> |
ac_status=$? |
14858 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14859 |
> |
test $ac_status = 0; } |
14860 |
> |
;; |
14861 |
> |
esac |
14862 |
> |
|
14863 |
> |
else |
14864 |
> |
|
14865 |
> |
CFLAGS=$flag |
14866 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
14867 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
14868 |
> |
ac_status=$? |
14869 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14870 |
> |
test $ac_status = 0; } |
14871 |
> |
|
14872 |
|
fi |
14873 |
|
|
14874 |
|
else |
14913 |
|
eval ac_res=\$$as_CACHEVAR |
14914 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14915 |
|
$as_echo "$ac_res" >&6; } |
14916 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14917 |
< |
if ${CFLAGS+:} false; then : |
14918 |
< |
case " $CFLAGS " in |
14919 |
< |
*" $flag "*) |
14920 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14916 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
14917 |
> |
|
14918 |
> |
if ${CFLAGS+:} false; then : |
14919 |
> |
|
14920 |
> |
case " $CFLAGS " in #( |
14921 |
> |
*" $flag "*) : |
14922 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14923 |
|
(: CFLAGS already contains $flag) 2>&5 |
14924 |
|
ac_status=$? |
14925 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14926 |
< |
test $ac_status = 0; } |
14927 |
< |
;; |
14928 |
< |
*) |
14929 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14930 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14926 |
> |
test $ac_status = 0; } ;; #( |
14927 |
> |
*) : |
14928 |
> |
|
14929 |
> |
as_fn_append CFLAGS " $flag" |
14930 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
14931 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
14932 |
|
ac_status=$? |
14933 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14934 |
|
test $ac_status = 0; } |
14935 |
< |
CFLAGS="$CFLAGS $flag" |
14936 |
< |
;; |
14937 |
< |
esac |
14935 |
> |
;; |
14936 |
> |
esac |
14937 |
> |
|
14938 |
|
else |
14939 |
< |
CFLAGS="$flag" |
14939 |
> |
|
14940 |
> |
CFLAGS=$flag |
14941 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
14942 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
14943 |
> |
ac_status=$? |
14944 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14945 |
> |
test $ac_status = 0; } |
14946 |
> |
|
14947 |
|
fi |
14948 |
|
|
14949 |
|
else |
14988 |
|
eval ac_res=\$$as_CACHEVAR |
14989 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14990 |
|
$as_echo "$ac_res" >&6; } |
14991 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14992 |
< |
if ${CFLAGS+:} false; then : |
14993 |
< |
case " $CFLAGS " in |
14994 |
< |
*" $flag "*) |
14995 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14991 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
14992 |
> |
|
14993 |
> |
if ${CFLAGS+:} false; then : |
14994 |
> |
|
14995 |
> |
case " $CFLAGS " in #( |
14996 |
> |
*" $flag "*) : |
14997 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14998 |
|
(: CFLAGS already contains $flag) 2>&5 |
14999 |
|
ac_status=$? |
15000 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15001 |
+ |
test $ac_status = 0; } ;; #( |
15002 |
+ |
*) : |
15003 |
+ |
|
15004 |
+ |
as_fn_append CFLAGS " $flag" |
15005 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15006 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
15007 |
+ |
ac_status=$? |
15008 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15009 |
|
test $ac_status = 0; } |
15010 |
< |
;; |
15011 |
< |
*) |
15012 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15013 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15010 |
> |
;; |
15011 |
> |
esac |
15012 |
> |
|
15013 |
> |
else |
15014 |
> |
|
15015 |
> |
CFLAGS=$flag |
15016 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15017 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15018 |
|
ac_status=$? |
15019 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15020 |
|
test $ac_status = 0; } |
15021 |
< |
CFLAGS="$CFLAGS $flag" |
15022 |
< |
;; |
15023 |
< |
esac |
15021 |
> |
|
15022 |
> |
fi |
15023 |
> |
|
15024 |
> |
else |
15025 |
> |
: |
15026 |
> |
fi |
15027 |
> |
|
15028 |
> |
done |
15029 |
> |
|
15030 |
> |
|
15031 |
> |
|
15032 |
> |
|
15033 |
> |
|
15034 |
> |
for flag in -Wduplicated-cond; do |
15035 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15036 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15037 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15038 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15039 |
> |
$as_echo_n "(cached) " >&6 |
15040 |
|
else |
15041 |
< |
CFLAGS="$flag" |
15041 |
> |
|
15042 |
> |
ax_check_save_flags=$CFLAGS |
15043 |
> |
CFLAGS="$CFLAGS $flag" |
15044 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15045 |
> |
/* end confdefs.h. */ |
15046 |
> |
|
15047 |
> |
int |
15048 |
> |
main () |
15049 |
> |
{ |
15050 |
> |
|
15051 |
> |
; |
15052 |
> |
return 0; |
15053 |
> |
} |
15054 |
> |
_ACEOF |
15055 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15056 |
> |
eval "$as_CACHEVAR=yes" |
15057 |
> |
else |
15058 |
> |
eval "$as_CACHEVAR=no" |
15059 |
> |
fi |
15060 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15061 |
> |
CFLAGS=$ax_check_save_flags |
15062 |
> |
fi |
15063 |
> |
eval ac_res=\$$as_CACHEVAR |
15064 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15065 |
> |
$as_echo "$ac_res" >&6; } |
15066 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15067 |
> |
|
15068 |
> |
if ${CFLAGS+:} false; then : |
15069 |
> |
|
15070 |
> |
case " $CFLAGS " in #( |
15071 |
> |
*" $flag "*) : |
15072 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15073 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15074 |
> |
ac_status=$? |
15075 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15076 |
> |
test $ac_status = 0; } ;; #( |
15077 |
> |
*) : |
15078 |
> |
|
15079 |
> |
as_fn_append CFLAGS " $flag" |
15080 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15081 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15082 |
> |
ac_status=$? |
15083 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15084 |
> |
test $ac_status = 0; } |
15085 |
> |
;; |
15086 |
> |
esac |
15087 |
> |
|
15088 |
> |
else |
15089 |
> |
|
15090 |
> |
CFLAGS=$flag |
15091 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15092 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15093 |
> |
ac_status=$? |
15094 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15095 |
> |
test $ac_status = 0; } |
15096 |
> |
|
15097 |
|
fi |
15098 |
|
|
15099 |
|
else |
15138 |
|
eval ac_res=\$$as_CACHEVAR |
15139 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15140 |
|
$as_echo "$ac_res" >&6; } |
15141 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15142 |
< |
if ${CFLAGS+:} false; then : |
15143 |
< |
case " $CFLAGS " in |
15144 |
< |
*" $flag "*) |
15145 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15141 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15142 |
> |
|
15143 |
> |
if ${CFLAGS+:} false; then : |
15144 |
> |
|
15145 |
> |
case " $CFLAGS " in #( |
15146 |
> |
*" $flag "*) : |
15147 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15148 |
|
(: CFLAGS already contains $flag) 2>&5 |
15149 |
|
ac_status=$? |
15150 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15151 |
< |
test $ac_status = 0; } |
15152 |
< |
;; |
15153 |
< |
*) |
15154 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15155 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15151 |
> |
test $ac_status = 0; } ;; #( |
15152 |
> |
*) : |
15153 |
> |
|
15154 |
> |
as_fn_append CFLAGS " $flag" |
15155 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15156 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15157 |
|
ac_status=$? |
15158 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15159 |
|
test $ac_status = 0; } |
15160 |
< |
CFLAGS="$CFLAGS $flag" |
15161 |
< |
;; |
15162 |
< |
esac |
15160 |
> |
;; |
15161 |
> |
esac |
15162 |
> |
|
15163 |
|
else |
15164 |
< |
CFLAGS="$flag" |
15164 |
> |
|
15165 |
> |
CFLAGS=$flag |
15166 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15167 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15168 |
> |
ac_status=$? |
15169 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15170 |
> |
test $ac_status = 0; } |
15171 |
> |
|
15172 |
|
fi |
15173 |
|
|
15174 |
|
else |
15213 |
|
eval ac_res=\$$as_CACHEVAR |
15214 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15215 |
|
$as_echo "$ac_res" >&6; } |
15216 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15217 |
< |
if ${CFLAGS+:} false; then : |
15218 |
< |
case " $CFLAGS " in |
15219 |
< |
*" $flag "*) |
15220 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15216 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15217 |
> |
|
15218 |
> |
if ${CFLAGS+:} false; then : |
15219 |
> |
|
15220 |
> |
case " $CFLAGS " in #( |
15221 |
> |
*" $flag "*) : |
15222 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15223 |
|
(: CFLAGS already contains $flag) 2>&5 |
15224 |
|
ac_status=$? |
15225 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15226 |
< |
test $ac_status = 0; } |
15227 |
< |
;; |
15228 |
< |
*) |
15229 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15230 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15226 |
> |
test $ac_status = 0; } ;; #( |
15227 |
> |
*) : |
15228 |
> |
|
15229 |
> |
as_fn_append CFLAGS " $flag" |
15230 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15231 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15232 |
|
ac_status=$? |
15233 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15234 |
|
test $ac_status = 0; } |
15235 |
< |
CFLAGS="$CFLAGS $flag" |
15236 |
< |
;; |
15237 |
< |
esac |
15235 |
> |
;; |
15236 |
> |
esac |
15237 |
> |
|
15238 |
|
else |
15239 |
< |
CFLAGS="$flag" |
15239 |
> |
|
15240 |
> |
CFLAGS=$flag |
15241 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15242 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15243 |
> |
ac_status=$? |
15244 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15245 |
> |
test $ac_status = 0; } |
15246 |
> |
|
15247 |
|
fi |
15248 |
|
|
15249 |
|
else |
15288 |
|
eval ac_res=\$$as_CACHEVAR |
15289 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15290 |
|
$as_echo "$ac_res" >&6; } |
15291 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15292 |
< |
if ${CFLAGS+:} false; then : |
15293 |
< |
case " $CFLAGS " in |
15294 |
< |
*" $flag "*) |
15295 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15291 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15292 |
> |
|
15293 |
> |
if ${CFLAGS+:} false; then : |
15294 |
> |
|
15295 |
> |
case " $CFLAGS " in #( |
15296 |
> |
*" $flag "*) : |
15297 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15298 |
|
(: CFLAGS already contains $flag) 2>&5 |
15299 |
|
ac_status=$? |
15300 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15301 |
< |
test $ac_status = 0; } |
15302 |
< |
;; |
15303 |
< |
*) |
15304 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15305 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15301 |
> |
test $ac_status = 0; } ;; #( |
15302 |
> |
*) : |
15303 |
> |
|
15304 |
> |
as_fn_append CFLAGS " $flag" |
15305 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15306 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15307 |
|
ac_status=$? |
15308 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15309 |
|
test $ac_status = 0; } |
15310 |
< |
CFLAGS="$CFLAGS $flag" |
15311 |
< |
;; |
15312 |
< |
esac |
15310 |
> |
;; |
15311 |
> |
esac |
15312 |
> |
|
15313 |
|
else |
15314 |
< |
CFLAGS="$flag" |
15314 |
> |
|
15315 |
> |
CFLAGS=$flag |
15316 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15317 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15318 |
> |
ac_status=$? |
15319 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15320 |
> |
test $ac_status = 0; } |
15321 |
> |
|
15322 |
|
fi |
15323 |
|
|
15324 |
|
else |
15363 |
|
eval ac_res=\$$as_CACHEVAR |
15364 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15365 |
|
$as_echo "$ac_res" >&6; } |
15366 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15367 |
< |
if ${CFLAGS+:} false; then : |
15368 |
< |
case " $CFLAGS " in |
15369 |
< |
*" $flag "*) |
15370 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15366 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15367 |
> |
|
15368 |
> |
if ${CFLAGS+:} false; then : |
15369 |
> |
|
15370 |
> |
case " $CFLAGS " in #( |
15371 |
> |
*" $flag "*) : |
15372 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15373 |
|
(: CFLAGS already contains $flag) 2>&5 |
15374 |
|
ac_status=$? |
15375 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15376 |
< |
test $ac_status = 0; } |
15377 |
< |
;; |
15378 |
< |
*) |
15379 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15380 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15376 |
> |
test $ac_status = 0; } ;; #( |
15377 |
> |
*) : |
15378 |
> |
|
15379 |
> |
as_fn_append CFLAGS " $flag" |
15380 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15381 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15382 |
|
ac_status=$? |
15383 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15384 |
|
test $ac_status = 0; } |
15385 |
< |
CFLAGS="$CFLAGS $flag" |
15386 |
< |
;; |
15387 |
< |
esac |
15385 |
> |
;; |
15386 |
> |
esac |
15387 |
> |
|
15388 |
|
else |
15389 |
< |
CFLAGS="$flag" |
15389 |
> |
|
15390 |
> |
CFLAGS=$flag |
15391 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15392 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15393 |
> |
ac_status=$? |
15394 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15395 |
> |
test $ac_status = 0; } |
15396 |
> |
|
15397 |
|
fi |
15398 |
|
|
15399 |
|
else |
15438 |
|
eval ac_res=\$$as_CACHEVAR |
15439 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15440 |
|
$as_echo "$ac_res" >&6; } |
15441 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15442 |
< |
if ${CFLAGS+:} false; then : |
15443 |
< |
case " $CFLAGS " in |
15444 |
< |
*" $flag "*) |
15445 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15441 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15442 |
> |
|
15443 |
> |
if ${CFLAGS+:} false; then : |
15444 |
> |
|
15445 |
> |
case " $CFLAGS " in #( |
15446 |
> |
*" $flag "*) : |
15447 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15448 |
|
(: CFLAGS already contains $flag) 2>&5 |
15449 |
|
ac_status=$? |
15450 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15451 |
< |
test $ac_status = 0; } |
15452 |
< |
;; |
15453 |
< |
*) |
15454 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15455 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15451 |
> |
test $ac_status = 0; } ;; #( |
15452 |
> |
*) : |
15453 |
> |
|
15454 |
> |
as_fn_append CFLAGS " $flag" |
15455 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15456 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15457 |
|
ac_status=$? |
15458 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15459 |
|
test $ac_status = 0; } |
15460 |
< |
CFLAGS="$CFLAGS $flag" |
15461 |
< |
;; |
15462 |
< |
esac |
15460 |
> |
;; |
15461 |
> |
esac |
15462 |
> |
|
15463 |
|
else |
15464 |
< |
CFLAGS="$flag" |
15464 |
> |
|
15465 |
> |
CFLAGS=$flag |
15466 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15467 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15468 |
> |
ac_status=$? |
15469 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15470 |
> |
test $ac_status = 0; } |
15471 |
> |
|
15472 |
|
fi |
15473 |
|
|
15474 |
|
else |
15513 |
|
eval ac_res=\$$as_CACHEVAR |
15514 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15515 |
|
$as_echo "$ac_res" >&6; } |
15516 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15517 |
< |
if ${CFLAGS+:} false; then : |
15518 |
< |
case " $CFLAGS " in |
15519 |
< |
*" $flag "*) |
15520 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15516 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15517 |
> |
|
15518 |
> |
if ${CFLAGS+:} false; then : |
15519 |
> |
|
15520 |
> |
case " $CFLAGS " in #( |
15521 |
> |
*" $flag "*) : |
15522 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15523 |
|
(: CFLAGS already contains $flag) 2>&5 |
15524 |
|
ac_status=$? |
15525 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15526 |
< |
test $ac_status = 0; } |
15527 |
< |
;; |
15528 |
< |
*) |
15529 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15530 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15526 |
> |
test $ac_status = 0; } ;; #( |
15527 |
> |
*) : |
15528 |
> |
|
15529 |
> |
as_fn_append CFLAGS " $flag" |
15530 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15531 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15532 |
|
ac_status=$? |
15533 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15534 |
|
test $ac_status = 0; } |
15535 |
< |
CFLAGS="$CFLAGS $flag" |
15536 |
< |
;; |
15537 |
< |
esac |
15535 |
> |
;; |
15536 |
> |
esac |
15537 |
> |
|
15538 |
|
else |
15539 |
< |
CFLAGS="$flag" |
15539 |
> |
|
15540 |
> |
CFLAGS=$flag |
15541 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15542 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15543 |
> |
ac_status=$? |
15544 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15545 |
> |
test $ac_status = 0; } |
15546 |
> |
|
15547 |
|
fi |
15548 |
|
|
15549 |
|
else |
15588 |
|
eval ac_res=\$$as_CACHEVAR |
15589 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15590 |
|
$as_echo "$ac_res" >&6; } |
15591 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15592 |
< |
if ${CFLAGS+:} false; then : |
15593 |
< |
case " $CFLAGS " in |
15594 |
< |
*" $flag "*) |
15595 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15591 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15592 |
> |
|
15593 |
> |
if ${CFLAGS+:} false; then : |
15594 |
> |
|
15595 |
> |
case " $CFLAGS " in #( |
15596 |
> |
*" $flag "*) : |
15597 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15598 |
|
(: CFLAGS already contains $flag) 2>&5 |
15599 |
|
ac_status=$? |
15600 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15601 |
< |
test $ac_status = 0; } |
15602 |
< |
;; |
15603 |
< |
*) |
15604 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15605 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15601 |
> |
test $ac_status = 0; } ;; #( |
15602 |
> |
*) : |
15603 |
> |
|
15604 |
> |
as_fn_append CFLAGS " $flag" |
15605 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15606 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15607 |
|
ac_status=$? |
15608 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15609 |
|
test $ac_status = 0; } |
15610 |
< |
CFLAGS="$CFLAGS $flag" |
15611 |
< |
;; |
15612 |
< |
esac |
15610 |
> |
;; |
15611 |
> |
esac |
15612 |
> |
|
15613 |
|
else |
15614 |
< |
CFLAGS="$flag" |
15614 |
> |
|
15615 |
> |
CFLAGS=$flag |
15616 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15617 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15618 |
> |
ac_status=$? |
15619 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15620 |
> |
test $ac_status = 0; } |
15621 |
> |
|
15622 |
|
fi |
15623 |
|
|
15624 |
|
else |
15663 |
|
eval ac_res=\$$as_CACHEVAR |
15664 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15665 |
|
$as_echo "$ac_res" >&6; } |
15666 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15667 |
< |
if ${CFLAGS+:} false; then : |
15668 |
< |
case " $CFLAGS " in |
15669 |
< |
*" $flag "*) |
15670 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15666 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15667 |
> |
|
15668 |
> |
if ${CFLAGS+:} false; then : |
15669 |
> |
|
15670 |
> |
case " $CFLAGS " in #( |
15671 |
> |
*" $flag "*) : |
15672 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15673 |
|
(: CFLAGS already contains $flag) 2>&5 |
15674 |
|
ac_status=$? |
15675 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15676 |
< |
test $ac_status = 0; } |
15677 |
< |
;; |
15678 |
< |
*) |
15679 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15680 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15676 |
> |
test $ac_status = 0; } ;; #( |
15677 |
> |
*) : |
15678 |
> |
|
15679 |
> |
as_fn_append CFLAGS " $flag" |
15680 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15681 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15682 |
|
ac_status=$? |
15683 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15684 |
|
test $ac_status = 0; } |
15685 |
< |
CFLAGS="$CFLAGS $flag" |
15686 |
< |
;; |
15687 |
< |
esac |
15685 |
> |
;; |
15686 |
> |
esac |
15687 |
> |
|
15688 |
|
else |
15689 |
< |
CFLAGS="$flag" |
15689 |
> |
|
15690 |
> |
CFLAGS=$flag |
15691 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15692 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15693 |
> |
ac_status=$? |
15694 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15695 |
> |
test $ac_status = 0; } |
15696 |
> |
|
15697 |
|
fi |
15698 |
|
|
15699 |
|
else |
15738 |
|
eval ac_res=\$$as_CACHEVAR |
15739 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15740 |
|
$as_echo "$ac_res" >&6; } |
15741 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15742 |
< |
if ${CFLAGS+:} false; then : |
15743 |
< |
case " $CFLAGS " in |
15744 |
< |
*" $flag "*) |
15745 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15741 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15742 |
> |
|
15743 |
> |
if ${CFLAGS+:} false; then : |
15744 |
> |
|
15745 |
> |
case " $CFLAGS " in #( |
15746 |
> |
*" $flag "*) : |
15747 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15748 |
|
(: CFLAGS already contains $flag) 2>&5 |
15749 |
|
ac_status=$? |
15750 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15751 |
< |
test $ac_status = 0; } |
15752 |
< |
;; |
15753 |
< |
*) |
15754 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15755 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15751 |
> |
test $ac_status = 0; } ;; #( |
15752 |
> |
*) : |
15753 |
> |
|
15754 |
> |
as_fn_append CFLAGS " $flag" |
15755 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15756 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15757 |
|
ac_status=$? |
15758 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15759 |
|
test $ac_status = 0; } |
15760 |
< |
CFLAGS="$CFLAGS $flag" |
15761 |
< |
;; |
15762 |
< |
esac |
15760 |
> |
;; |
15761 |
> |
esac |
15762 |
> |
|
15763 |
|
else |
15764 |
< |
CFLAGS="$flag" |
15764 |
> |
|
15765 |
> |
CFLAGS=$flag |
15766 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15767 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15768 |
> |
ac_status=$? |
15769 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15770 |
> |
test $ac_status = 0; } |
15771 |
> |
|
15772 |
|
fi |
15773 |
|
|
15774 |
|
else |
15813 |
|
eval ac_res=\$$as_CACHEVAR |
15814 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15815 |
|
$as_echo "$ac_res" >&6; } |
15816 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15817 |
< |
if ${CFLAGS+:} false; then : |
15818 |
< |
case " $CFLAGS " in |
15819 |
< |
*" $flag "*) |
15820 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15816 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15817 |
> |
|
15818 |
> |
if ${CFLAGS+:} false; then : |
15819 |
> |
|
15820 |
> |
case " $CFLAGS " in #( |
15821 |
> |
*" $flag "*) : |
15822 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15823 |
|
(: CFLAGS already contains $flag) 2>&5 |
15824 |
|
ac_status=$? |
15825 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15826 |
< |
test $ac_status = 0; } |
15827 |
< |
;; |
15828 |
< |
*) |
15829 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15830 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15826 |
> |
test $ac_status = 0; } ;; #( |
15827 |
> |
*) : |
15828 |
> |
|
15829 |
> |
as_fn_append CFLAGS " $flag" |
15830 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15831 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15832 |
|
ac_status=$? |
15833 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15834 |
|
test $ac_status = 0; } |
15835 |
< |
CFLAGS="$CFLAGS $flag" |
15836 |
< |
;; |
15837 |
< |
esac |
15835 |
> |
;; |
15836 |
> |
esac |
15837 |
> |
|
15838 |
|
else |
15839 |
< |
CFLAGS="$flag" |
15839 |
> |
|
15840 |
> |
CFLAGS=$flag |
15841 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15842 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15843 |
> |
ac_status=$? |
15844 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15845 |
> |
test $ac_status = 0; } |
15846 |
> |
|
15847 |
|
fi |
15848 |
|
|
15849 |
|
else |
15888 |
|
eval ac_res=\$$as_CACHEVAR |
15889 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15890 |
|
$as_echo "$ac_res" >&6; } |
15891 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15892 |
< |
if ${CFLAGS+:} false; then : |
15893 |
< |
case " $CFLAGS " in |
15894 |
< |
*" $flag "*) |
15895 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15891 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15892 |
> |
|
15893 |
> |
if ${CFLAGS+:} false; then : |
15894 |
> |
|
15895 |
> |
case " $CFLAGS " in #( |
15896 |
> |
*" $flag "*) : |
15897 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15898 |
|
(: CFLAGS already contains $flag) 2>&5 |
15899 |
|
ac_status=$? |
15900 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15901 |
< |
test $ac_status = 0; } |
15902 |
< |
;; |
15903 |
< |
*) |
15904 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15905 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15901 |
> |
test $ac_status = 0; } ;; #( |
15902 |
> |
*) : |
15903 |
> |
|
15904 |
> |
as_fn_append CFLAGS " $flag" |
15905 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15906 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15907 |
|
ac_status=$? |
15908 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15909 |
|
test $ac_status = 0; } |
15910 |
< |
CFLAGS="$CFLAGS $flag" |
15911 |
< |
;; |
15912 |
< |
esac |
15910 |
> |
;; |
15911 |
> |
esac |
15912 |
> |
|
15913 |
|
else |
15914 |
< |
CFLAGS="$flag" |
15914 |
> |
|
15915 |
> |
CFLAGS=$flag |
15916 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15917 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15918 |
> |
ac_status=$? |
15919 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15920 |
> |
test $ac_status = 0; } |
15921 |
> |
|
15922 |
|
fi |
15923 |
|
|
15924 |
|
else |
15963 |
|
eval ac_res=\$$as_CACHEVAR |
15964 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15965 |
|
$as_echo "$ac_res" >&6; } |
15966 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15967 |
< |
if ${CFLAGS+:} false; then : |
15968 |
< |
case " $CFLAGS " in |
15969 |
< |
*" $flag "*) |
15970 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15966 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15967 |
> |
|
15968 |
> |
if ${CFLAGS+:} false; then : |
15969 |
> |
|
15970 |
> |
case " $CFLAGS " in #( |
15971 |
> |
*" $flag "*) : |
15972 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15973 |
|
(: CFLAGS already contains $flag) 2>&5 |
15974 |
|
ac_status=$? |
15975 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15976 |
< |
test $ac_status = 0; } |
15977 |
< |
;; |
15978 |
< |
*) |
15979 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15980 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15976 |
> |
test $ac_status = 0; } ;; #( |
15977 |
> |
*) : |
15978 |
> |
|
15979 |
> |
as_fn_append CFLAGS " $flag" |
15980 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15981 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15982 |
|
ac_status=$? |
15983 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15984 |
|
test $ac_status = 0; } |
15985 |
< |
CFLAGS="$CFLAGS $flag" |
15986 |
< |
;; |
15987 |
< |
esac |
15985 |
> |
;; |
15986 |
> |
esac |
15987 |
> |
|
15988 |
|
else |
15989 |
< |
CFLAGS="$flag" |
15989 |
> |
|
15990 |
> |
CFLAGS=$flag |
15991 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15992 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15993 |
> |
ac_status=$? |
15994 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15995 |
> |
test $ac_status = 0; } |
15996 |
> |
|
15997 |
|
fi |
15998 |
|
|
15999 |
|
else |
16038 |
|
eval ac_res=\$$as_CACHEVAR |
16039 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
16040 |
|
$as_echo "$ac_res" >&6; } |
16041 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
16042 |
< |
if ${CFLAGS+:} false; then : |
16043 |
< |
case " $CFLAGS " in |
16044 |
< |
*" $flag "*) |
16045 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16041 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
16042 |
> |
|
16043 |
> |
if ${CFLAGS+:} false; then : |
16044 |
> |
|
16045 |
> |
case " $CFLAGS " in #( |
16046 |
> |
*" $flag "*) : |
16047 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16048 |
|
(: CFLAGS already contains $flag) 2>&5 |
16049 |
|
ac_status=$? |
16050 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16051 |
< |
test $ac_status = 0; } |
16052 |
< |
;; |
16053 |
< |
*) |
16054 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
16055 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
16051 |
> |
test $ac_status = 0; } ;; #( |
16052 |
> |
*) : |
16053 |
> |
|
16054 |
> |
as_fn_append CFLAGS " $flag" |
16055 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16056 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16057 |
|
ac_status=$? |
16058 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16059 |
|
test $ac_status = 0; } |
16060 |
< |
CFLAGS="$CFLAGS $flag" |
16061 |
< |
;; |
16062 |
< |
esac |
16060 |
> |
;; |
16061 |
> |
esac |
16062 |
> |
|
16063 |
|
else |
16064 |
< |
CFLAGS="$flag" |
16064 |
> |
|
16065 |
> |
CFLAGS=$flag |
16066 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16067 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16068 |
> |
ac_status=$? |
16069 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16070 |
> |
test $ac_status = 0; } |
16071 |
> |
|
16072 |
|
fi |
16073 |
|
|
16074 |
|
else |
16113 |
|
eval ac_res=\$$as_CACHEVAR |
16114 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
16115 |
|
$as_echo "$ac_res" >&6; } |
16116 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
16117 |
< |
if ${CFLAGS+:} false; then : |
16118 |
< |
case " $CFLAGS " in |
16119 |
< |
*" $flag "*) |
16120 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16116 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
16117 |
> |
|
16118 |
> |
if ${CFLAGS+:} false; then : |
16119 |
> |
|
16120 |
> |
case " $CFLAGS " in #( |
16121 |
> |
*" $flag "*) : |
16122 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16123 |
|
(: CFLAGS already contains $flag) 2>&5 |
16124 |
|
ac_status=$? |
16125 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16126 |
+ |
test $ac_status = 0; } ;; #( |
16127 |
+ |
*) : |
16128 |
+ |
|
16129 |
+ |
as_fn_append CFLAGS " $flag" |
16130 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16131 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
16132 |
+ |
ac_status=$? |
16133 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16134 |
|
test $ac_status = 0; } |
16135 |
< |
;; |
16136 |
< |
*) |
16137 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
16138 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
16135 |
> |
;; |
16136 |
> |
esac |
16137 |
> |
|
16138 |
> |
else |
16139 |
> |
|
16140 |
> |
CFLAGS=$flag |
16141 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16142 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16143 |
|
ac_status=$? |
16144 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16145 |
|
test $ac_status = 0; } |
16146 |
< |
CFLAGS="$CFLAGS $flag" |
16147 |
< |
;; |
16148 |
< |
esac |
16146 |
> |
|
16147 |
> |
fi |
16148 |
> |
|
16149 |
|
else |
16150 |
< |
CFLAGS="$flag" |
16150 |
> |
: |
16151 |
> |
fi |
16152 |
> |
|
16153 |
> |
done |
16154 |
> |
|
16155 |
> |
|
16156 |
> |
|
16157 |
> |
|
16158 |
> |
|
16159 |
> |
for flag in -Wshift-negative-value; do |
16160 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
16161 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
16162 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
16163 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
16164 |
> |
$as_echo_n "(cached) " >&6 |
16165 |
> |
else |
16166 |
> |
|
16167 |
> |
ax_check_save_flags=$CFLAGS |
16168 |
> |
CFLAGS="$CFLAGS $flag" |
16169 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16170 |
> |
/* end confdefs.h. */ |
16171 |
> |
|
16172 |
> |
int |
16173 |
> |
main () |
16174 |
> |
{ |
16175 |
> |
|
16176 |
> |
; |
16177 |
> |
return 0; |
16178 |
> |
} |
16179 |
> |
_ACEOF |
16180 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
16181 |
> |
eval "$as_CACHEVAR=yes" |
16182 |
> |
else |
16183 |
> |
eval "$as_CACHEVAR=no" |
16184 |
> |
fi |
16185 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16186 |
> |
CFLAGS=$ax_check_save_flags |
16187 |
> |
fi |
16188 |
> |
eval ac_res=\$$as_CACHEVAR |
16189 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
16190 |
> |
$as_echo "$ac_res" >&6; } |
16191 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
16192 |
> |
|
16193 |
> |
if ${CFLAGS+:} false; then : |
16194 |
> |
|
16195 |
> |
case " $CFLAGS " in #( |
16196 |
> |
*" $flag "*) : |
16197 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16198 |
> |
(: CFLAGS already contains $flag) 2>&5 |
16199 |
> |
ac_status=$? |
16200 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16201 |
> |
test $ac_status = 0; } ;; #( |
16202 |
> |
*) : |
16203 |
> |
|
16204 |
> |
as_fn_append CFLAGS " $flag" |
16205 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16206 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16207 |
> |
ac_status=$? |
16208 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16209 |
> |
test $ac_status = 0; } |
16210 |
> |
;; |
16211 |
> |
esac |
16212 |
> |
|
16213 |
> |
else |
16214 |
> |
|
16215 |
> |
CFLAGS=$flag |
16216 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16217 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16218 |
> |
ac_status=$? |
16219 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16220 |
> |
test $ac_status = 0; } |
16221 |
> |
|
16222 |
|
fi |
16223 |
|
|
16224 |
|
else |
16263 |
|
eval ac_res=\$$as_CACHEVAR |
16264 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
16265 |
|
$as_echo "$ac_res" >&6; } |
16266 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
16267 |
< |
if ${CFLAGS+:} false; then : |
16268 |
< |
case " $CFLAGS " in |
16269 |
< |
*" $flag "*) |
16270 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16266 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
16267 |
> |
|
16268 |
> |
if ${CFLAGS+:} false; then : |
16269 |
> |
|
16270 |
> |
case " $CFLAGS " in #( |
16271 |
> |
*" $flag "*) : |
16272 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16273 |
|
(: CFLAGS already contains $flag) 2>&5 |
16274 |
|
ac_status=$? |
16275 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16276 |
< |
test $ac_status = 0; } |
16277 |
< |
;; |
16278 |
< |
*) |
16279 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
16280 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
16276 |
> |
test $ac_status = 0; } ;; #( |
16277 |
> |
*) : |
16278 |
> |
|
16279 |
> |
as_fn_append CFLAGS " $flag" |
16280 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16281 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16282 |
|
ac_status=$? |
16283 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16284 |
|
test $ac_status = 0; } |
16285 |
< |
CFLAGS="$CFLAGS $flag" |
16286 |
< |
;; |
16287 |
< |
esac |
16285 |
> |
;; |
16286 |
> |
esac |
16287 |
> |
|
16288 |
|
else |
16289 |
< |
CFLAGS="$flag" |
16289 |
> |
|
16290 |
> |
CFLAGS=$flag |
16291 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16292 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16293 |
> |
ac_status=$? |
16294 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16295 |
> |
test $ac_status = 0; } |
16296 |
> |
|
16297 |
|
fi |
16298 |
|
|
16299 |
|
else |
16338 |
|
eval ac_res=\$$as_CACHEVAR |
16339 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
16340 |
|
$as_echo "$ac_res" >&6; } |
16341 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
16342 |
< |
if ${CFLAGS+:} false; then : |
16343 |
< |
case " $CFLAGS " in |
16344 |
< |
*" $flag "*) |
16345 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16341 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
16342 |
> |
|
16343 |
> |
if ${CFLAGS+:} false; then : |
16344 |
> |
|
16345 |
> |
case " $CFLAGS " in #( |
16346 |
> |
*" $flag "*) : |
16347 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16348 |
|
(: CFLAGS already contains $flag) 2>&5 |
16349 |
|
ac_status=$? |
16350 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16351 |
< |
test $ac_status = 0; } |
16352 |
< |
;; |
16353 |
< |
*) |
16354 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
16355 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
16351 |
> |
test $ac_status = 0; } ;; #( |
16352 |
> |
*) : |
16353 |
> |
|
16354 |
> |
as_fn_append CFLAGS " $flag" |
16355 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16356 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16357 |
|
ac_status=$? |
16358 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16359 |
|
test $ac_status = 0; } |
16360 |
< |
CFLAGS="$CFLAGS $flag" |
16361 |
< |
;; |
16362 |
< |
esac |
16360 |
> |
;; |
16361 |
> |
esac |
16362 |
> |
|
16363 |
|
else |
16364 |
< |
CFLAGS="$flag" |
16364 |
> |
|
16365 |
> |
CFLAGS=$flag |
16366 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16367 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16368 |
> |
ac_status=$? |
16369 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16370 |
> |
test $ac_status = 0; } |
16371 |
> |
|
16372 |
|
fi |
16373 |
|
|
16374 |
|
else |
16413 |
|
eval ac_res=\$$as_CACHEVAR |
16414 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
16415 |
|
$as_echo "$ac_res" >&6; } |
16416 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
16417 |
< |
if ${CFLAGS+:} false; then : |
16418 |
< |
case " $CFLAGS " in |
16419 |
< |
*" $flag "*) |
16420 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16416 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
16417 |
> |
|
16418 |
> |
if ${CFLAGS+:} false; then : |
16419 |
> |
|
16420 |
> |
case " $CFLAGS " in #( |
16421 |
> |
*" $flag "*) : |
16422 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16423 |
|
(: CFLAGS already contains $flag) 2>&5 |
16424 |
|
ac_status=$? |
16425 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16426 |
< |
test $ac_status = 0; } |
16427 |
< |
;; |
16428 |
< |
*) |
16429 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
16430 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
16426 |
> |
test $ac_status = 0; } ;; #( |
16427 |
> |
*) : |
16428 |
> |
|
16429 |
> |
as_fn_append CFLAGS " $flag" |
16430 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16431 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16432 |
|
ac_status=$? |
16433 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16434 |
|
test $ac_status = 0; } |
16435 |
< |
CFLAGS="$CFLAGS $flag" |
16436 |
< |
;; |
16437 |
< |
esac |
16435 |
> |
;; |
16436 |
> |
esac |
16437 |
> |
|
16438 |
|
else |
16439 |
< |
CFLAGS="$flag" |
16439 |
> |
|
16440 |
> |
CFLAGS=$flag |
16441 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16442 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16443 |
> |
ac_status=$? |
16444 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16445 |
> |
test $ac_status = 0; } |
16446 |
> |
|
16447 |
|
fi |
16448 |
|
|
16449 |
|
else |
16488 |
|
eval ac_res=\$$as_CACHEVAR |
16489 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
16490 |
|
$as_echo "$ac_res" >&6; } |
16491 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
16492 |
< |
if ${CFLAGS+:} false; then : |
16493 |
< |
case " $CFLAGS " in |
16494 |
< |
*" $flag "*) |
16495 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16491 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
16492 |
> |
|
16493 |
> |
if ${CFLAGS+:} false; then : |
16494 |
> |
|
16495 |
> |
case " $CFLAGS " in #( |
16496 |
> |
*" $flag "*) : |
16497 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16498 |
|
(: CFLAGS already contains $flag) 2>&5 |
16499 |
|
ac_status=$? |
16500 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16501 |
< |
test $ac_status = 0; } |
16502 |
< |
;; |
16503 |
< |
*) |
16504 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
16505 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
16501 |
> |
test $ac_status = 0; } ;; #( |
16502 |
> |
*) : |
16503 |
> |
|
16504 |
> |
as_fn_append CFLAGS " $flag" |
16505 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16506 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16507 |
|
ac_status=$? |
16508 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16509 |
|
test $ac_status = 0; } |
16510 |
< |
CFLAGS="$CFLAGS $flag" |
16511 |
< |
;; |
16512 |
< |
esac |
16510 |
> |
;; |
16511 |
> |
esac |
16512 |
> |
|
16513 |
|
else |
16514 |
< |
CFLAGS="$flag" |
16514 |
> |
|
16515 |
> |
CFLAGS=$flag |
16516 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16517 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16518 |
> |
ac_status=$? |
16519 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16520 |
> |
test $ac_status = 0; } |
16521 |
> |
|
16522 |
|
fi |
16523 |
|
|
16524 |
|
else |
16563 |
|
eval ac_res=\$$as_CACHEVAR |
16564 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
16565 |
|
$as_echo "$ac_res" >&6; } |
16566 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
16567 |
< |
if ${CFLAGS+:} false; then : |
16568 |
< |
case " $CFLAGS " in |
16569 |
< |
*" $flag "*) |
16570 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16566 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
16567 |
> |
|
16568 |
> |
if ${CFLAGS+:} false; then : |
16569 |
> |
|
16570 |
> |
case " $CFLAGS " in #( |
16571 |
> |
*" $flag "*) : |
16572 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16573 |
|
(: CFLAGS already contains $flag) 2>&5 |
16574 |
|
ac_status=$? |
16575 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16576 |
< |
test $ac_status = 0; } |
16577 |
< |
;; |
16578 |
< |
*) |
16579 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
16580 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
16576 |
> |
test $ac_status = 0; } ;; #( |
16577 |
> |
*) : |
16578 |
> |
|
16579 |
> |
as_fn_append CFLAGS " $flag" |
16580 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16581 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16582 |
|
ac_status=$? |
16583 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16584 |
|
test $ac_status = 0; } |
16585 |
< |
CFLAGS="$CFLAGS $flag" |
16586 |
< |
;; |
16587 |
< |
esac |
16585 |
> |
;; |
16586 |
> |
esac |
16587 |
> |
|
16588 |
|
else |
16589 |
< |
CFLAGS="$flag" |
16589 |
> |
|
16590 |
> |
CFLAGS=$flag |
16591 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16592 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16593 |
> |
ac_status=$? |
16594 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16595 |
> |
test $ac_status = 0; } |
16596 |
> |
|
16597 |
|
fi |
16598 |
|
|
16599 |
|
else |
16602 |
|
|
16603 |
|
done |
16604 |
|
|
16605 |
< |
fi |
16605 |
> |
|
16606 |
> |
fi |
16607 |
|
|
16608 |
|
|
16609 |
< |
# Check whether --enable-openssl was given. |
16610 |
< |
if test "${enable_openssl+set}" = set; then : |
16611 |
< |
enableval=$enable_openssl; cf_enable_openssl=$enableval |
16612 |
< |
else |
16613 |
< |
cf_enable_openssl="auto" |
16609 |
> |
# Check whether --enable-efence was given. |
16610 |
> |
if test "${enable_efence+set}" = set; then : |
16611 |
> |
enableval=$enable_efence; efence="$enableval" |
16612 |
> |
else |
16613 |
> |
efence="no" |
16614 |
|
fi |
16615 |
|
|
16125 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL/OpenSSL" >&5 |
16126 |
– |
$as_echo_n "checking for LibreSSL/OpenSSL... " >&6; } |
16127 |
– |
if test "$cf_enable_openssl" != "no"; then |
16128 |
– |
cf_openssl_basedir="" |
16129 |
– |
if test "$cf_enable_openssl" != "auto" && |
16130 |
– |
test "$cf_enable_openssl" != "yes"; then |
16131 |
– |
cf_openssl_basedir="${cf_enable_openssl}" |
16132 |
– |
else |
16133 |
– |
for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\ |
16134 |
– |
/opt /opt/openssl /usr/local/openssl; do |
16135 |
– |
if test -f "${dirs}/include/openssl/opensslv.h"; then |
16136 |
– |
cf_openssl_basedir="${dirs}" |
16137 |
– |
break |
16138 |
– |
fi |
16139 |
– |
done |
16140 |
– |
unset dirs |
16141 |
– |
fi |
16616 |
|
|
16617 |
< |
if test ! -z "$cf_openssl_basedir"; then |
16144 |
< |
if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then |
16145 |
< |
CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS" |
16146 |
< |
LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS" |
16147 |
< |
else |
16148 |
< |
cf_openssl_basedir="" |
16149 |
< |
fi |
16150 |
< |
else |
16151 |
< |
if test -f "/usr/include/openssl/opensslv.h"; then |
16152 |
< |
cf_openssl_basedir="/usr" |
16153 |
< |
fi |
16154 |
< |
fi |
16617 |
> |
if test "$efence" = "yes"; then : |
16618 |
|
|
16619 |
< |
if test ! -z "$cf_openssl_basedir"; then |
16620 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
16621 |
< |
$as_echo "$cf_openssl_basedir" >&6; } |
16622 |
< |
cf_enable_openssl="yes" |
16619 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5 |
16620 |
> |
$as_echo_n "checking for library containing EF_Print... " >&6; } |
16621 |
> |
if ${ac_cv_search_EF_Print+:} false; then : |
16622 |
> |
$as_echo_n "(cached) " >&6 |
16623 |
> |
else |
16624 |
> |
ac_func_search_save_LIBS=$LIBS |
16625 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16626 |
> |
/* end confdefs.h. */ |
16627 |
> |
|
16628 |
> |
/* Override any GCC internal prototype to avoid an error. |
16629 |
> |
Use char because int might match the return type of a GCC |
16630 |
> |
builtin and then its argument prototype would still apply. */ |
16631 |
> |
#ifdef __cplusplus |
16632 |
> |
extern "C" |
16633 |
> |
#endif |
16634 |
> |
char EF_Print (); |
16635 |
> |
int |
16636 |
> |
main () |
16637 |
> |
{ |
16638 |
> |
return EF_Print (); |
16639 |
> |
; |
16640 |
> |
return 0; |
16641 |
> |
} |
16642 |
> |
_ACEOF |
16643 |
> |
for ac_lib in '' efence; do |
16644 |
> |
if test -z "$ac_lib"; then |
16645 |
> |
ac_res="none required" |
16646 |
|
else |
16647 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
16648 |
< |
$as_echo "not found. Please check your path." >&6; } |
16163 |
< |
cf_enable_openssl="no" |
16647 |
> |
ac_res=-l$ac_lib |
16648 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
16649 |
|
fi |
16650 |
< |
unset cf_openssl_basedir |
16650 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
16651 |
> |
ac_cv_search_EF_Print=$ac_res |
16652 |
> |
fi |
16653 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
16654 |
> |
conftest$ac_exeext |
16655 |
> |
if ${ac_cv_search_EF_Print+:} false; then : |
16656 |
> |
break |
16657 |
> |
fi |
16658 |
> |
done |
16659 |
> |
if ${ac_cv_search_EF_Print+:} false; then : |
16660 |
> |
|
16661 |
|
else |
16662 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
16168 |
< |
$as_echo "disabled" >&6; } |
16662 |
> |
ac_cv_search_EF_Print=no |
16663 |
|
fi |
16664 |
+ |
rm conftest.$ac_ext |
16665 |
+ |
LIBS=$ac_func_search_save_LIBS |
16666 |
+ |
fi |
16667 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5 |
16668 |
+ |
$as_echo "$ac_cv_search_EF_Print" >&6; } |
16669 |
+ |
ac_res=$ac_cv_search_EF_Print |
16670 |
+ |
if test "$ac_res" != no; then : |
16671 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
16672 |
|
|
16673 |
< |
if test "$cf_enable_openssl" != "no"; then : |
16674 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 0.9.8o and above" >&5 |
16675 |
< |
$as_echo_n "checking for LibreSSL or OpenSSL 0.9.8o and above... " >&6; } |
16676 |
< |
if test "$cross_compiling" = yes; then : |
16677 |
< |
cf_openssl_version_ok=no |
16673 |
> |
else |
16674 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
16675 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
16676 |
> |
as_fn_error $? "Electric Fence 'efence' library not found |
16677 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
16678 |
> |
fi |
16679 |
> |
|
16680 |
> |
|
16681 |
> |
fi |
16682 |
> |
|
16683 |
> |
|
16684 |
> |
|
16685 |
> |
|
16686 |
> |
# Check whether --with-tls was given. |
16687 |
> |
if test "${with_tls+set}" = set; then : |
16688 |
> |
withval=$with_tls; with_tls=$withval |
16689 |
> |
else |
16690 |
> |
with_tls=auto |
16691 |
> |
fi |
16692 |
> |
|
16693 |
> |
|
16694 |
> |
if test "$with_tls" = "openssl" || |
16695 |
> |
test "$with_tls" = "auto"; then |
16696 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "openssl/opensslv.h" "ac_cv_header_openssl_opensslv_h" "$ac_includes_default" |
16697 |
> |
if test "x$ac_cv_header_openssl_opensslv_h" = xyes; then : |
16698 |
> |
|
16699 |
> |
if test "$cross_compiling" = yes; then : |
16700 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
16701 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
16702 |
> |
as_fn_error $? "cannot run test program while cross compiling |
16703 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
16704 |
|
else |
16705 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16706 |
|
/* end confdefs.h. */ |
16707 |
|
|
16708 |
|
|
16709 |
< |
#include <openssl/opensslv.h> |
16710 |
< |
#include <stdlib.h> |
16709 |
> |
#include <openssl/opensslv.h> |
16710 |
> |
#include <stdlib.h> |
16711 |
|
int |
16712 |
|
main () |
16713 |
|
{ |
16714 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL)); |
16714 |
> |
|
16715 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x1010100fL)); |
16716 |
|
; |
16717 |
|
return 0; |
16718 |
|
} |
16719 |
|
_ACEOF |
16720 |
|
if ac_fn_c_try_run "$LINENO"; then : |
16721 |
< |
cf_openssl_version_ok=yes |
16193 |
< |
else |
16194 |
< |
cf_openssl_version_ok=no |
16195 |
< |
fi |
16196 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
16197 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
16198 |
< |
fi |
16199 |
< |
|
16200 |
< |
|
16201 |
< |
if test "$cf_openssl_version_ok" = "yes"; then : |
16202 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
16203 |
< |
$as_echo "found" >&6; } |
16204 |
< |
|
16205 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
16721 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
16722 |
|
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
16723 |
|
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
16724 |
|
$as_echo_n "(cached) " >&6 |
16763 |
|
|
16764 |
|
fi |
16765 |
|
|
16766 |
+ |
fi |
16767 |
+ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
16768 |
+ |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
16769 |
+ |
fi |
16770 |
+ |
|
16771 |
+ |
fi |
16772 |
+ |
|
16773 |
+ |
|
16774 |
+ |
|
16775 |
|
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
16776 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
16777 |
|
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
16820 |
|
|
16821 |
|
fi |
16822 |
|
|
16823 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL, or OpenSSL 1.1.1 and above" >&5 |
16824 |
+ |
$as_echo_n "checking for LibreSSL, or OpenSSL 1.1.1 and above... " >&6; } |
16825 |
+ |
if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then : |
16826 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
16827 |
+ |
$as_echo "found" >&6; } |
16828 |
|
else |
16829 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5 |
16830 |
|
$as_echo "no - LibreSSL/OpenSSL support disabled" >&6; } |
16301 |
– |
cf_enable_openssl="no" |
16831 |
|
fi |
16832 |
+ |
|
16833 |
+ |
fi |
16834 |
+ |
|
16835 |
+ |
if test "$with_tls" = "gnutls" || |
16836 |
+ |
test "$with_tls" = "auto"; then |
16837 |
+ |
if test "$ac_cv_lib_ssl_SSL_connect" != "yes"; then |
16838 |
+ |
|
16839 |
+ |
ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default" |
16840 |
+ |
if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then : |
16841 |
+ |
|
16842 |
+ |
if test "$cross_compiling" = yes; then : |
16843 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
16844 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
16845 |
+ |
as_fn_error $? "cannot run test program while cross compiling |
16846 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
16847 |
+ |
else |
16848 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16849 |
+ |
/* end confdefs.h. */ |
16850 |
+ |
|
16851 |
+ |
|
16852 |
+ |
#include <gnutls/gnutls.h> |
16853 |
+ |
#include <stdlib.h> |
16854 |
+ |
int |
16855 |
+ |
main () |
16856 |
+ |
{ |
16857 |
+ |
|
16858 |
+ |
exit(!(GNUTLS_VERSION_NUMBER >= 0x030605)); |
16859 |
+ |
; |
16860 |
+ |
return 0; |
16861 |
+ |
} |
16862 |
+ |
_ACEOF |
16863 |
+ |
if ac_fn_c_try_run "$LINENO"; then : |
16864 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_init in -lgnutls" >&5 |
16865 |
+ |
$as_echo_n "checking for gnutls_init in -lgnutls... " >&6; } |
16866 |
+ |
if ${ac_cv_lib_gnutls_gnutls_init+:} false; then : |
16867 |
+ |
$as_echo_n "(cached) " >&6 |
16868 |
+ |
else |
16869 |
+ |
ac_check_lib_save_LIBS=$LIBS |
16870 |
+ |
LIBS="-lgnutls $LIBS" |
16871 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16872 |
+ |
/* end confdefs.h. */ |
16873 |
+ |
|
16874 |
+ |
/* Override any GCC internal prototype to avoid an error. |
16875 |
+ |
Use char because int might match the return type of a GCC |
16876 |
+ |
builtin and then its argument prototype would still apply. */ |
16877 |
+ |
#ifdef __cplusplus |
16878 |
+ |
extern "C" |
16879 |
+ |
#endif |
16880 |
+ |
char gnutls_init (); |
16881 |
+ |
int |
16882 |
+ |
main () |
16883 |
+ |
{ |
16884 |
+ |
return gnutls_init (); |
16885 |
+ |
; |
16886 |
+ |
return 0; |
16887 |
+ |
} |
16888 |
+ |
_ACEOF |
16889 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
16890 |
+ |
ac_cv_lib_gnutls_gnutls_init=yes |
16891 |
+ |
else |
16892 |
+ |
ac_cv_lib_gnutls_gnutls_init=no |
16893 |
+ |
fi |
16894 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
16895 |
+ |
conftest$ac_exeext conftest.$ac_ext |
16896 |
+ |
LIBS=$ac_check_lib_save_LIBS |
16897 |
|
fi |
16898 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_init" >&5 |
16899 |
+ |
$as_echo "$ac_cv_lib_gnutls_gnutls_init" >&6; } |
16900 |
+ |
if test "x$ac_cv_lib_gnutls_gnutls_init" = xyes; then : |
16901 |
+ |
cat >>confdefs.h <<_ACEOF |
16902 |
+ |
#define HAVE_LIBGNUTLS 1 |
16903 |
+ |
_ACEOF |
16904 |
+ |
|
16905 |
+ |
LIBS="-lgnutls $LIBS" |
16906 |
|
|
16907 |
< |
if test "$ac_cv_lib_ssl_SSL_connect" = yes; then |
16908 |
< |
ENABLE_SSL_TRUE= |
16909 |
< |
ENABLE_SSL_FALSE='#' |
16907 |
> |
fi |
16908 |
> |
|
16909 |
> |
fi |
16910 |
> |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
16911 |
> |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
16912 |
> |
fi |
16913 |
> |
|
16914 |
> |
fi |
16915 |
> |
|
16916 |
> |
|
16917 |
> |
|
16918 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GnuTLS 3.6.5 and above" >&5 |
16919 |
> |
$as_echo_n "checking for GnuTLS 3.6.5 and above... " >&6; } |
16920 |
> |
if test "$ac_cv_lib_gnutls_gnutls_init" = "yes"; then : |
16921 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
16922 |
> |
$as_echo "found" >&6; } |
16923 |
|
else |
16924 |
< |
ENABLE_SSL_TRUE='#' |
16925 |
< |
ENABLE_SSL_FALSE= |
16924 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - GnuTLS support disabled" >&5 |
16925 |
> |
$as_echo "no - GnuTLS support disabled" >&6; } |
16926 |
|
fi |
16927 |
|
|
16928 |
+ |
fi |
16929 |
+ |
fi |
16930 |
|
|
16931 |
+ |
if test "$with_tls" = "wolfssl" || |
16932 |
+ |
test "$with_tls" = "auto"; then |
16933 |
+ |
if test "$ac_cv_lib_ssl_SSL_connect" != "yes" && |
16934 |
+ |
test "$ac_cv_lib_gnutls_gnutls_init" != "yes"; then |
16935 |
|
|
16936 |
< |
# Check whether --enable-libgeoip was given. |
16937 |
< |
if test "${enable_libgeoip+set}" = set; then : |
16938 |
< |
enableval=$enable_libgeoip; |
16936 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "wolfssl/ssl.h" "ac_cv_header_wolfssl_ssl_h" "$ac_includes_default" |
16937 |
> |
if test "x$ac_cv_header_wolfssl_ssl_h" = xyes; then : |
16938 |
> |
|
16939 |
> |
if test "$cross_compiling" = yes; then : |
16940 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
16941 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
16942 |
> |
as_fn_error $? "cannot run test program while cross compiling |
16943 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
16944 |
|
else |
16945 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
16946 |
< |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
16947 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
16948 |
< |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
16949 |
< |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
16945 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16946 |
> |
/* end confdefs.h. */ |
16947 |
> |
|
16948 |
> |
|
16949 |
> |
#include <wolfssl/version.h> |
16950 |
> |
#include <stdlib.h> |
16951 |
> |
int |
16952 |
> |
main () |
16953 |
> |
{ |
16954 |
> |
|
16955 |
> |
exit(!(LIBWOLFSSL_VERSION_HEX >= 0x04003000)); |
16956 |
> |
; |
16957 |
> |
return 0; |
16958 |
> |
} |
16959 |
> |
_ACEOF |
16960 |
> |
if ac_fn_c_try_run "$LINENO"; then : |
16961 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfSSL_X509_digest in -lwolfssl" >&5 |
16962 |
> |
$as_echo_n "checking for wolfSSL_X509_digest in -lwolfssl... " >&6; } |
16963 |
> |
if ${ac_cv_lib_wolfssl_wolfSSL_X509_digest+:} false; then : |
16964 |
|
$as_echo_n "(cached) " >&6 |
16965 |
|
else |
16966 |
< |
ac_func_search_save_LIBS=$LIBS |
16966 |
> |
ac_check_lib_save_LIBS=$LIBS |
16967 |
> |
LIBS="-lwolfssl $LIBS" |
16968 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16969 |
|
/* end confdefs.h. */ |
16970 |
|
|
16974 |
|
#ifdef __cplusplus |
16975 |
|
extern "C" |
16976 |
|
#endif |
16977 |
< |
char GeoIP_id_by_ipnum_v6_gl (); |
16977 |
> |
char wolfSSL_X509_digest (); |
16978 |
|
int |
16979 |
|
main () |
16980 |
|
{ |
16981 |
< |
return GeoIP_id_by_ipnum_v6_gl (); |
16981 |
> |
return wolfSSL_X509_digest (); |
16982 |
|
; |
16983 |
|
return 0; |
16984 |
|
} |
16985 |
|
_ACEOF |
16986 |
< |
for ac_lib in '' GeoIP; do |
16987 |
< |
if test -z "$ac_lib"; then |
16988 |
< |
ac_res="none required" |
16989 |
< |
else |
16349 |
< |
ac_res=-l$ac_lib |
16350 |
< |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
16351 |
< |
fi |
16352 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
16353 |
< |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
16986 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
16987 |
> |
ac_cv_lib_wolfssl_wolfSSL_X509_digest=yes |
16988 |
> |
else |
16989 |
> |
ac_cv_lib_wolfssl_wolfSSL_X509_digest=no |
16990 |
|
fi |
16991 |
|
rm -f core conftest.err conftest.$ac_objext \ |
16992 |
< |
conftest$ac_exeext |
16993 |
< |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
16358 |
< |
break |
16992 |
> |
conftest$ac_exeext conftest.$ac_ext |
16993 |
> |
LIBS=$ac_check_lib_save_LIBS |
16994 |
|
fi |
16995 |
< |
done |
16996 |
< |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
16995 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wolfssl_wolfSSL_X509_digest" >&5 |
16996 |
> |
$as_echo "$ac_cv_lib_wolfssl_wolfSSL_X509_digest" >&6; } |
16997 |
> |
if test "x$ac_cv_lib_wolfssl_wolfSSL_X509_digest" = xyes; then : |
16998 |
> |
cat >>confdefs.h <<_ACEOF |
16999 |
> |
#define HAVE_LIBWOLFSSL 1 |
17000 |
> |
_ACEOF |
17001 |
> |
|
17002 |
> |
LIBS="-lwolfssl $LIBS" |
17003 |
|
|
16363 |
– |
else |
16364 |
– |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
17004 |
|
fi |
17005 |
< |
rm conftest.$ac_ext |
17006 |
< |
LIBS=$ac_func_search_save_LIBS |
17005 |
> |
|
17006 |
> |
fi |
17007 |
> |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
17008 |
> |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
17009 |
> |
fi |
17010 |
> |
|
17011 |
|
fi |
16369 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
16370 |
– |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
16371 |
– |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
16372 |
– |
if test "$ac_res" != no; then : |
16373 |
– |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
17012 |
|
|
16375 |
– |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
17013 |
|
|
17014 |
+ |
|
17015 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfSSL 4.3.0 and above built with extended/full OpenSSL compatibility layer" >&5 |
17016 |
+ |
$as_echo_n "checking for wolfSSL 4.3.0 and above built with extended/full OpenSSL compatibility layer... " >&6; } |
17017 |
+ |
if test "$ac_cv_lib_wolfssl_wolfSSL_X509_digest" = "yes"; then : |
17018 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
17019 |
+ |
$as_echo "found" >&6; } |
17020 |
+ |
else |
17021 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - wolfSSL support disabled" >&5 |
17022 |
+ |
$as_echo "no - wolfSSL support disabled" >&6; } |
17023 |
|
fi |
17024 |
|
|
17025 |
+ |
fi |
17026 |
|
fi |
17027 |
|
|
17028 |
|
|
17029 |
+ |
|
17030 |
+ |
# Disable -Wformat-truncation |
17031 |
+ |
|
17032 |
+ |
|
17033 |
+ |
|
17034 |
+ |
|
17035 |
+ |
for flag in -Wno-format-truncation; do |
17036 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
17037 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
17038 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
17039 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
17040 |
+ |
$as_echo_n "(cached) " >&6 |
17041 |
+ |
else |
17042 |
+ |
|
17043 |
+ |
ax_check_save_flags=$CFLAGS |
17044 |
+ |
CFLAGS="$CFLAGS $flag" |
17045 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
17046 |
+ |
/* end confdefs.h. */ |
17047 |
+ |
|
17048 |
+ |
int |
17049 |
+ |
main () |
17050 |
+ |
{ |
17051 |
+ |
|
17052 |
+ |
; |
17053 |
+ |
return 0; |
17054 |
+ |
} |
17055 |
+ |
_ACEOF |
17056 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
17057 |
+ |
eval "$as_CACHEVAR=yes" |
17058 |
+ |
else |
17059 |
+ |
eval "$as_CACHEVAR=no" |
17060 |
|
fi |
17061 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
17062 |
+ |
CFLAGS=$ax_check_save_flags |
17063 |
+ |
fi |
17064 |
+ |
eval ac_res=\$$as_CACHEVAR |
17065 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
17066 |
+ |
$as_echo "$ac_res" >&6; } |
17067 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
17068 |
|
|
17069 |
+ |
if ${CFLAGS+:} false; then : |
17070 |
+ |
|
17071 |
+ |
case " $CFLAGS " in #( |
17072 |
+ |
*" $flag "*) : |
17073 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
17074 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
17075 |
+ |
ac_status=$? |
17076 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
17077 |
+ |
test $ac_status = 0; } ;; #( |
17078 |
+ |
*) : |
17079 |
+ |
|
17080 |
+ |
as_fn_append CFLAGS " $flag" |
17081 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
17082 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
17083 |
+ |
ac_status=$? |
17084 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
17085 |
+ |
test $ac_status = 0; } |
17086 |
+ |
;; |
17087 |
+ |
esac |
17088 |
+ |
|
17089 |
+ |
else |
17090 |
+ |
|
17091 |
+ |
CFLAGS=$flag |
17092 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
17093 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
17094 |
+ |
ac_status=$? |
17095 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
17096 |
+ |
test $ac_status = 0; } |
17097 |
+ |
|
17098 |
+ |
fi |
17099 |
+ |
|
17100 |
+ |
else |
17101 |
+ |
: |
17102 |
+ |
fi |
17103 |
+ |
|
17104 |
+ |
done |
17105 |
|
|
17106 |
|
|
17107 |
|
|
17356 |
|
|
17357 |
|
|
17358 |
|
|
16638 |
– |
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
16639 |
– |
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
16640 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
16641 |
– |
fi |
17359 |
|
|
17360 |
|
: "${CONFIG_STATUS=./config.status}" |
17361 |
|
ac_write_fail=0 |
17938 |
|
# |
17939 |
|
# INIT-COMMANDS |
17940 |
|
# |
17941 |
< |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
17941 |
> |
AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" |
17942 |
|
|
17943 |
|
|
17944 |
|
# The HP-UX ksh and POSIX shell print the target directory to stdout |
18075 |
|
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
18076 |
|
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
18077 |
|
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
18078 |
< |
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
18078 |
> |
configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' |
18079 |
> |
configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' |
18080 |
|
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
18081 |
|
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
18082 |
|
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
18194 |
|
postuninstall_cmds \ |
18195 |
|
finish_cmds \ |
18196 |
|
sys_lib_search_path_spec \ |
18197 |
< |
sys_lib_dlsearch_path_spec; do |
18197 |
> |
configure_time_dlsearch_path \ |
18198 |
> |
configure_time_lt_sys_library_path; do |
18199 |
|
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
18200 |
|
*[\\\\\\\`\\"\\\$]*) |
18201 |
|
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
18842 |
|
# Older Autoconf quotes --file arguments for eval, but not when files |
18843 |
|
# are listed without --file. Let's play safe and only enable the eval |
18844 |
|
# if we detect the quoting. |
18845 |
< |
case $CONFIG_FILES in |
18846 |
< |
*\'*) eval set x "$CONFIG_FILES" ;; |
18847 |
< |
*) set x $CONFIG_FILES ;; |
18848 |
< |
esac |
18845 |
> |
# TODO: see whether this extra hack can be removed once we start |
18846 |
> |
# requiring Autoconf 2.70 or later. |
18847 |
> |
case $CONFIG_FILES in #( |
18848 |
> |
*\'*) : |
18849 |
> |
eval set x "$CONFIG_FILES" ;; #( |
18850 |
> |
*) : |
18851 |
> |
set x $CONFIG_FILES ;; #( |
18852 |
> |
*) : |
18853 |
> |
;; |
18854 |
> |
esac |
18855 |
|
shift |
18856 |
< |
for mf |
18856 |
> |
# Used to flag and report bootstrapping failures. |
18857 |
> |
am_rc=0 |
18858 |
> |
for am_mf |
18859 |
|
do |
18860 |
|
# Strip MF so we end up with the name of the file. |
18861 |
< |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
18862 |
< |
# Check whether this is an Automake generated Makefile or not. |
18863 |
< |
# We used to match only the files named 'Makefile.in', but |
18864 |
< |
# some people rename them; so instead we look at the file content. |
18138 |
< |
# Grep'ing the first line is not enough: some people post-process |
18139 |
< |
# each Makefile.in and add a new line on top of each file to say so. |
18140 |
< |
# Grep'ing the whole file is not good either: AIX grep has a line |
18861 |
> |
am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` |
18862 |
> |
# Check whether this is an Automake generated Makefile which includes |
18863 |
> |
# dependency-tracking related rules and includes. |
18864 |
> |
# Grep'ing the whole file directly is not great: AIX grep has a line |
18865 |
|
# limit of 2048, but all sed's we know have understand at least 4000. |
18866 |
< |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
18867 |
< |
dirpart=`$as_dirname -- "$mf" || |
18868 |
< |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
18869 |
< |
X"$mf" : 'X\(//\)[^/]' \| \ |
18870 |
< |
X"$mf" : 'X\(//\)$' \| \ |
18871 |
< |
X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
18872 |
< |
$as_echo X"$mf" | |
18866 |
> |
sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ |
18867 |
> |
|| continue |
18868 |
> |
am_dirpart=`$as_dirname -- "$am_mf" || |
18869 |
> |
$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
18870 |
> |
X"$am_mf" : 'X\(//\)[^/]' \| \ |
18871 |
> |
X"$am_mf" : 'X\(//\)$' \| \ |
18872 |
> |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
18873 |
> |
$as_echo X"$am_mf" | |
18874 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
18875 |
|
s//\1/ |
18876 |
|
q |
18888 |
|
q |
18889 |
|
} |
18890 |
|
s/.*/./; q'` |
18891 |
< |
else |
18892 |
< |
continue |
18893 |
< |
fi |
18894 |
< |
# Extract the definition of DEPDIR, am__include, and am__quote |
18895 |
< |
# from the Makefile without running 'make'. |
18896 |
< |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
18172 |
< |
test -z "$DEPDIR" && continue |
18173 |
< |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
18174 |
< |
test -z "$am__include" && continue |
18175 |
< |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
18176 |
< |
# Find all dependency output files, they are included files with |
18177 |
< |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
18178 |
< |
# simplest approach to changing $(DEPDIR) to its actual value in the |
18179 |
< |
# expansion. |
18180 |
< |
for file in `sed -n " |
18181 |
< |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
18182 |
< |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
18183 |
< |
# Make sure the directory exists. |
18184 |
< |
test -f "$dirpart/$file" && continue |
18185 |
< |
fdir=`$as_dirname -- "$file" || |
18186 |
< |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
18187 |
< |
X"$file" : 'X\(//\)[^/]' \| \ |
18188 |
< |
X"$file" : 'X\(//\)$' \| \ |
18189 |
< |
X"$file" : 'X\(/\)' \| . 2>/dev/null || |
18190 |
< |
$as_echo X"$file" | |
18191 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
18192 |
< |
s//\1/ |
18193 |
< |
q |
18194 |
< |
} |
18195 |
< |
/^X\(\/\/\)[^/].*/{ |
18891 |
> |
am_filepart=`$as_basename -- "$am_mf" || |
18892 |
> |
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ |
18893 |
> |
X"$am_mf" : 'X\(//\)$' \| \ |
18894 |
> |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
18895 |
> |
$as_echo X/"$am_mf" | |
18896 |
> |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
18897 |
|
s//\1/ |
18898 |
|
q |
18899 |
|
} |
18900 |
< |
/^X\(\/\/\)$/{ |
18900 |
> |
/^X\/\(\/\/\)$/{ |
18901 |
|
s//\1/ |
18902 |
|
q |
18903 |
|
} |
18904 |
< |
/^X\(\/\).*/{ |
18904 |
> |
/^X\/\(\/\).*/{ |
18905 |
|
s//\1/ |
18906 |
|
q |
18907 |
|
} |
18908 |
|
s/.*/./; q'` |
18909 |
< |
as_dir=$dirpart/$fdir; as_fn_mkdir_p |
18910 |
< |
# echo "creating $dirpart/$file" |
18911 |
< |
echo '# dummy' > "$dirpart/$file" |
18912 |
< |
done |
18909 |
> |
{ echo "$as_me:$LINENO: cd "$am_dirpart" \ |
18910 |
> |
&& sed -e '/# am--include-marker/d' "$am_filepart" \ |
18911 |
> |
| $MAKE -f - am--depfiles" >&5 |
18912 |
> |
(cd "$am_dirpart" \ |
18913 |
> |
&& sed -e '/# am--include-marker/d' "$am_filepart" \ |
18914 |
> |
| $MAKE -f - am--depfiles) >&5 2>&5 |
18915 |
> |
ac_status=$? |
18916 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18917 |
> |
(exit $ac_status); } || am_rc=$? |
18918 |
|
done |
18919 |
+ |
if test $am_rc -ne 0; then |
18920 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
18921 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
18922 |
+ |
as_fn_error $? "Something went wrong bootstrapping makefile fragments |
18923 |
+ |
for automatic dependency tracking. Try re-running configure with the |
18924 |
+ |
'--disable-dependency-tracking' option to at least be able to build |
18925 |
+ |
the package (albeit without support for automatic dependency tracking). |
18926 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
18927 |
+ |
fi |
18928 |
+ |
{ am_dirpart=; unset am_dirpart;} |
18929 |
+ |
{ am_filepart=; unset am_filepart;} |
18930 |
+ |
{ am_mf=; unset am_mf;} |
18931 |
+ |
{ am_rc=; unset am_rc;} |
18932 |
+ |
rm -f conftest-deps.mk |
18933 |
|
} |
18934 |
|
;; |
18935 |
|
"libtool":C) |
18947 |
|
cat <<_LT_EOF >> "$cfgfile" |
18948 |
|
#! $SHELL |
18949 |
|
# Generated automatically by $as_me ($PACKAGE) $VERSION |
18230 |
– |
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
18950 |
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
18951 |
|
|
18952 |
|
# Provide generalized library-building support services. |
18978 |
|
# The names of the tagged configurations supported by this script. |
18979 |
|
available_tags='' |
18980 |
|
|
18981 |
+ |
# Configured defaults for sys_lib_dlsearch_path munging. |
18982 |
+ |
: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} |
18983 |
+ |
|
18984 |
|
# ### BEGIN LIBTOOL CONFIG |
18985 |
|
|
18986 |
|
# Which release of libtool.m4 was used? |
19230 |
|
# Compile-time system search path for libraries. |
19231 |
|
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
19232 |
|
|
19233 |
< |
# Run-time system search path for libraries. |
19234 |
< |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
19233 |
> |
# Detected run-time system search path for libraries. |
19234 |
> |
sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path |
19235 |
> |
|
19236 |
> |
# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. |
19237 |
> |
configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path |
19238 |
|
|
19239 |
|
# Whether dlopen is supported. |
19240 |
|
dlopen_support=$enable_dlopen |
19385 |
|
|
19386 |
|
_LT_EOF |
19387 |
|
|
19388 |
+ |
cat <<'_LT_EOF' >> "$cfgfile" |
19389 |
+ |
|
19390 |
+ |
# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE |
19391 |
+ |
|
19392 |
+ |
# func_munge_path_list VARIABLE PATH |
19393 |
+ |
# ----------------------------------- |
19394 |
+ |
# VARIABLE is name of variable containing _space_ separated list of |
19395 |
+ |
# directories to be munged by the contents of PATH, which is string |
19396 |
+ |
# having a format: |
19397 |
+ |
# "DIR[:DIR]:" |
19398 |
+ |
# string "DIR[ DIR]" will be prepended to VARIABLE |
19399 |
+ |
# ":DIR[:DIR]" |
19400 |
+ |
# string "DIR[ DIR]" will be appended to VARIABLE |
19401 |
+ |
# "DIRP[:DIRP]::[DIRA:]DIRA" |
19402 |
+ |
# string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
19403 |
+ |
# "DIRA[ DIRA]" will be appended to VARIABLE |
19404 |
+ |
# "DIR[:DIR]" |
19405 |
+ |
# VARIABLE will be replaced by "DIR[ DIR]" |
19406 |
+ |
func_munge_path_list () |
19407 |
+ |
{ |
19408 |
+ |
case x$2 in |
19409 |
+ |
x) |
19410 |
+ |
;; |
19411 |
+ |
*:) |
19412 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
19413 |
+ |
;; |
19414 |
+ |
x:*) |
19415 |
+ |
eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
19416 |
+ |
;; |
19417 |
+ |
*::*) |
19418 |
+ |
eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
19419 |
+ |
eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
19420 |
+ |
;; |
19421 |
+ |
*) |
19422 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
19423 |
+ |
;; |
19424 |
+ |
esac |
19425 |
+ |
} |
19426 |
+ |
|
19427 |
+ |
|
19428 |
+ |
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
19429 |
+ |
func_cc_basename () |
19430 |
+ |
{ |
19431 |
+ |
for cc_temp in $*""; do |
19432 |
+ |
case $cc_temp in |
19433 |
+ |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
19434 |
+ |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
19435 |
+ |
\-*) ;; |
19436 |
+ |
*) break;; |
19437 |
+ |
esac |
19438 |
+ |
done |
19439 |
+ |
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
19440 |
+ |
} |
19441 |
+ |
|
19442 |
+ |
|
19443 |
+ |
# ### END FUNCTIONS SHARED WITH CONFIGURE |
19444 |
+ |
|
19445 |
+ |
_LT_EOF |
19446 |
+ |
|
19447 |
|
case $host_os in |
19448 |
|
aix3*) |
19449 |
|
cat <<\_LT_EOF >> "$cfgfile" |
19512 |
|
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
19513 |
|
fi |
19514 |
|
|
19515 |
+ |
|
19516 |
+ |
echo "###############################################################################" |
19517 |
+ |
echo "Configuration complete. Type make (or gmake on some *BSD machines) to compile." |
19518 |
+ |
echo |
19519 |
+ |
echo "ircd-hybrid will be installed in ${prefix}. To change this, run:" |
19520 |
+ |
echo " ./configure --prefix=DIRECTORY" |
19521 |
+ |
echo "###############################################################################" |