1 |
|
#! /bin/sh |
2 |
< |
# From configure.ac Id: configure.ac 4901 2014-11-22 18:31:53Z michael . |
2 |
> |
# From configure.ac Id: configure.ac 7668 2016-07-20 17:09:49Z michael . |
3 |
|
# Guess values for system-dependent variables and create Makefiles. |
4 |
< |
# Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.1. |
4 |
> |
# Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK. |
5 |
|
# |
6 |
|
# Report bugs to <bugs@ircd-hybrid.org>. |
7 |
|
# |
593 |
|
# Identity of this package. |
594 |
|
PACKAGE_NAME='ircd-hybrid' |
595 |
|
PACKAGE_TARNAME='ircd-hybrid' |
596 |
< |
PACKAGE_VERSION='8.2.1' |
597 |
< |
PACKAGE_STRING='ircd-hybrid 8.2.1' |
596 |
> |
PACKAGE_VERSION='TRUNK' |
597 |
> |
PACKAGE_STRING='ircd-hybrid TRUNK' |
598 |
|
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
599 |
|
PACKAGE_URL='' |
600 |
|
|
648 |
|
LIBDIR |
649 |
|
SYSCONFDIR |
650 |
|
PREFIX |
651 |
– |
ENABLE_SSL_FALSE |
652 |
– |
ENABLE_SSL_TRUE |
651 |
|
LTDLOPEN |
652 |
|
LT_CONFIG_H |
653 |
|
CONVENIENCE_LTDL_FALSE |
654 |
|
CONVENIENCE_LTDL_TRUE |
655 |
|
INSTALL_LTDL_FALSE |
656 |
|
INSTALL_LTDL_TRUE |
657 |
< |
ARGZ_H |
657 |
> |
LT_ARGZ_H |
658 |
|
sys_symbol_underscore |
659 |
|
LIBADD_DL |
660 |
|
LT_DLPREOPEN |
667 |
|
LTDLDEPS |
668 |
|
LIBLTDL |
669 |
|
CPP |
670 |
+ |
LT_SYS_LIBRARY_PATH |
671 |
|
OTOOL64 |
672 |
|
OTOOL |
673 |
|
LIPO |
797 |
|
enable_shared |
798 |
|
with_pic |
799 |
|
enable_fast_install |
800 |
+ |
with_aix_soname |
801 |
|
with_gnu_ld |
802 |
|
with_sysroot |
803 |
|
enable_libtool_lock |
805 |
|
with_ltdl_include |
806 |
|
with_ltdl_lib |
807 |
|
enable_ltdl_install |
808 |
– |
enable_libgeoip |
809 |
– |
enable_assert |
808 |
|
enable_kqueue |
809 |
|
enable_epoll |
810 |
|
enable_devpoll |
811 |
|
enable_poll |
812 |
+ |
enable_assert |
813 |
|
enable_debugging |
814 |
|
enable_warnings |
815 |
|
enable_openssl |
816 |
+ |
enable_gnutls |
817 |
+ |
enable_libgeoip |
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 |
|
|
1368 |
|
# Omit some internal or obsolete options to make the list less imposing. |
1369 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
1370 |
|
cat <<_ACEOF |
1371 |
< |
\`configure' configures ircd-hybrid 8.2.1 to adapt to many kinds of systems. |
1371 |
> |
\`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems. |
1372 |
|
|
1373 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
1374 |
|
|
1438 |
|
|
1439 |
|
if test -n "$ac_init_help"; then |
1440 |
|
case $ac_init_help in |
1441 |
< |
short | recursive ) echo "Configuration of ircd-hybrid 8.2.1:";; |
1441 |
> |
short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";; |
1442 |
|
esac |
1443 |
|
cat <<\_ACEOF |
1444 |
|
|
1461 |
|
optimize for fast installation [default=yes] |
1462 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
1463 |
|
--enable-ltdl-install install libltdl |
1462 |
– |
--disable-libgeoip Disable GeoIP support |
1463 |
– |
--enable-assert Enable assert() statements |
1464 |
|
--enable-kqueue Force kqueue usage. |
1465 |
|
--enable-epoll Force epoll usage. |
1466 |
|
--enable-devpoll Force devpoll usage. |
1467 |
|
--enable-poll Force poll usage. |
1468 |
+ |
--enable-assert Enable assert() statements |
1469 |
|
--enable-debugging Enable debugging. |
1470 |
|
--enable-warnings Enable compiler warnings. |
1471 |
|
--enable-openssl=DIR Enable LibreSSL/OpenSSL support (DIR optional). |
1472 |
|
--disable-openssl Disable LibreSSL/OpenSSL support. |
1473 |
+ |
--enable-gnutls Enable GnuTLS support. |
1474 |
+ |
--disable-gnutls Disable GnuTLS support. |
1475 |
+ |
--disable-libgeoip Disable GeoIP support |
1476 |
|
|
1477 |
|
Optional Packages: |
1478 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1479 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1480 |
|
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
1481 |
|
both] |
1482 |
+ |
--with-aix-soname=aix|svr4|both |
1483 |
+ |
shared library versioning (aka "SONAME") variant to |
1484 |
+ |
provide on AIX, [default=aix]. |
1485 |
|
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1486 |
|
--with-sysroot[=DIR] Search for dependent libraries within DIR (or the |
1487 |
|
compiler's sysroot if not specified). |
1503 |
|
YFLAGS The list of arguments that will be passed by default to $YACC. |
1504 |
|
This script will default YFLAGS to the empty string to avoid a |
1505 |
|
default value of `-d' given by some make applications. |
1506 |
+ |
LT_SYS_LIBRARY_PATH |
1507 |
+ |
User-defined run-time library search path. |
1508 |
|
CPP C preprocessor |
1509 |
|
|
1510 |
|
Use these variables to override the choices made by `configure' or to help |
1573 |
|
test -n "$ac_init_help" && exit $ac_status |
1574 |
|
if $ac_init_version; then |
1575 |
|
cat <<\_ACEOF |
1576 |
< |
ircd-hybrid configure 8.2.1 |
1576 |
> |
ircd-hybrid configure TRUNK |
1577 |
|
generated by GNU Autoconf 2.69 |
1578 |
|
|
1579 |
|
Copyright (C) 2012 Free Software Foundation, Inc. |
2042 |
|
This file contains any messages produced by compilers while |
2043 |
|
running configure, to aid debugging if configure makes a mistake. |
2044 |
|
|
2045 |
< |
It was created by ircd-hybrid $as_me 8.2.1, which was |
2045 |
> |
It was created by ircd-hybrid $as_me TRUNK, which was |
2046 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
2047 |
|
|
2048 |
|
$ $0 $@ |
2323 |
|
fi |
2324 |
|
|
2325 |
|
as_fn_append ac_func_list " strtok_r" |
2317 |
– |
as_fn_append ac_func_list " usleep" |
2326 |
|
as_fn_append ac_func_list " strlcat" |
2327 |
|
as_fn_append ac_func_list " strlcpy" |
2328 |
|
as_fn_append ac_header_list " crypt.h" |
2331 |
|
as_fn_append ac_header_list " types.h" |
2332 |
|
as_fn_append ac_header_list " socket.h" |
2333 |
|
as_fn_append ac_header_list " sys/wait.h" |
2326 |
– |
as_fn_append ac_header_list " wait.h" |
2334 |
|
# Check that the precious variables saved in the cache have kept the same |
2335 |
|
# value. |
2336 |
|
ac_cache_corrupted=false |
2399 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2400 |
|
|
2401 |
|
|
2402 |
< |
am__api_version='1.14' |
2402 |
> |
am__api_version='1.15' |
2403 |
|
|
2404 |
|
ac_aux_dir= |
2405 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2600 |
|
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2601 |
|
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
2602 |
|
|
2603 |
< |
# expand $ac_aux_dir to an absolute path |
2604 |
< |
am_aux_dir=`cd $ac_aux_dir && pwd` |
2603 |
> |
# Expand $ac_aux_dir to an absolute path. |
2604 |
> |
am_aux_dir=`cd "$ac_aux_dir" && pwd` |
2605 |
|
|
2606 |
|
if test x"${MISSING+set}" != xset; then |
2607 |
|
case $am_aux_dir in |
2620 |
|
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
2621 |
|
fi |
2622 |
|
|
2623 |
< |
if test x"${install_sh}" != xset; then |
2623 |
> |
if test x"${install_sh+set}" != xset; then |
2624 |
|
case $am_aux_dir in |
2625 |
|
*\ * | *\ *) |
2626 |
|
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
2914 |
|
|
2915 |
|
# Define the identity of the package. |
2916 |
|
PACKAGE='ircd-hybrid' |
2917 |
< |
VERSION='8.2.1' |
2917 |
> |
VERSION='TRUNK' |
2918 |
|
|
2919 |
|
|
2920 |
|
cat >>confdefs.h <<_ACEOF |
2948 |
|
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
2949 |
|
mkdir_p='$(MKDIR_P)' |
2950 |
|
|
2951 |
< |
# We need awk for the "check" target. The system "awk" is bad on |
2952 |
< |
# some platforms. |
2951 |
> |
# We need awk for the "check" target (and possibly the TAP driver). The |
2952 |
> |
# system "awk" is bad on some platforms. |
2953 |
|
# Always define AMTAR for backward compatibility. Yes, it's still used |
2954 |
|
# in the wild :-( We should find a proper way to deprecate it ... |
2955 |
|
AMTAR='$${TAR-tar}' |
3007 |
|
fi |
3008 |
|
fi |
3009 |
|
|
3010 |
+ |
|
3011 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
3012 |
|
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
3013 |
|
# Check whether --enable-maintainer-mode was given. |
4479 |
|
|
4480 |
|
|
4481 |
|
|
4482 |
< |
macro_version='2.4.2.458.26-92994' |
4483 |
< |
macro_revision='2.4.3' |
4482 |
> |
macro_version='2.4.6' |
4483 |
> |
macro_revision='2.4.6' |
4484 |
|
|
4485 |
|
|
4486 |
|
|
5852 |
|
tpf*) |
5853 |
|
lt_cv_deplibs_check_method=pass_all |
5854 |
|
;; |
5855 |
+ |
os2*) |
5856 |
+ |
lt_cv_deplibs_check_method=pass_all |
5857 |
+ |
;; |
5858 |
|
esac |
5859 |
|
|
5860 |
|
fi |
6902 |
|
|
6903 |
|
|
6904 |
|
|
6905 |
+ |
|
6906 |
+ |
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
6907 |
+ |
func_cc_basename () |
6908 |
+ |
{ |
6909 |
+ |
for cc_temp in $*""; do |
6910 |
+ |
case $cc_temp in |
6911 |
+ |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
6912 |
+ |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
6913 |
+ |
\-*) ;; |
6914 |
+ |
*) break;; |
6915 |
+ |
esac |
6916 |
+ |
done |
6917 |
+ |
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
6918 |
+ |
} |
6919 |
+ |
|
6920 |
|
# Check whether --enable-libtool-lock was given. |
6921 |
|
if test "${enable_libtool_lock+set}" = set; then : |
6922 |
|
enableval=$enable_libtool_lock; |
7924 |
|
;; |
7925 |
|
esac |
7926 |
|
|
7927 |
+ |
# func_munge_path_list VARIABLE PATH |
7928 |
+ |
# ----------------------------------- |
7929 |
+ |
# VARIABLE is name of variable containing _space_ separated list of |
7930 |
+ |
# directories to be munged by the contents of PATH, which is string |
7931 |
+ |
# having a format: |
7932 |
+ |
# "DIR[:DIR]:" |
7933 |
+ |
# string "DIR[ DIR]" will be prepended to VARIABLE |
7934 |
+ |
# ":DIR[:DIR]" |
7935 |
+ |
# string "DIR[ DIR]" will be appended to VARIABLE |
7936 |
+ |
# "DIRP[:DIRP]::[DIRA:]DIRA" |
7937 |
+ |
# string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
7938 |
+ |
# "DIRA[ DIRA]" will be appended to VARIABLE |
7939 |
+ |
# "DIR[:DIR]" |
7940 |
+ |
# VARIABLE will be replaced by "DIR[ DIR]" |
7941 |
+ |
func_munge_path_list () |
7942 |
+ |
{ |
7943 |
+ |
case x$2 in |
7944 |
+ |
x) |
7945 |
+ |
;; |
7946 |
+ |
*:) |
7947 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
7948 |
+ |
;; |
7949 |
+ |
x:*) |
7950 |
+ |
eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
7951 |
+ |
;; |
7952 |
+ |
*::*) |
7953 |
+ |
eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
7954 |
+ |
eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
7955 |
+ |
;; |
7956 |
+ |
*) |
7957 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
7958 |
+ |
;; |
7959 |
+ |
esac |
7960 |
+ |
} |
7961 |
+ |
|
7962 |
|
ac_ext=c |
7963 |
|
ac_cpp='$CPP $CPPFLAGS' |
7964 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8373 |
|
|
8374 |
|
|
8375 |
|
|
8376 |
+ |
shared_archive_member_spec= |
8377 |
+ |
case $host,$enable_shared in |
8378 |
+ |
power*-*-aix[5-9]*,yes) |
8379 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 |
8380 |
+ |
$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } |
8381 |
+ |
|
8382 |
+ |
# Check whether --with-aix-soname was given. |
8383 |
+ |
if test "${with_aix_soname+set}" = set; then : |
8384 |
+ |
withval=$with_aix_soname; case $withval in |
8385 |
+ |
aix|svr4|both) |
8386 |
+ |
;; |
8387 |
+ |
*) |
8388 |
+ |
as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 |
8389 |
+ |
;; |
8390 |
+ |
esac |
8391 |
+ |
lt_cv_with_aix_soname=$with_aix_soname |
8392 |
+ |
else |
8393 |
+ |
if ${lt_cv_with_aix_soname+:} false; then : |
8394 |
+ |
$as_echo_n "(cached) " >&6 |
8395 |
+ |
else |
8396 |
+ |
lt_cv_with_aix_soname=aix |
8397 |
+ |
fi |
8398 |
+ |
|
8399 |
+ |
with_aix_soname=$lt_cv_with_aix_soname |
8400 |
+ |
fi |
8401 |
+ |
|
8402 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 |
8403 |
+ |
$as_echo "$with_aix_soname" >&6; } |
8404 |
+ |
if test aix != "$with_aix_soname"; then |
8405 |
+ |
# For the AIX way of multilib, we name the shared archive member |
8406 |
+ |
# based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', |
8407 |
+ |
# and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. |
8408 |
+ |
# Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, |
8409 |
+ |
# the AIX toolchain works better with OBJECT_MODE set (default 32). |
8410 |
+ |
if test 64 = "${OBJECT_MODE-32}"; then |
8411 |
+ |
shared_archive_member_spec=shr_64 |
8412 |
+ |
else |
8413 |
+ |
shared_archive_member_spec=shr |
8414 |
+ |
fi |
8415 |
+ |
fi |
8416 |
+ |
;; |
8417 |
+ |
*) |
8418 |
+ |
with_aix_soname=aix |
8419 |
+ |
;; |
8420 |
+ |
esac |
8421 |
+ |
|
8422 |
+ |
|
8423 |
+ |
|
8424 |
+ |
|
8425 |
+ |
|
8426 |
+ |
|
8427 |
+ |
|
8428 |
|
|
8429 |
|
|
8430 |
|
|
8544 |
|
test -z "$LD" && LD=ld |
8545 |
|
test -z "$ac_objext" && ac_objext=o |
8546 |
|
|
8547 |
< |
for cc_temp in $compiler""; do |
8548 |
< |
case $cc_temp in |
8436 |
< |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
8437 |
< |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
8438 |
< |
\-*) ;; |
8439 |
< |
*) break;; |
8440 |
< |
esac |
8441 |
< |
done |
8442 |
< |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
8547 |
> |
func_cc_basename $compiler |
8548 |
> |
cc_basename=$func_cc_basename_result |
8549 |
|
|
8550 |
|
|
8551 |
|
# Only perform the check for file, if the check method requires it |
8856 |
|
# Although the cygwin gcc ignores -fPIC, still need this for old-style |
8857 |
|
# (--disable-auto-import) libraries |
8858 |
|
lt_prog_compiler_pic='-DDLL_EXPORT' |
8859 |
+ |
case $host_os in |
8860 |
+ |
os2*) |
8861 |
+ |
lt_prog_compiler_static='$wl-static' |
8862 |
+ |
;; |
8863 |
+ |
esac |
8864 |
|
;; |
8865 |
|
|
8866 |
|
darwin* | rhapsody*) |
8957 |
|
# This hack is so that the source file can tell whether it is being |
8958 |
|
# built for inclusion in a dll (and should export symbols for example). |
8959 |
|
lt_prog_compiler_pic='-DDLL_EXPORT' |
8960 |
+ |
case $host_os in |
8961 |
+ |
os2*) |
8962 |
+ |
lt_prog_compiler_static='$wl-static' |
8963 |
+ |
;; |
8964 |
+ |
esac |
8965 |
|
;; |
8966 |
|
|
8967 |
|
hpux9* | hpux10* | hpux11*) |
9602 |
|
link_all_deplibs=yes |
9603 |
|
;; |
9604 |
|
|
9605 |
+ |
os2*) |
9606 |
+ |
hardcode_libdir_flag_spec='-L$libdir' |
9607 |
+ |
hardcode_minus_L=yes |
9608 |
+ |
allow_undefined_flag=unsupported |
9609 |
+ |
shrext_cmds=.dll |
9610 |
+ |
archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
9611 |
+ |
$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
9612 |
+ |
$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
9613 |
+ |
$ECHO EXPORTS >> $output_objdir/$libname.def~ |
9614 |
+ |
emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ |
9615 |
+ |
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
9616 |
+ |
emximp -o $lib $output_objdir/$libname.def' |
9617 |
+ |
archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
9618 |
+ |
$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
9619 |
+ |
$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
9620 |
+ |
$ECHO EXPORTS >> $output_objdir/$libname.def~ |
9621 |
+ |
prefix_cmds="$SED"~ |
9622 |
+ |
if test EXPORTS = "`$SED 1q $export_symbols`"; then |
9623 |
+ |
prefix_cmds="$prefix_cmds -e 1d"; |
9624 |
+ |
fi~ |
9625 |
+ |
prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
9626 |
+ |
cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
9627 |
+ |
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
9628 |
+ |
emximp -o $lib $output_objdir/$libname.def' |
9629 |
+ |
old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
9630 |
+ |
enable_shared_with_static_runtimes=yes |
9631 |
+ |
;; |
9632 |
+ |
|
9633 |
|
interix[3-9]*) |
9634 |
|
hardcode_direct=no |
9635 |
|
hardcode_shlibpath_var=no |
9703 |
|
fi |
9704 |
|
|
9705 |
|
case $cc_basename in |
9706 |
+ |
tcc*) |
9707 |
+ |
export_dynamic_flag_spec='-rdynamic' |
9708 |
+ |
;; |
9709 |
|
xlf* | bgf* | bgxlf* | mpixlf*) |
9710 |
|
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
9711 |
|
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
9835 |
|
no_entry_flag= |
9836 |
|
else |
9837 |
|
# If we're using GNU nm, then we don't want the "-C" option. |
9838 |
< |
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
9839 |
< |
# Also, AIX nm treats weak defined symbols like other global |
9840 |
< |
# defined symbols, whereas GNU nm marks them as "W". |
9838 |
> |
# -C means demangle to GNU nm, but means don't demangle to AIX nm. |
9839 |
> |
# Without the "-l" option, or with the "-B" option, AIX nm treats |
9840 |
> |
# weak defined symbols like other global defined symbols, whereas |
9841 |
> |
# GNU nm marks them as "W". |
9842 |
> |
# While the 'weak' keyword is ignored in the Export File, we need |
9843 |
> |
# it in the Import File for the 'aix-soname' feature, so we have |
9844 |
> |
# to replace the "-B" option with "-P" for AIX nm. |
9845 |
|
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
9846 |
< |
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
9846 |
> |
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' |
9847 |
|
else |
9848 |
< |
export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
9848 |
> |
export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' |
9849 |
|
fi |
9850 |
|
aix_use_runtimelinking=no |
9851 |
|
|
9852 |
|
# Test if we are trying to use run time linking or normal |
9853 |
|
# AIX style linking. If -brtl is somewhere in LDFLAGS, we |
9854 |
< |
# need to do runtime linking. |
9854 |
> |
# have runtime linking enabled, and use it for executables. |
9855 |
> |
# For shared libraries, we enable/disable runtime linking |
9856 |
> |
# depending on the kind of the shared library created - |
9857 |
> |
# when "with_aix_soname,aix_use_runtimelinking" is: |
9858 |
> |
# "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables |
9859 |
> |
# "aix,yes" lib.so shared, rtl:yes, for executables |
9860 |
> |
# lib.a static archive |
9861 |
> |
# "both,no" lib.so.V(shr.o) shared, rtl:yes |
9862 |
> |
# lib.a(lib.so.V) shared, rtl:no, for executables |
9863 |
> |
# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables |
9864 |
> |
# lib.a(lib.so.V) shared, rtl:no |
9865 |
> |
# "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables |
9866 |
> |
# lib.a static archive |
9867 |
|
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
9868 |
|
for ld_flag in $LDFLAGS; do |
9869 |
|
if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then |
9871 |
|
break |
9872 |
|
fi |
9873 |
|
done |
9874 |
+ |
if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then |
9875 |
+ |
# With aix-soname=svr4, we create the lib.so.V shared archives only, |
9876 |
+ |
# so we don't have lib.a shared libs to link our executables. |
9877 |
+ |
# We have to force runtime linking in this case. |
9878 |
+ |
aix_use_runtimelinking=yes |
9879 |
+ |
LDFLAGS="$LDFLAGS -Wl,-brtl" |
9880 |
+ |
fi |
9881 |
|
;; |
9882 |
|
esac |
9883 |
|
|
9897 |
|
hardcode_libdir_separator=':' |
9898 |
|
link_all_deplibs=yes |
9899 |
|
file_list_spec='$wl-f,' |
9900 |
+ |
case $with_aix_soname,$aix_use_runtimelinking in |
9901 |
+ |
aix,*) ;; # traditional, no import file |
9902 |
+ |
svr4,* | *,yes) # use import file |
9903 |
+ |
# The Import File defines what to hardcode. |
9904 |
+ |
hardcode_direct=no |
9905 |
+ |
hardcode_direct_absolute=no |
9906 |
+ |
;; |
9907 |
+ |
esac |
9908 |
|
|
9909 |
|
if test yes = "$GCC"; then |
9910 |
|
case $host_os in aix4.[012]|aix4.[012].*) |
9932 |
|
if test yes = "$aix_use_runtimelinking"; then |
9933 |
|
shared_flag="$shared_flag "'$wl-G' |
9934 |
|
fi |
9935 |
+ |
# Need to ensure runtime linking is disabled for the traditional |
9936 |
+ |
# shared library, or the linker may eventually find shared libraries |
9937 |
+ |
# /with/ Import File - we do not want to mix them. |
9938 |
+ |
shared_flag_aix='-shared' |
9939 |
+ |
shared_flag_svr4='-shared $wl-G' |
9940 |
|
else |
9941 |
|
# not using gcc |
9942 |
|
if test ia64 = "$host_cpu"; then |
9949 |
|
else |
9950 |
|
shared_flag='$wl-bM:SRE' |
9951 |
|
fi |
9952 |
+ |
shared_flag_aix='$wl-bM:SRE' |
9953 |
+ |
shared_flag_svr4='$wl-G' |
9954 |
|
fi |
9955 |
|
fi |
9956 |
|
|
9958 |
|
# It seems that -bexpall does not export symbols beginning with |
9959 |
|
# underscore (_), so it is better to generate a list of symbols to export. |
9960 |
|
always_export_symbols=yes |
9961 |
< |
if test yes = "$aix_use_runtimelinking"; then |
9961 |
> |
if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then |
9962 |
|
# Warning - without using the other runtime loading flags (-brtl), |
9963 |
|
# -berok will link without error, but may produce a broken library. |
9964 |
|
allow_undefined_flag='-berok' |
10073 |
|
whole_archive_flag_spec='$convenience' |
10074 |
|
fi |
10075 |
|
archive_cmds_need_lc=yes |
10076 |
< |
# This is similar to how AIX traditionally builds its shared libraries. |
10077 |
< |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $wl-bnoentry $compiler_flags $wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
10076 |
> |
archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' |
10077 |
> |
# -brtl affects multiple linker settings, -berok does not and is overridden later |
10078 |
> |
compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' |
10079 |
> |
if test svr4 != "$with_aix_soname"; then |
10080 |
> |
# This is similar to how AIX traditionally builds its shared libraries. |
10081 |
> |
archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' |
10082 |
> |
fi |
10083 |
> |
if test aix != "$with_aix_soname"; then |
10084 |
> |
archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' |
10085 |
> |
else |
10086 |
> |
# used by -dlpreopen to get the symbols |
10087 |
> |
archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' |
10088 |
> |
fi |
10089 |
> |
archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' |
10090 |
|
fi |
10091 |
|
fi |
10092 |
|
;; |
10405 |
|
link_all_deplibs=yes |
10406 |
|
;; |
10407 |
|
|
10408 |
+ |
linux*) |
10409 |
+ |
case $cc_basename in |
10410 |
+ |
tcc*) |
10411 |
+ |
# Fabrice Bellard et al's Tiny C Compiler |
10412 |
+ |
ld_shlibs=yes |
10413 |
+ |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
10414 |
+ |
;; |
10415 |
+ |
esac |
10416 |
+ |
;; |
10417 |
+ |
|
10418 |
|
netbsd*) |
10419 |
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
10420 |
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
10460 |
|
hardcode_libdir_flag_spec='-L$libdir' |
10461 |
|
hardcode_minus_L=yes |
10462 |
|
allow_undefined_flag=unsupported |
10463 |
< |
archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' |
10464 |
< |
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
10463 |
> |
shrext_cmds=.dll |
10464 |
> |
archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
10465 |
> |
$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
10466 |
> |
$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
10467 |
> |
$ECHO EXPORTS >> $output_objdir/$libname.def~ |
10468 |
> |
emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ |
10469 |
> |
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
10470 |
> |
emximp -o $lib $output_objdir/$libname.def' |
10471 |
> |
archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
10472 |
> |
$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
10473 |
> |
$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
10474 |
> |
$ECHO EXPORTS >> $output_objdir/$libname.def~ |
10475 |
> |
prefix_cmds="$SED"~ |
10476 |
> |
if test EXPORTS = "`$SED 1q $export_symbols`"; then |
10477 |
> |
prefix_cmds="$prefix_cmds -e 1d"; |
10478 |
> |
fi~ |
10479 |
> |
prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
10480 |
> |
cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
10481 |
> |
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
10482 |
> |
emximp -o $lib $output_objdir/$libname.def' |
10483 |
> |
old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
10484 |
> |
enable_shared_with_static_runtimes=yes |
10485 |
|
;; |
10486 |
|
|
10487 |
|
osf3*) |
11004 |
|
# flags to be left without arguments |
11005 |
|
need_version=unknown |
11006 |
|
|
11007 |
+ |
|
11008 |
+ |
|
11009 |
|
case $host_os in |
11010 |
|
aix3*) |
11011 |
|
version_type=linux # correct to gnu/linux during the next big refactor |
11042 |
|
fi |
11043 |
|
;; |
11044 |
|
esac |
11045 |
+ |
# Using Import Files as archive members, it is possible to support |
11046 |
+ |
# filename-based versioning of shared library archives on AIX. While |
11047 |
+ |
# this would work for both with and without runtime linking, it will |
11048 |
+ |
# prevent static linking of such archives. So we do filename-based |
11049 |
+ |
# shared library versioning with .so extension only, which is used |
11050 |
+ |
# when both runtime linking and shared linking is enabled. |
11051 |
+ |
# Unfortunately, runtime linking may impact performance, so we do |
11052 |
+ |
# not want this to be the default eventually. Also, we use the |
11053 |
+ |
# versioned .so libs for executables only if there is the -brtl |
11054 |
+ |
# linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. |
11055 |
+ |
# To allow for filename-based versioning support, we need to create |
11056 |
+ |
# libNAME.so.V as an archive file, containing: |
11057 |
+ |
# *) an Import File, referring to the versioned filename of the |
11058 |
+ |
# archive as well as the shared archive member, telling the |
11059 |
+ |
# bitwidth (32 or 64) of that shared object, and providing the |
11060 |
+ |
# list of exported symbols of that shared object, eventually |
11061 |
+ |
# decorated with the 'weak' keyword |
11062 |
+ |
# *) the shared object with the F_LOADONLY flag set, to really avoid |
11063 |
+ |
# it being seen by the linker. |
11064 |
+ |
# At run time we better use the real file rather than another symlink, |
11065 |
+ |
# but for link time we create the symlink libNAME.so -> libNAME.so.V |
11066 |
+ |
|
11067 |
+ |
case $with_aix_soname,$aix_use_runtimelinking in |
11068 |
|
# AIX (on Power*) has no versioning support, so currently we cannot hardcode correct |
11069 |
|
# soname into executable. Probably we can add versioning support to |
11070 |
|
# collect2, so additional links can be useful in future. |
11071 |
< |
if test yes = "$aix_use_runtimelinking"; then |
11071 |
> |
aix,yes) # traditional libtool |
11072 |
> |
dynamic_linker='AIX unversionable lib.so' |
11073 |
|
# If using run time linking (on AIX 4.2 or later) use lib<name>.so |
11074 |
|
# instead of lib<name>.a to let people know that these are not |
11075 |
|
# typical AIX shared libraries. |
11076 |
|
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
11077 |
< |
else |
11077 |
> |
;; |
11078 |
> |
aix,no) # traditional AIX only |
11079 |
> |
dynamic_linker='AIX lib.a(lib.so.V)' |
11080 |
|
# We preserve .a as extension for shared libraries through AIX4.2 |
11081 |
|
# and later when we are not doing run time linking. |
11082 |
|
library_names_spec='$libname$release.a $libname.a' |
11083 |
|
soname_spec='$libname$release$shared_ext$major' |
11084 |
< |
fi |
11084 |
> |
;; |
11085 |
> |
svr4,*) # full svr4 only |
11086 |
> |
dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" |
11087 |
> |
library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
11088 |
> |
# We do not specify a path in Import Files, so LIBPATH fires. |
11089 |
> |
shlibpath_overrides_runpath=yes |
11090 |
> |
;; |
11091 |
> |
*,yes) # both, prefer svr4 |
11092 |
> |
dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" |
11093 |
> |
library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
11094 |
> |
# unpreferred sharedlib libNAME.a needs extra handling |
11095 |
> |
postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' |
11096 |
> |
postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' |
11097 |
> |
# We do not specify a path in Import Files, so LIBPATH fires. |
11098 |
> |
shlibpath_overrides_runpath=yes |
11099 |
> |
;; |
11100 |
> |
*,no) # both, prefer aix |
11101 |
> |
dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" |
11102 |
> |
library_names_spec='$libname$release.a $libname.a' |
11103 |
> |
soname_spec='$libname$release$shared_ext$major' |
11104 |
> |
# unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling |
11105 |
> |
postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' |
11106 |
> |
postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' |
11107 |
> |
;; |
11108 |
> |
esac |
11109 |
|
shlibpath_var=LIBPATH |
11110 |
|
fi |
11111 |
|
;; |
11293 |
|
version_type=freebsd-$objformat |
11294 |
|
case $version_type in |
11295 |
|
freebsd-elf*) |
11296 |
< |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' |
11296 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
11297 |
> |
soname_spec='$libname$release$shared_ext$major' |
11298 |
|
need_version=no |
11299 |
|
need_lib_prefix=no |
11300 |
|
;; |
11354 |
|
soname_spec='$libname$release$shared_ext$major' |
11355 |
|
if test 32 = "$HPUX_IA64_MODE"; then |
11356 |
|
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
11357 |
+ |
sys_lib_dlsearch_path_spec=/usr/lib/hpux32 |
11358 |
|
else |
11359 |
|
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
11360 |
+ |
sys_lib_dlsearch_path_spec=/usr/lib/hpux64 |
11361 |
|
fi |
11080 |
– |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
11362 |
|
;; |
11363 |
|
hppa*64*) |
11364 |
|
shrext_cmds='.sl' |
11510 |
|
# before this can be enabled. |
11511 |
|
hardcode_into_libs=yes |
11512 |
|
|
11513 |
< |
# Append ld.so.conf contents to the search path |
11513 |
> |
# Ideally, we could use ldconfig to report *all* directores which are |
11514 |
> |
# searched for libraries, however this is still not possible. Aside from not |
11515 |
> |
# being certain /sbin/ldconfig is available, command |
11516 |
> |
# 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, |
11517 |
> |
# even though it is searched at run-time. Try to do the best guess by |
11518 |
> |
# appending ld.so.conf contents (and includes) to the search path. |
11519 |
|
if test -f /etc/ld.so.conf; then |
11520 |
|
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' ' '` |
11521 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
11584 |
|
|
11585 |
|
os2*) |
11586 |
|
libname_spec='$name' |
11587 |
+ |
version_type=windows |
11588 |
|
shrext_cmds=.dll |
11589 |
+ |
need_version=no |
11590 |
|
need_lib_prefix=no |
11591 |
< |
library_names_spec='$libname$shared_ext $libname.a' |
11591 |
> |
# OS/2 can only load a DLL with a base name of 8 characters or less. |
11592 |
> |
soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; |
11593 |
> |
v=$($ECHO $release$versuffix | tr -d .-); |
11594 |
> |
n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); |
11595 |
> |
$ECHO $n$v`$shared_ext' |
11596 |
> |
library_names_spec='${libname}_dll.$libext' |
11597 |
|
dynamic_linker='OS/2 ld.exe' |
11598 |
< |
shlibpath_var=LIBPATH |
11598 |
> |
shlibpath_var=BEGINLIBPATH |
11599 |
> |
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
11600 |
> |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
11601 |
> |
postinstall_cmds='base_file=`basename \$file`~ |
11602 |
> |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ |
11603 |
> |
dldir=$destdir/`dirname \$dlpath`~ |
11604 |
> |
test -d \$dldir || mkdir -p \$dldir~ |
11605 |
> |
$install_prog $dir/$dlname \$dldir/$dlname~ |
11606 |
> |
chmod a+x \$dldir/$dlname~ |
11607 |
> |
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
11608 |
> |
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
11609 |
> |
fi' |
11610 |
> |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ |
11611 |
> |
dlpath=$dir/\$dldll~ |
11612 |
> |
$RM \$dlpath' |
11613 |
|
;; |
11614 |
|
|
11615 |
|
osf3* | osf4* | osf5*) |
11685 |
|
;; |
11686 |
|
|
11687 |
|
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
11688 |
< |
version_type=freebsd-elf |
11688 |
> |
version_type=sco |
11689 |
|
need_lib_prefix=no |
11690 |
|
need_version=no |
11691 |
|
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' |
11740 |
|
if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then |
11741 |
|
sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec |
11742 |
|
fi |
11743 |
+ |
|
11744 |
|
if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then |
11745 |
|
sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec |
11746 |
|
fi |
11747 |
|
|
11748 |
+ |
# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... |
11749 |
+ |
configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec |
11750 |
+ |
|
11751 |
+ |
# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code |
11752 |
+ |
func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" |
11753 |
+ |
|
11754 |
+ |
# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool |
11755 |
+ |
configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH |
11756 |
+ |
|
11757 |
+ |
|
11758 |
+ |
|
11759 |
+ |
|
11760 |
+ |
|
11761 |
+ |
|
11762 |
|
|
11763 |
|
|
11764 |
|
|
12229 |
|
# endif |
12230 |
|
#endif |
12231 |
|
|
12232 |
< |
/* When -fvisbility=hidden is used, assume the code has been annotated |
12232 |
> |
/* When -fvisibility=hidden is used, assume the code has been annotated |
12233 |
|
correspondingly for the symbols needed. */ |
12234 |
|
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
12235 |
|
int fnord () __attribute__((visibility("default"))); |
12335 |
|
# endif |
12336 |
|
#endif |
12337 |
|
|
12338 |
< |
/* When -fvisbility=hidden is used, assume the code has been annotated |
12338 |
> |
/* When -fvisibility=hidden is used, assume the code has been annotated |
12339 |
|
correspondingly for the symbols needed. */ |
12340 |
|
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
12341 |
|
int fnord () __attribute__((visibility("default"))); |
12484 |
|
;; |
12485 |
|
|
12486 |
|
aix[4-9]*) |
12487 |
< |
if test ia64 != "$host_cpu" && test no = "$aix_use_runtimelinking"; then |
12488 |
< |
test yes = "$enable_shared" && enable_static=no |
12487 |
> |
if test ia64 != "$host_cpu"; then |
12488 |
> |
case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in |
12489 |
> |
yes,aix,yes) ;; # shared object as lib.so file only |
12490 |
> |
yes,svr4,*) ;; # shared object as lib.so archive member only |
12491 |
> |
yes,*) enable_static=no ;; # shared object in lib.a archive as well |
12492 |
> |
esac |
12493 |
|
fi |
12494 |
|
;; |
12495 |
|
esac |
12565 |
|
_ACEOF |
12566 |
|
|
12567 |
|
fi |
12568 |
+ |
if test -n "$shared_archive_member_spec"; then |
12569 |
+ |
|
12570 |
+ |
cat >>confdefs.h <<_ACEOF |
12571 |
+ |
#define LT_SHARED_LIB_MEMBER "($shared_archive_member_spec.o)" |
12572 |
+ |
_ACEOF |
12573 |
+ |
|
12574 |
+ |
fi |
12575 |
|
|
12576 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5 |
12577 |
|
$as_echo_n "checking what variable specifies run-time module search path... " >&6; } |
12625 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
12626 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
12627 |
|
|
12628 |
+ |
lt_dlload_save_LIBS=$LIBS |
12629 |
|
|
12630 |
|
LIBADD_DLOPEN= |
12631 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 |
12850 |
|
beos*) |
12851 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la" |
12852 |
|
;; |
12853 |
< |
cygwin* | mingw* | os2* | pw32*) |
12853 |
> |
cygwin* | mingw* | pw32*) |
12854 |
|
ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h> |
12855 |
|
" |
12856 |
|
if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then : |
12928 |
|
LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD" |
12929 |
|
|
12930 |
|
|
12931 |
+ |
LIBS=$lt_dlload_save_LIBS |
12932 |
|
ac_ext=c |
12933 |
|
ac_cpp='$CPP $CPPFLAGS' |
12934 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
12984 |
|
|
12985 |
|
|
12986 |
|
if test yes = "$lt_cv_sys_symbol_underscore"; then |
12987 |
< |
if test yes = "$libltdl_cv_func_dlopen" || |
12988 |
< |
test yes = "$libltdl_cv_lib_dl_dlopen"; then |
12654 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5 |
12987 |
> |
if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then |
12988 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5 |
12989 |
|
$as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; } |
12990 |
|
if ${libltdl_cv_need_uscore+:} false; then : |
12991 |
|
$as_echo_n "(cached) " >&6 |
12992 |
|
else |
12993 |
|
libltdl_cv_need_uscore=unknown |
12994 |
< |
save_LIBS=$LIBS |
12995 |
< |
LIBS="$LIBS $LIBADD_DLOPEN" |
12996 |
< |
if test yes = "$cross_compiling"; then : |
12997 |
< |
libltdl_cv_need_uscore=cross |
12664 |
< |
else |
12665 |
< |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12666 |
< |
lt_status=$lt_dlunknown |
12667 |
< |
cat > conftest.$ac_ext <<_LT_EOF |
12994 |
> |
dlsym_uscore_save_LIBS=$LIBS |
12995 |
> |
LIBS="$LIBS $LIBADD_DLOPEN" |
12996 |
> |
libname=conftmod # stay within 8.3 filename limits! |
12997 |
> |
cat >$libname.$ac_ext <<_LT_EOF |
12998 |
|
#line $LINENO "configure" |
12999 |
|
#include "confdefs.h" |
13000 |
+ |
/* When -fvisibility=hidden is used, assume the code has been annotated |
13001 |
+ |
correspondingly for the symbols needed. */ |
13002 |
+ |
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
13003 |
+ |
int fnord () __attribute__((visibility("default"))); |
13004 |
+ |
#endif |
13005 |
+ |
int fnord () { return 42; } |
13006 |
+ |
_LT_EOF |
13007 |
|
|
13008 |
+ |
# ltfn_module_cmds module_cmds |
13009 |
+ |
# Execute tilde-delimited MODULE_CMDS with environment primed for |
13010 |
+ |
# $module_cmds or $archive_cmds type content. |
13011 |
+ |
ltfn_module_cmds () |
13012 |
+ |
{( # subshell avoids polluting parent global environment |
13013 |
+ |
module_cmds_save_ifs=$IFS; IFS='~' |
13014 |
+ |
for cmd in $1; do |
13015 |
+ |
IFS=$module_cmds_save_ifs |
13016 |
+ |
libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext |
13017 |
+ |
rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=. |
13018 |
+ |
major=; versuffix=; verstring=; deplibs= |
13019 |
+ |
ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag= |
13020 |
+ |
eval $cmd |
13021 |
+ |
done |
13022 |
+ |
IFS=$module_cmds_save_ifs |
13023 |
+ |
)} |
13024 |
+ |
|
13025 |
+ |
# Compile a loadable module using libtool macro expansion results. |
13026 |
+ |
$CC $pic_flag -c $libname.$ac_ext |
13027 |
+ |
ltfn_module_cmds "${module_cmds:-$archive_cmds}" |
13028 |
+ |
|
13029 |
+ |
# Try to fetch fnord with dlsym(). |
13030 |
+ |
libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2 |
13031 |
+ |
cat >conftest.$ac_ext <<_LT_EOF |
13032 |
+ |
#line $LINENO "configure" |
13033 |
+ |
#include "confdefs.h" |
13034 |
|
#if HAVE_DLFCN_H |
13035 |
|
#include <dlfcn.h> |
13036 |
|
#endif |
12674 |
– |
|
13037 |
|
#include <stdio.h> |
13038 |
< |
|
12677 |
< |
#ifdef RTLD_GLOBAL |
12678 |
< |
# define LT_DLGLOBAL RTLD_GLOBAL |
12679 |
< |
#else |
13038 |
> |
#ifndef RTLD_GLOBAL |
13039 |
|
# ifdef DL_GLOBAL |
13040 |
< |
# define LT_DLGLOBAL DL_GLOBAL |
13040 |
> |
# define RTLD_GLOBAL DL_GLOBAL |
13041 |
|
# else |
13042 |
< |
# define LT_DLGLOBAL 0 |
13042 |
> |
# define RTLD_GLOBAL 0 |
13043 |
|
# endif |
13044 |
|
#endif |
13045 |
< |
|
13046 |
< |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
13047 |
< |
find out it does not work in some platform. */ |
12689 |
< |
#ifndef LT_DLLAZY_OR_NOW |
12690 |
< |
# ifdef RTLD_LAZY |
12691 |
< |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
13045 |
> |
#ifndef RTLD_NOW |
13046 |
> |
# ifdef DL_NOW |
13047 |
> |
# define RTLD_NOW DL_NOW |
13048 |
|
# else |
13049 |
< |
# ifdef DL_LAZY |
12694 |
< |
# define LT_DLLAZY_OR_NOW DL_LAZY |
12695 |
< |
# else |
12696 |
< |
# ifdef RTLD_NOW |
12697 |
< |
# define LT_DLLAZY_OR_NOW RTLD_NOW |
12698 |
< |
# else |
12699 |
< |
# ifdef DL_NOW |
12700 |
< |
# define LT_DLLAZY_OR_NOW DL_NOW |
12701 |
< |
# else |
12702 |
< |
# define LT_DLLAZY_OR_NOW 0 |
12703 |
< |
# endif |
12704 |
< |
# endif |
12705 |
< |
# endif |
13049 |
> |
# define RTLD_NOW 0 |
13050 |
|
# endif |
13051 |
|
#endif |
13052 |
< |
|
13053 |
< |
/* When -fvisbility=hidden is used, assume the code has been annotated |
13054 |
< |
correspondingly for the symbols needed. */ |
13055 |
< |
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
13056 |
< |
int fnord () __attribute__((visibility("default"))); |
13057 |
< |
#endif |
13058 |
< |
|
13059 |
< |
int fnord () { return 42; } |
13060 |
< |
int main () |
12717 |
< |
{ |
12718 |
< |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
12719 |
< |
int status = $lt_dlunknown; |
12720 |
< |
|
12721 |
< |
if (self) |
12722 |
< |
{ |
12723 |
< |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
13052 |
> |
int main () { |
13053 |
> |
void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW); |
13054 |
> |
int status = $libltdl_dlunknown; |
13055 |
> |
if (handle) { |
13056 |
> |
if (dlsym (handle, "fnord")) |
13057 |
> |
status = $libltdl_dlnouscore; |
13058 |
> |
else { |
13059 |
> |
if (dlsym (handle, "_fnord")) |
13060 |
> |
status = $libltdl_dluscore; |
13061 |
|
else |
13062 |
< |
{ |
12726 |
< |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
12727 |
< |
else puts (dlerror ()); |
12728 |
< |
} |
12729 |
< |
/* dlclose (self); */ |
13062 |
> |
puts (dlerror ()); |
13063 |
|
} |
13064 |
< |
else |
13064 |
> |
dlclose (handle); |
13065 |
> |
} else |
13066 |
|
puts (dlerror ()); |
12733 |
– |
|
13067 |
|
return status; |
13068 |
|
} |
13069 |
|
_LT_EOF |
13070 |
< |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
13070 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
13071 |
|
(eval $ac_link) 2>&5 |
13072 |
|
ac_status=$? |
13073 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13074 |
|
test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then |
13075 |
< |
(./conftest; exit; ) >&5 2>/dev/null |
13076 |
< |
lt_status=$? |
13077 |
< |
case x$lt_status in |
13078 |
< |
x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;; |
13079 |
< |
x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;; |
13080 |
< |
x$lt_dlunknown|x*) ;; |
13081 |
< |
esac |
13082 |
< |
else : |
13083 |
< |
# compilation failed |
13084 |
< |
|
12752 |
< |
fi |
12753 |
< |
fi |
12754 |
< |
rm -fr conftest* |
12755 |
< |
|
12756 |
< |
LIBS=$save_LIBS |
13075 |
> |
(./conftest; exit; ) >&5 2>/dev/null |
13076 |
> |
libltdl_status=$? |
13077 |
> |
case x$libltdl_status in |
13078 |
> |
x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;; |
13079 |
> |
x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;; |
13080 |
> |
x*) libltdl_cv_need_uscore=unknown ;; |
13081 |
> |
esac |
13082 |
> |
fi |
13083 |
> |
rm -rf conftest* $libname* |
13084 |
> |
LIBS=$dlsym_uscore_save_LIBS |
13085 |
|
|
13086 |
|
fi |
13087 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5 |
13200 |
|
|
13201 |
|
fi |
13202 |
|
|
12875 |
– |
: |
13203 |
|
|
13204 |
|
for ac_header in argz.h |
13205 |
|
do : |
13236 |
|
fi |
13237 |
|
|
13238 |
|
|
13239 |
< |
ARGZ_H= |
13239 |
> |
LT_ARGZ_H= |
13240 |
|
for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \ |
13241 |
|
argz_next argz_stringify |
13242 |
|
do : |
13248 |
|
_ACEOF |
13249 |
|
|
13250 |
|
else |
13251 |
< |
ARGZ_H=argz.h; |
13251 |
> |
LT_ARGZ_H=lt__argz.h; |
13252 |
|
|
13253 |
< |
_LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext" |
13253 |
> |
_LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext" |
13254 |
|
|
13255 |
|
fi |
13256 |
|
done |
13257 |
|
|
13258 |
|
|
13259 |
< |
if test -z "$ARGZ_H"; then : |
13259 |
> |
if test -z "$LT_ARGZ_H"; then : |
13260 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5 |
13261 |
|
$as_echo_n "checking if argz actually works... " >&6; } |
13262 |
|
if ${lt_cv_sys_argz_works+:} false; then : |
13295 |
|
$as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h |
13296 |
|
|
13297 |
|
else |
13298 |
< |
ARGZ_H=argz.h |
13298 |
> |
LT_ARGZ_H=lt__argz.h |
13299 |
|
|
13300 |
|
|
13301 |
< |
_LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext" |
13301 |
> |
_LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext" |
13302 |
|
|
13303 |
|
fi |
13304 |
|
fi |
13617 |
|
|
13618 |
|
|
13619 |
|
if test "X$CC" != "X"; then |
13620 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 |
13621 |
< |
$as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; } |
13620 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector-strong" >&5 |
13621 |
> |
$as_echo_n "checking whether ${CC} accepts -fstack-protector-strong... " >&6; } |
13622 |
|
if ${ssp_cv_cc+:} false; then : |
13623 |
|
$as_echo_n "(cached) " >&6 |
13624 |
|
else |
13625 |
|
ssp_old_cflags="$CFLAGS" |
13626 |
< |
CFLAGS="$CFLAGS -fstack-protector" |
13626 |
> |
CFLAGS="$CFLAGS -fstack-protector-strong" |
13627 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13628 |
|
/* end confdefs.h. */ |
13629 |
|
|
13647 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
13648 |
|
$as_echo "$ssp_cv_cc" >&6; } |
13649 |
|
if test $ssp_cv_cc = yes; then |
13650 |
< |
CFLAGS="$CFLAGS -fstack-protector" |
13650 |
> |
CFLAGS="$CFLAGS -fstack-protector-strong" |
13651 |
> |
|
13652 |
> |
$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h |
13653 |
> |
|
13654 |
> |
else |
13655 |
> |
unset ssp_cv_cc |
13656 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 |
13657 |
> |
$as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; } |
13658 |
> |
if ${ssp_cv_cc+:} false; then : |
13659 |
> |
$as_echo_n "(cached) " >&6 |
13660 |
> |
else |
13661 |
> |
ssp_old_cflags="$CFLAGS" |
13662 |
> |
CFLAGS="$CFLAGS -fstack-protector" |
13663 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13664 |
> |
/* end confdefs.h. */ |
13665 |
> |
|
13666 |
> |
int |
13667 |
> |
main () |
13668 |
> |
{ |
13669 |
> |
|
13670 |
> |
; |
13671 |
> |
return 0; |
13672 |
> |
} |
13673 |
> |
_ACEOF |
13674 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
13675 |
> |
ssp_cv_cc=yes |
13676 |
> |
else |
13677 |
> |
ssp_cv_cc=no |
13678 |
> |
fi |
13679 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13680 |
> |
CFLAGS="$ssp_old_cflags" |
13681 |
> |
|
13682 |
> |
fi |
13683 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
13684 |
> |
$as_echo "$ssp_cv_cc" >&6; } |
13685 |
> |
if test $ssp_cv_cc = yes; then |
13686 |
> |
CFLAGS="$CFLAGS -fstack-protector" |
13687 |
|
|
13688 |
|
$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h |
13689 |
|
|
13690 |
+ |
fi |
13691 |
|
fi |
13692 |
|
fi |
13693 |
|
|
13763 |
|
eval ac_res=\$$as_CACHEVAR |
13764 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
13765 |
|
$as_echo "$ac_res" >&6; } |
13766 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
13767 |
< |
if ${CFLAGS+:} false; then : |
13768 |
< |
case " $CFLAGS " in |
13769 |
< |
*" $flag "*) |
13770 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
13766 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
13767 |
> |
|
13768 |
> |
if ${CFLAGS+:} false; then : |
13769 |
> |
|
13770 |
> |
case " $CFLAGS " in #( |
13771 |
> |
*" $flag "*) : |
13772 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
13773 |
|
(: CFLAGS already contains $flag) 2>&5 |
13774 |
|
ac_status=$? |
13775 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13776 |
< |
test $ac_status = 0; } |
13777 |
< |
;; |
13778 |
< |
*) |
13779 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
13780 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
13776 |
> |
test $ac_status = 0; } ;; #( |
13777 |
> |
*) : |
13778 |
> |
|
13779 |
> |
as_fn_append CFLAGS " $flag" |
13780 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
13781 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
13782 |
|
ac_status=$? |
13783 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13784 |
|
test $ac_status = 0; } |
13785 |
< |
CFLAGS="$CFLAGS $flag" |
13786 |
< |
;; |
13787 |
< |
esac |
13785 |
> |
;; |
13786 |
> |
esac |
13787 |
> |
|
13788 |
|
else |
13789 |
< |
CFLAGS="$flag" |
13789 |
> |
|
13790 |
> |
CFLAGS=$flag |
13791 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
13792 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
13793 |
> |
ac_status=$? |
13794 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13795 |
> |
test $ac_status = 0; } |
13796 |
> |
|
13797 |
|
fi |
13798 |
|
|
13799 |
|
else |
14237 |
|
|
14238 |
|
|
14239 |
|
|
13866 |
– |
|
13867 |
– |
|
14240 |
|
# Checks for header files. |
14241 |
|
|
14242 |
|
|
14269 |
|
|
14270 |
|
|
14271 |
|
|
13900 |
– |
|
13901 |
– |
|
14272 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
14273 |
|
$as_echo_n "checking for library containing crypt... " >&6; } |
14274 |
|
if ${ac_cv_search_crypt+:} false; then : |
14326 |
|
fi |
14327 |
|
|
14328 |
|
|
14329 |
< |
# Check whether --enable-libgeoip was given. |
13960 |
< |
if test "${enable_libgeoip+set}" = set; then : |
13961 |
< |
enableval=$enable_libgeoip; |
13962 |
< |
else |
13963 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
13964 |
< |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
13965 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
13966 |
< |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
13967 |
< |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
13968 |
< |
$as_echo_n "(cached) " >&6 |
13969 |
< |
else |
13970 |
< |
ac_func_search_save_LIBS=$LIBS |
13971 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13972 |
< |
/* end confdefs.h. */ |
13973 |
< |
|
13974 |
< |
/* Override any GCC internal prototype to avoid an error. |
13975 |
< |
Use char because int might match the return type of a GCC |
13976 |
< |
builtin and then its argument prototype would still apply. */ |
13977 |
< |
#ifdef __cplusplus |
13978 |
< |
extern "C" |
13979 |
< |
#endif |
13980 |
< |
char GeoIP_id_by_ipnum_v6_gl (); |
13981 |
< |
int |
13982 |
< |
main () |
13983 |
< |
{ |
13984 |
< |
return GeoIP_id_by_ipnum_v6_gl (); |
13985 |
< |
; |
13986 |
< |
return 0; |
13987 |
< |
} |
13988 |
< |
_ACEOF |
13989 |
< |
for ac_lib in '' GeoIP; do |
13990 |
< |
if test -z "$ac_lib"; then |
13991 |
< |
ac_res="none required" |
13992 |
< |
else |
13993 |
< |
ac_res=-l$ac_lib |
13994 |
< |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13995 |
< |
fi |
13996 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
13997 |
< |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
13998 |
< |
fi |
13999 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
14000 |
< |
conftest$ac_exeext |
14001 |
< |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
14002 |
< |
break |
14003 |
< |
fi |
14004 |
< |
done |
14005 |
< |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
14006 |
< |
|
14007 |
< |
else |
14008 |
< |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
14009 |
< |
fi |
14010 |
< |
rm conftest.$ac_ext |
14011 |
< |
LIBS=$ac_func_search_save_LIBS |
14012 |
< |
fi |
14013 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
14014 |
< |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
14015 |
< |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
14016 |
< |
if test "$ac_res" != no; then : |
14017 |
< |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
14018 |
< |
|
14019 |
< |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
14020 |
< |
|
14021 |
< |
fi |
14022 |
< |
|
14023 |
< |
fi |
14024 |
< |
|
14025 |
< |
|
14026 |
< |
fi |
14027 |
< |
|
14028 |
< |
|
14029 |
< |
# Check whether --enable-assert was given. |
14030 |
< |
if test "${enable_assert+set}" = set; then : |
14031 |
< |
enableval=$enable_assert; assert=$enableval |
14032 |
< |
else |
14033 |
< |
assert=no |
14034 |
< |
fi |
14035 |
< |
|
14036 |
< |
|
14037 |
< |
if test "$assert" = "no"; then : |
14038 |
< |
|
14039 |
< |
$as_echo "#define NDEBUG 1" >>confdefs.h |
14040 |
< |
|
14041 |
< |
fi |
14042 |
< |
|
14043 |
< |
|
14044 |
< |
$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h |
14329 |
> |
# Define various chunk sizes for the pooling allocator |
14330 |
|
|
14331 |
|
|
14332 |
|
$as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h |
14338 |
|
$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h |
14339 |
|
|
14340 |
|
|
14341 |
+ |
$as_echo "#define MP_CHUNK_SIZE_INVITE 4*1024" >>confdefs.h |
14342 |
+ |
|
14343 |
+ |
|
14344 |
|
$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h |
14345 |
|
|
14346 |
|
|
14362 |
|
$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h |
14363 |
|
|
14364 |
|
|
14077 |
– |
$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h |
14078 |
– |
|
14079 |
– |
|
14365 |
|
$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h |
14366 |
|
|
14367 |
|
|
14368 |
|
$as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h |
14369 |
|
|
14370 |
|
|
14371 |
+ |
$as_echo "#define MP_CHUNK_SIZE_WHOWAS 256*1024" >>confdefs.h |
14372 |
+ |
|
14373 |
+ |
|
14374 |
+ |
|
14375 |
|
# Argument processing. |
14376 |
|
|
14377 |
|
desired_iopoll_mechanism="none" |
14633 |
|
|
14634 |
|
|
14635 |
|
|
14636 |
+ |
# Check whether --enable-assert was given. |
14637 |
+ |
if test "${enable_assert+set}" = set; then : |
14638 |
+ |
enableval=$enable_assert; assert=$enableval |
14639 |
+ |
else |
14640 |
+ |
assert=no |
14641 |
+ |
fi |
14642 |
+ |
|
14643 |
+ |
|
14644 |
+ |
if test "$assert" = "no"; then : |
14645 |
+ |
|
14646 |
+ |
$as_echo "#define NDEBUG 1" >>confdefs.h |
14647 |
+ |
|
14648 |
+ |
fi |
14649 |
+ |
|
14650 |
+ |
|
14651 |
|
# Check whether --enable-debugging was given. |
14652 |
|
if test "${enable_debugging+set}" = set; then : |
14653 |
|
enableval=$enable_debugging; debugging="$enableval" |
14655 |
|
debugging="no" |
14656 |
|
fi |
14657 |
|
|
14658 |
< |
if test "$debugging" = "yes" ; then |
14658 |
> |
|
14659 |
> |
if test "$debugging" = "yes"; then : |
14660 |
> |
|
14661 |
|
CFLAGS="-Wall -g -O0" |
14662 |
< |
fi |
14662 |
> |
|
14663 |
> |
fi |
14664 |
|
|
14665 |
|
|
14666 |
|
# Check whether --enable-warnings was given. |
14671 |
|
fi |
14672 |
|
|
14673 |
|
|
14674 |
< |
if test "$warnings" = "yes" ; then |
14674 |
> |
if test "$warnings" = "yes"; then : |
14675 |
> |
|
14676 |
|
|
14677 |
|
|
14678 |
|
|
14709 |
|
eval ac_res=\$$as_CACHEVAR |
14710 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14711 |
|
$as_echo "$ac_res" >&6; } |
14712 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14713 |
< |
if ${CFLAGS+:} false; then : |
14714 |
< |
case " $CFLAGS " in |
14715 |
< |
*" $flag "*) |
14716 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14712 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
14713 |
> |
|
14714 |
> |
if ${CFLAGS+:} false; then : |
14715 |
> |
|
14716 |
> |
case " $CFLAGS " in #( |
14717 |
> |
*" $flag "*) : |
14718 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14719 |
|
(: CFLAGS already contains $flag) 2>&5 |
14720 |
|
ac_status=$? |
14721 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14722 |
< |
test $ac_status = 0; } |
14723 |
< |
;; |
14724 |
< |
*) |
14725 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14726 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14722 |
> |
test $ac_status = 0; } ;; #( |
14723 |
> |
*) : |
14724 |
> |
|
14725 |
> |
as_fn_append CFLAGS " $flag" |
14726 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
14727 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
14728 |
|
ac_status=$? |
14729 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14730 |
|
test $ac_status = 0; } |
14731 |
< |
CFLAGS="$CFLAGS $flag" |
14732 |
< |
;; |
14733 |
< |
esac |
14731 |
> |
;; |
14732 |
> |
esac |
14733 |
> |
|
14734 |
|
else |
14735 |
< |
CFLAGS="$flag" |
14735 |
> |
|
14736 |
> |
CFLAGS=$flag |
14737 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
14738 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
14739 |
> |
ac_status=$? |
14740 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14741 |
> |
test $ac_status = 0; } |
14742 |
> |
|
14743 |
|
fi |
14744 |
|
|
14745 |
|
else |
14784 |
|
eval ac_res=\$$as_CACHEVAR |
14785 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14786 |
|
$as_echo "$ac_res" >&6; } |
14787 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14788 |
< |
if ${CFLAGS+:} false; then : |
14789 |
< |
case " $CFLAGS " in |
14790 |
< |
*" $flag "*) |
14791 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14787 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
14788 |
> |
|
14789 |
> |
if ${CFLAGS+:} false; then : |
14790 |
> |
|
14791 |
> |
case " $CFLAGS " in #( |
14792 |
> |
*" $flag "*) : |
14793 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14794 |
|
(: CFLAGS already contains $flag) 2>&5 |
14795 |
|
ac_status=$? |
14796 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14797 |
< |
test $ac_status = 0; } |
14798 |
< |
;; |
14799 |
< |
*) |
14800 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14801 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14797 |
> |
test $ac_status = 0; } ;; #( |
14798 |
> |
*) : |
14799 |
> |
|
14800 |
> |
as_fn_append CFLAGS " $flag" |
14801 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
14802 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
14803 |
|
ac_status=$? |
14804 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14805 |
|
test $ac_status = 0; } |
14806 |
< |
CFLAGS="$CFLAGS $flag" |
14807 |
< |
;; |
14808 |
< |
esac |
14806 |
> |
;; |
14807 |
> |
esac |
14808 |
> |
|
14809 |
|
else |
14810 |
< |
CFLAGS="$flag" |
14810 |
> |
|
14811 |
> |
CFLAGS=$flag |
14812 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
14813 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
14814 |
> |
ac_status=$? |
14815 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14816 |
> |
test $ac_status = 0; } |
14817 |
> |
|
14818 |
|
fi |
14819 |
|
|
14820 |
|
else |
14859 |
|
eval ac_res=\$$as_CACHEVAR |
14860 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14861 |
|
$as_echo "$ac_res" >&6; } |
14862 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14863 |
< |
if ${CFLAGS+:} false; then : |
14864 |
< |
case " $CFLAGS " in |
14865 |
< |
*" $flag "*) |
14866 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14862 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
14863 |
> |
|
14864 |
> |
if ${CFLAGS+:} false; then : |
14865 |
> |
|
14866 |
> |
case " $CFLAGS " in #( |
14867 |
> |
*" $flag "*) : |
14868 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14869 |
|
(: CFLAGS already contains $flag) 2>&5 |
14870 |
|
ac_status=$? |
14871 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14872 |
< |
test $ac_status = 0; } |
14873 |
< |
;; |
14874 |
< |
*) |
14875 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14876 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14872 |
> |
test $ac_status = 0; } ;; #( |
14873 |
> |
*) : |
14874 |
> |
|
14875 |
> |
as_fn_append CFLAGS " $flag" |
14876 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
14877 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
14878 |
|
ac_status=$? |
14879 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14880 |
|
test $ac_status = 0; } |
14881 |
< |
CFLAGS="$CFLAGS $flag" |
14882 |
< |
;; |
14883 |
< |
esac |
14881 |
> |
;; |
14882 |
> |
esac |
14883 |
> |
|
14884 |
|
else |
14885 |
< |
CFLAGS="$flag" |
14885 |
> |
|
14886 |
> |
CFLAGS=$flag |
14887 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
14888 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
14889 |
> |
ac_status=$? |
14890 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14891 |
> |
test $ac_status = 0; } |
14892 |
> |
|
14893 |
|
fi |
14894 |
|
|
14895 |
|
else |
14934 |
|
eval ac_res=\$$as_CACHEVAR |
14935 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14936 |
|
$as_echo "$ac_res" >&6; } |
14937 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14938 |
< |
if ${CFLAGS+:} false; then : |
14939 |
< |
case " $CFLAGS " in |
14940 |
< |
*" $flag "*) |
14941 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14937 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
14938 |
> |
|
14939 |
> |
if ${CFLAGS+:} false; then : |
14940 |
> |
|
14941 |
> |
case " $CFLAGS " in #( |
14942 |
> |
*" $flag "*) : |
14943 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14944 |
|
(: CFLAGS already contains $flag) 2>&5 |
14945 |
|
ac_status=$? |
14946 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14947 |
< |
test $ac_status = 0; } |
14948 |
< |
;; |
14949 |
< |
*) |
14950 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14951 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14947 |
> |
test $ac_status = 0; } ;; #( |
14948 |
> |
*) : |
14949 |
> |
|
14950 |
> |
as_fn_append CFLAGS " $flag" |
14951 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
14952 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
14953 |
|
ac_status=$? |
14954 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14955 |
|
test $ac_status = 0; } |
14956 |
< |
CFLAGS="$CFLAGS $flag" |
14957 |
< |
;; |
14958 |
< |
esac |
14956 |
> |
;; |
14957 |
> |
esac |
14958 |
> |
|
14959 |
|
else |
14960 |
< |
CFLAGS="$flag" |
14960 |
> |
|
14961 |
> |
CFLAGS=$flag |
14962 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
14963 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
14964 |
> |
ac_status=$? |
14965 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14966 |
> |
test $ac_status = 0; } |
14967 |
> |
|
14968 |
|
fi |
14969 |
|
|
14970 |
|
else |
15009 |
|
eval ac_res=\$$as_CACHEVAR |
15010 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15011 |
|
$as_echo "$ac_res" >&6; } |
15012 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15013 |
< |
if ${CFLAGS+:} false; then : |
15014 |
< |
case " $CFLAGS " in |
15015 |
< |
*" $flag "*) |
15016 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15012 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15013 |
> |
|
15014 |
> |
if ${CFLAGS+:} false; then : |
15015 |
> |
|
15016 |
> |
case " $CFLAGS " in #( |
15017 |
> |
*" $flag "*) : |
15018 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15019 |
|
(: CFLAGS already contains $flag) 2>&5 |
15020 |
|
ac_status=$? |
15021 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15022 |
< |
test $ac_status = 0; } |
15023 |
< |
;; |
15024 |
< |
*) |
15025 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15026 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15022 |
> |
test $ac_status = 0; } ;; #( |
15023 |
> |
*) : |
15024 |
> |
|
15025 |
> |
as_fn_append CFLAGS " $flag" |
15026 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15027 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15028 |
|
ac_status=$? |
15029 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15030 |
|
test $ac_status = 0; } |
15031 |
< |
CFLAGS="$CFLAGS $flag" |
15032 |
< |
;; |
15033 |
< |
esac |
15031 |
> |
;; |
15032 |
> |
esac |
15033 |
> |
|
15034 |
|
else |
15035 |
< |
CFLAGS="$flag" |
15035 |
> |
|
15036 |
> |
CFLAGS=$flag |
15037 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15038 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15039 |
> |
ac_status=$? |
15040 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15041 |
> |
test $ac_status = 0; } |
15042 |
> |
|
15043 |
|
fi |
15044 |
|
|
15045 |
|
else |
15084 |
|
eval ac_res=\$$as_CACHEVAR |
15085 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15086 |
|
$as_echo "$ac_res" >&6; } |
15087 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15088 |
< |
if ${CFLAGS+:} false; then : |
15089 |
< |
case " $CFLAGS " in |
15090 |
< |
*" $flag "*) |
15091 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15087 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15088 |
> |
|
15089 |
> |
if ${CFLAGS+:} false; then : |
15090 |
> |
|
15091 |
> |
case " $CFLAGS " in #( |
15092 |
> |
*" $flag "*) : |
15093 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15094 |
|
(: CFLAGS already contains $flag) 2>&5 |
15095 |
|
ac_status=$? |
15096 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15097 |
< |
test $ac_status = 0; } |
15098 |
< |
;; |
15099 |
< |
*) |
15100 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15101 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15097 |
> |
test $ac_status = 0; } ;; #( |
15098 |
> |
*) : |
15099 |
> |
|
15100 |
> |
as_fn_append CFLAGS " $flag" |
15101 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15102 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15103 |
|
ac_status=$? |
15104 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15105 |
|
test $ac_status = 0; } |
15106 |
< |
CFLAGS="$CFLAGS $flag" |
15107 |
< |
;; |
15108 |
< |
esac |
15106 |
> |
;; |
15107 |
> |
esac |
15108 |
> |
|
15109 |
|
else |
15110 |
< |
CFLAGS="$flag" |
15110 |
> |
|
15111 |
> |
CFLAGS=$flag |
15112 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15113 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15114 |
> |
ac_status=$? |
15115 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15116 |
> |
test $ac_status = 0; } |
15117 |
> |
|
15118 |
|
fi |
15119 |
|
|
15120 |
|
else |
15159 |
|
eval ac_res=\$$as_CACHEVAR |
15160 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15161 |
|
$as_echo "$ac_res" >&6; } |
15162 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15163 |
< |
if ${CFLAGS+:} false; then : |
15164 |
< |
case " $CFLAGS " in |
15165 |
< |
*" $flag "*) |
15166 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15162 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15163 |
> |
|
15164 |
> |
if ${CFLAGS+:} false; then : |
15165 |
> |
|
15166 |
> |
case " $CFLAGS " in #( |
15167 |
> |
*" $flag "*) : |
15168 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15169 |
|
(: CFLAGS already contains $flag) 2>&5 |
15170 |
|
ac_status=$? |
15171 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15172 |
< |
test $ac_status = 0; } |
15173 |
< |
;; |
15174 |
< |
*) |
15175 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15176 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15172 |
> |
test $ac_status = 0; } ;; #( |
15173 |
> |
*) : |
15174 |
> |
|
15175 |
> |
as_fn_append CFLAGS " $flag" |
15176 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15177 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15178 |
|
ac_status=$? |
15179 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15180 |
|
test $ac_status = 0; } |
15181 |
< |
CFLAGS="$CFLAGS $flag" |
15182 |
< |
;; |
15183 |
< |
esac |
15181 |
> |
;; |
15182 |
> |
esac |
15183 |
> |
|
15184 |
|
else |
15185 |
< |
CFLAGS="$flag" |
15185 |
> |
|
15186 |
> |
CFLAGS=$flag |
15187 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15188 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15189 |
> |
ac_status=$? |
15190 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15191 |
> |
test $ac_status = 0; } |
15192 |
> |
|
15193 |
|
fi |
15194 |
|
|
15195 |
|
else |
15234 |
|
eval ac_res=\$$as_CACHEVAR |
15235 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15236 |
|
$as_echo "$ac_res" >&6; } |
15237 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15238 |
< |
if ${CFLAGS+:} false; then : |
15239 |
< |
case " $CFLAGS " in |
15240 |
< |
*" $flag "*) |
15241 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15237 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15238 |
> |
|
15239 |
> |
if ${CFLAGS+:} false; then : |
15240 |
> |
|
15241 |
> |
case " $CFLAGS " in #( |
15242 |
> |
*" $flag "*) : |
15243 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15244 |
|
(: CFLAGS already contains $flag) 2>&5 |
15245 |
|
ac_status=$? |
15246 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15247 |
< |
test $ac_status = 0; } |
15248 |
< |
;; |
15249 |
< |
*) |
15250 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15251 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15247 |
> |
test $ac_status = 0; } ;; #( |
15248 |
> |
*) : |
15249 |
> |
|
15250 |
> |
as_fn_append CFLAGS " $flag" |
15251 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15252 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15253 |
|
ac_status=$? |
15254 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15255 |
|
test $ac_status = 0; } |
15256 |
< |
CFLAGS="$CFLAGS $flag" |
15257 |
< |
;; |
15258 |
< |
esac |
15256 |
> |
;; |
15257 |
> |
esac |
15258 |
> |
|
15259 |
|
else |
15260 |
< |
CFLAGS="$flag" |
15260 |
> |
|
15261 |
> |
CFLAGS=$flag |
15262 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15263 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15264 |
> |
ac_status=$? |
15265 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15266 |
> |
test $ac_status = 0; } |
15267 |
> |
|
15268 |
|
fi |
15269 |
|
|
15270 |
|
else |
15309 |
|
eval ac_res=\$$as_CACHEVAR |
15310 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15311 |
|
$as_echo "$ac_res" >&6; } |
15312 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15313 |
< |
if ${CFLAGS+:} false; then : |
15314 |
< |
case " $CFLAGS " in |
15315 |
< |
*" $flag "*) |
15316 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15312 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15313 |
> |
|
15314 |
> |
if ${CFLAGS+:} false; then : |
15315 |
> |
|
15316 |
> |
case " $CFLAGS " in #( |
15317 |
> |
*" $flag "*) : |
15318 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15319 |
|
(: CFLAGS already contains $flag) 2>&5 |
15320 |
|
ac_status=$? |
15321 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15322 |
< |
test $ac_status = 0; } |
15323 |
< |
;; |
15324 |
< |
*) |
15325 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15326 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15322 |
> |
test $ac_status = 0; } ;; #( |
15323 |
> |
*) : |
15324 |
> |
|
15325 |
> |
as_fn_append CFLAGS " $flag" |
15326 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15327 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15328 |
|
ac_status=$? |
15329 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15330 |
|
test $ac_status = 0; } |
15331 |
< |
CFLAGS="$CFLAGS $flag" |
15332 |
< |
;; |
15333 |
< |
esac |
15331 |
> |
;; |
15332 |
> |
esac |
15333 |
> |
|
15334 |
|
else |
15335 |
< |
CFLAGS="$flag" |
15335 |
> |
|
15336 |
> |
CFLAGS=$flag |
15337 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15338 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15339 |
> |
ac_status=$? |
15340 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15341 |
> |
test $ac_status = 0; } |
15342 |
> |
|
15343 |
|
fi |
15344 |
|
|
15345 |
|
else |
15384 |
|
eval ac_res=\$$as_CACHEVAR |
15385 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15386 |
|
$as_echo "$ac_res" >&6; } |
15387 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15388 |
< |
if ${CFLAGS+:} false; then : |
15389 |
< |
case " $CFLAGS " in |
15390 |
< |
*" $flag "*) |
15391 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15387 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15388 |
> |
|
15389 |
> |
if ${CFLAGS+:} false; then : |
15390 |
> |
|
15391 |
> |
case " $CFLAGS " in #( |
15392 |
> |
*" $flag "*) : |
15393 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15394 |
|
(: CFLAGS already contains $flag) 2>&5 |
15395 |
|
ac_status=$? |
15396 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15397 |
< |
test $ac_status = 0; } |
15398 |
< |
;; |
15399 |
< |
*) |
15400 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15401 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15397 |
> |
test $ac_status = 0; } ;; #( |
15398 |
> |
*) : |
15399 |
> |
|
15400 |
> |
as_fn_append CFLAGS " $flag" |
15401 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15402 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15403 |
|
ac_status=$? |
15404 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15405 |
|
test $ac_status = 0; } |
15406 |
< |
CFLAGS="$CFLAGS $flag" |
15407 |
< |
;; |
15408 |
< |
esac |
15406 |
> |
;; |
15407 |
> |
esac |
15408 |
> |
|
15409 |
|
else |
15410 |
< |
CFLAGS="$flag" |
15410 |
> |
|
15411 |
> |
CFLAGS=$flag |
15412 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15413 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15414 |
> |
ac_status=$? |
15415 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15416 |
> |
test $ac_status = 0; } |
15417 |
> |
|
15418 |
|
fi |
15419 |
|
|
15420 |
|
else |
15459 |
|
eval ac_res=\$$as_CACHEVAR |
15460 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15461 |
|
$as_echo "$ac_res" >&6; } |
15462 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15463 |
< |
if ${CFLAGS+:} false; then : |
15464 |
< |
case " $CFLAGS " in |
15465 |
< |
*" $flag "*) |
15466 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15462 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15463 |
> |
|
15464 |
> |
if ${CFLAGS+:} false; then : |
15465 |
> |
|
15466 |
> |
case " $CFLAGS " in #( |
15467 |
> |
*" $flag "*) : |
15468 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15469 |
|
(: CFLAGS already contains $flag) 2>&5 |
15470 |
|
ac_status=$? |
15471 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15472 |
< |
test $ac_status = 0; } |
15473 |
< |
;; |
15474 |
< |
*) |
15475 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15476 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15472 |
> |
test $ac_status = 0; } ;; #( |
15473 |
> |
*) : |
15474 |
> |
|
15475 |
> |
as_fn_append CFLAGS " $flag" |
15476 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15477 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15478 |
|
ac_status=$? |
15479 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15480 |
|
test $ac_status = 0; } |
15481 |
< |
CFLAGS="$CFLAGS $flag" |
15482 |
< |
;; |
15483 |
< |
esac |
15481 |
> |
;; |
15482 |
> |
esac |
15483 |
> |
|
15484 |
|
else |
15485 |
< |
CFLAGS="$flag" |
15485 |
> |
|
15486 |
> |
CFLAGS=$flag |
15487 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15488 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15489 |
> |
ac_status=$? |
15490 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15491 |
> |
test $ac_status = 0; } |
15492 |
> |
|
15493 |
|
fi |
15494 |
|
|
15495 |
|
else |
15534 |
|
eval ac_res=\$$as_CACHEVAR |
15535 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15536 |
|
$as_echo "$ac_res" >&6; } |
15537 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15538 |
< |
if ${CFLAGS+:} false; then : |
15539 |
< |
case " $CFLAGS " in |
15540 |
< |
*" $flag "*) |
15541 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15537 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15538 |
> |
|
15539 |
> |
if ${CFLAGS+:} false; then : |
15540 |
> |
|
15541 |
> |
case " $CFLAGS " in #( |
15542 |
> |
*" $flag "*) : |
15543 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15544 |
|
(: CFLAGS already contains $flag) 2>&5 |
15545 |
|
ac_status=$? |
15546 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15547 |
< |
test $ac_status = 0; } |
15548 |
< |
;; |
15549 |
< |
*) |
15550 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15551 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15547 |
> |
test $ac_status = 0; } ;; #( |
15548 |
> |
*) : |
15549 |
> |
|
15550 |
> |
as_fn_append CFLAGS " $flag" |
15551 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15552 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15553 |
|
ac_status=$? |
15554 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15555 |
|
test $ac_status = 0; } |
15556 |
< |
CFLAGS="$CFLAGS $flag" |
15557 |
< |
;; |
15558 |
< |
esac |
15556 |
> |
;; |
15557 |
> |
esac |
15558 |
> |
|
15559 |
|
else |
15560 |
< |
CFLAGS="$flag" |
15560 |
> |
|
15561 |
> |
CFLAGS=$flag |
15562 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15563 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15564 |
> |
ac_status=$? |
15565 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15566 |
> |
test $ac_status = 0; } |
15567 |
> |
|
15568 |
|
fi |
15569 |
|
|
15570 |
|
else |
15609 |
|
eval ac_res=\$$as_CACHEVAR |
15610 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15611 |
|
$as_echo "$ac_res" >&6; } |
15612 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15613 |
< |
if ${CFLAGS+:} false; then : |
15614 |
< |
case " $CFLAGS " in |
15615 |
< |
*" $flag "*) |
15616 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15612 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15613 |
> |
|
15614 |
> |
if ${CFLAGS+:} false; then : |
15615 |
> |
|
15616 |
> |
case " $CFLAGS " in #( |
15617 |
> |
*" $flag "*) : |
15618 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15619 |
|
(: CFLAGS already contains $flag) 2>&5 |
15620 |
|
ac_status=$? |
15621 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15622 |
< |
test $ac_status = 0; } |
15623 |
< |
;; |
15624 |
< |
*) |
15625 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15626 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15622 |
> |
test $ac_status = 0; } ;; #( |
15623 |
> |
*) : |
15624 |
> |
|
15625 |
> |
as_fn_append CFLAGS " $flag" |
15626 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15627 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15628 |
|
ac_status=$? |
15629 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15630 |
|
test $ac_status = 0; } |
15631 |
< |
CFLAGS="$CFLAGS $flag" |
15632 |
< |
;; |
15633 |
< |
esac |
15631 |
> |
;; |
15632 |
> |
esac |
15633 |
> |
|
15634 |
|
else |
15635 |
< |
CFLAGS="$flag" |
15635 |
> |
|
15636 |
> |
CFLAGS=$flag |
15637 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15638 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15639 |
> |
ac_status=$? |
15640 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15641 |
> |
test $ac_status = 0; } |
15642 |
> |
|
15643 |
|
fi |
15644 |
|
|
15645 |
|
else |
15684 |
|
eval ac_res=\$$as_CACHEVAR |
15685 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15686 |
|
$as_echo "$ac_res" >&6; } |
15687 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15688 |
< |
if ${CFLAGS+:} false; then : |
15689 |
< |
case " $CFLAGS " in |
15690 |
< |
*" $flag "*) |
15691 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15687 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15688 |
> |
|
15689 |
> |
if ${CFLAGS+:} false; then : |
15690 |
> |
|
15691 |
> |
case " $CFLAGS " in #( |
15692 |
> |
*" $flag "*) : |
15693 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15694 |
|
(: CFLAGS already contains $flag) 2>&5 |
15695 |
|
ac_status=$? |
15696 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15697 |
< |
test $ac_status = 0; } |
15698 |
< |
;; |
15699 |
< |
*) |
15700 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15701 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15697 |
> |
test $ac_status = 0; } ;; #( |
15698 |
> |
*) : |
15699 |
> |
|
15700 |
> |
as_fn_append CFLAGS " $flag" |
15701 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15702 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15703 |
|
ac_status=$? |
15704 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15705 |
|
test $ac_status = 0; } |
15706 |
< |
CFLAGS="$CFLAGS $flag" |
15707 |
< |
;; |
15708 |
< |
esac |
15706 |
> |
;; |
15707 |
> |
esac |
15708 |
> |
|
15709 |
|
else |
15710 |
< |
CFLAGS="$flag" |
15710 |
> |
|
15711 |
> |
CFLAGS=$flag |
15712 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15713 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15714 |
> |
ac_status=$? |
15715 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15716 |
> |
test $ac_status = 0; } |
15717 |
> |
|
15718 |
|
fi |
15719 |
|
|
15720 |
|
else |
15759 |
|
eval ac_res=\$$as_CACHEVAR |
15760 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15761 |
|
$as_echo "$ac_res" >&6; } |
15762 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15763 |
< |
if ${CFLAGS+:} false; then : |
15764 |
< |
case " $CFLAGS " in |
15765 |
< |
*" $flag "*) |
15766 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15762 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15763 |
> |
|
15764 |
> |
if ${CFLAGS+:} false; then : |
15765 |
> |
|
15766 |
> |
case " $CFLAGS " in #( |
15767 |
> |
*" $flag "*) : |
15768 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15769 |
|
(: CFLAGS already contains $flag) 2>&5 |
15770 |
|
ac_status=$? |
15771 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15772 |
< |
test $ac_status = 0; } |
15773 |
< |
;; |
15774 |
< |
*) |
15775 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15776 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15772 |
> |
test $ac_status = 0; } ;; #( |
15773 |
> |
*) : |
15774 |
> |
|
15775 |
> |
as_fn_append CFLAGS " $flag" |
15776 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15777 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15778 |
|
ac_status=$? |
15779 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15780 |
|
test $ac_status = 0; } |
15781 |
< |
CFLAGS="$CFLAGS $flag" |
15782 |
< |
;; |
15783 |
< |
esac |
15781 |
> |
;; |
15782 |
> |
esac |
15783 |
> |
|
15784 |
|
else |
15785 |
< |
CFLAGS="$flag" |
15785 |
> |
|
15786 |
> |
CFLAGS=$flag |
15787 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15788 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15789 |
> |
ac_status=$? |
15790 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15791 |
> |
test $ac_status = 0; } |
15792 |
> |
|
15793 |
|
fi |
15794 |
|
|
15795 |
|
else |
15834 |
|
eval ac_res=\$$as_CACHEVAR |
15835 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15836 |
|
$as_echo "$ac_res" >&6; } |
15837 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15838 |
< |
if ${CFLAGS+:} false; then : |
15839 |
< |
case " $CFLAGS " in |
15840 |
< |
*" $flag "*) |
15841 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15837 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15838 |
> |
|
15839 |
> |
if ${CFLAGS+:} false; then : |
15840 |
> |
|
15841 |
> |
case " $CFLAGS " in #( |
15842 |
> |
*" $flag "*) : |
15843 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15844 |
|
(: CFLAGS already contains $flag) 2>&5 |
15845 |
|
ac_status=$? |
15846 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15847 |
< |
test $ac_status = 0; } |
15848 |
< |
;; |
15849 |
< |
*) |
15850 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15851 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15847 |
> |
test $ac_status = 0; } ;; #( |
15848 |
> |
*) : |
15849 |
> |
|
15850 |
> |
as_fn_append CFLAGS " $flag" |
15851 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15852 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15853 |
|
ac_status=$? |
15854 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15855 |
|
test $ac_status = 0; } |
15856 |
< |
CFLAGS="$CFLAGS $flag" |
15857 |
< |
;; |
15858 |
< |
esac |
15856 |
> |
;; |
15857 |
> |
esac |
15858 |
> |
|
15859 |
|
else |
15860 |
< |
CFLAGS="$flag" |
15860 |
> |
|
15861 |
> |
CFLAGS=$flag |
15862 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15863 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15864 |
> |
ac_status=$? |
15865 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15866 |
> |
test $ac_status = 0; } |
15867 |
> |
|
15868 |
|
fi |
15869 |
|
|
15870 |
|
else |
15909 |
|
eval ac_res=\$$as_CACHEVAR |
15910 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15911 |
|
$as_echo "$ac_res" >&6; } |
15912 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15913 |
< |
if ${CFLAGS+:} false; then : |
15914 |
< |
case " $CFLAGS " in |
15915 |
< |
*" $flag "*) |
15916 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15912 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15913 |
> |
|
15914 |
> |
if ${CFLAGS+:} false; then : |
15915 |
> |
|
15916 |
> |
case " $CFLAGS " in #( |
15917 |
> |
*" $flag "*) : |
15918 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15919 |
|
(: CFLAGS already contains $flag) 2>&5 |
15920 |
|
ac_status=$? |
15921 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15922 |
< |
test $ac_status = 0; } |
15923 |
< |
;; |
15924 |
< |
*) |
15925 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15926 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15922 |
> |
test $ac_status = 0; } ;; #( |
15923 |
> |
*) : |
15924 |
> |
|
15925 |
> |
as_fn_append CFLAGS " $flag" |
15926 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15927 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15928 |
|
ac_status=$? |
15929 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15930 |
|
test $ac_status = 0; } |
15931 |
< |
CFLAGS="$CFLAGS $flag" |
15932 |
< |
;; |
15933 |
< |
esac |
15931 |
> |
;; |
15932 |
> |
esac |
15933 |
> |
|
15934 |
|
else |
15935 |
< |
CFLAGS="$flag" |
15935 |
> |
|
15936 |
> |
CFLAGS=$flag |
15937 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
15938 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
15939 |
> |
ac_status=$? |
15940 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15941 |
> |
test $ac_status = 0; } |
15942 |
> |
|
15943 |
|
fi |
15944 |
|
|
15945 |
|
else |
15984 |
|
eval ac_res=\$$as_CACHEVAR |
15985 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15986 |
|
$as_echo "$ac_res" >&6; } |
15987 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15988 |
< |
if ${CFLAGS+:} false; then : |
15989 |
< |
case " $CFLAGS " in |
15990 |
< |
*" $flag "*) |
15991 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15987 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
15988 |
> |
|
15989 |
> |
if ${CFLAGS+:} false; then : |
15990 |
> |
|
15991 |
> |
case " $CFLAGS " in #( |
15992 |
> |
*" $flag "*) : |
15993 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15994 |
|
(: CFLAGS already contains $flag) 2>&5 |
15995 |
|
ac_status=$? |
15996 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15997 |
< |
test $ac_status = 0; } |
15998 |
< |
;; |
15999 |
< |
*) |
16000 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
16001 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15997 |
> |
test $ac_status = 0; } ;; #( |
15998 |
> |
*) : |
15999 |
> |
|
16000 |
> |
as_fn_append CFLAGS " $flag" |
16001 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16002 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16003 |
|
ac_status=$? |
16004 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16005 |
|
test $ac_status = 0; } |
16006 |
< |
CFLAGS="$CFLAGS $flag" |
16007 |
< |
;; |
16008 |
< |
esac |
16006 |
> |
;; |
16007 |
> |
esac |
16008 |
> |
|
16009 |
|
else |
16010 |
< |
CFLAGS="$flag" |
16010 |
> |
|
16011 |
> |
CFLAGS=$flag |
16012 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16013 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16014 |
> |
ac_status=$? |
16015 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16016 |
> |
test $ac_status = 0; } |
16017 |
> |
|
16018 |
|
fi |
16019 |
|
|
16020 |
|
else |
16059 |
|
eval ac_res=\$$as_CACHEVAR |
16060 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
16061 |
|
$as_echo "$ac_res" >&6; } |
16062 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
16063 |
< |
if ${CFLAGS+:} false; then : |
16064 |
< |
case " $CFLAGS " in |
16065 |
< |
*" $flag "*) |
16066 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16062 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
16063 |
> |
|
16064 |
> |
if ${CFLAGS+:} false; then : |
16065 |
> |
|
16066 |
> |
case " $CFLAGS " in #( |
16067 |
> |
*" $flag "*) : |
16068 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16069 |
|
(: CFLAGS already contains $flag) 2>&5 |
16070 |
|
ac_status=$? |
16071 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16072 |
< |
test $ac_status = 0; } |
16073 |
< |
;; |
16074 |
< |
*) |
16075 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
16076 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
16072 |
> |
test $ac_status = 0; } ;; #( |
16073 |
> |
*) : |
16074 |
> |
|
16075 |
> |
as_fn_append CFLAGS " $flag" |
16076 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16077 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16078 |
|
ac_status=$? |
16079 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16080 |
|
test $ac_status = 0; } |
16081 |
< |
CFLAGS="$CFLAGS $flag" |
16082 |
< |
;; |
16083 |
< |
esac |
16081 |
> |
;; |
16082 |
> |
esac |
16083 |
> |
|
16084 |
|
else |
16085 |
< |
CFLAGS="$flag" |
16085 |
> |
|
16086 |
> |
CFLAGS=$flag |
16087 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16088 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16089 |
> |
ac_status=$? |
16090 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16091 |
> |
test $ac_status = 0; } |
16092 |
> |
|
16093 |
|
fi |
16094 |
|
|
16095 |
|
else |
16134 |
|
eval ac_res=\$$as_CACHEVAR |
16135 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
16136 |
|
$as_echo "$ac_res" >&6; } |
16137 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
16138 |
< |
if ${CFLAGS+:} false; then : |
16139 |
< |
case " $CFLAGS " in |
16140 |
< |
*" $flag "*) |
16141 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16137 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
16138 |
> |
|
16139 |
> |
if ${CFLAGS+:} false; then : |
16140 |
> |
|
16141 |
> |
case " $CFLAGS " in #( |
16142 |
> |
*" $flag "*) : |
16143 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16144 |
|
(: CFLAGS already contains $flag) 2>&5 |
16145 |
|
ac_status=$? |
16146 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16147 |
< |
test $ac_status = 0; } |
16148 |
< |
;; |
16149 |
< |
*) |
16150 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
16151 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
16147 |
> |
test $ac_status = 0; } ;; #( |
16148 |
> |
*) : |
16149 |
> |
|
16150 |
> |
as_fn_append CFLAGS " $flag" |
16151 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16152 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16153 |
|
ac_status=$? |
16154 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16155 |
|
test $ac_status = 0; } |
16156 |
< |
CFLAGS="$CFLAGS $flag" |
16157 |
< |
;; |
16158 |
< |
esac |
16156 |
> |
;; |
16157 |
> |
esac |
16158 |
> |
|
16159 |
|
else |
16160 |
< |
CFLAGS="$flag" |
16160 |
> |
|
16161 |
> |
CFLAGS=$flag |
16162 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16163 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16164 |
> |
ac_status=$? |
16165 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16166 |
> |
test $ac_status = 0; } |
16167 |
> |
|
16168 |
|
fi |
16169 |
|
|
16170 |
|
else |
16209 |
|
eval ac_res=\$$as_CACHEVAR |
16210 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
16211 |
|
$as_echo "$ac_res" >&6; } |
16212 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
16213 |
< |
if ${CFLAGS+:} false; then : |
16214 |
< |
case " $CFLAGS " in |
16215 |
< |
*" $flag "*) |
16216 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16212 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
16213 |
> |
|
16214 |
> |
if ${CFLAGS+:} false; then : |
16215 |
> |
|
16216 |
> |
case " $CFLAGS " in #( |
16217 |
> |
*" $flag "*) : |
16218 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16219 |
|
(: CFLAGS already contains $flag) 2>&5 |
16220 |
|
ac_status=$? |
16221 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16222 |
< |
test $ac_status = 0; } |
16223 |
< |
;; |
16224 |
< |
*) |
16225 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
16226 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
16222 |
> |
test $ac_status = 0; } ;; #( |
16223 |
> |
*) : |
16224 |
> |
|
16225 |
> |
as_fn_append CFLAGS " $flag" |
16226 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16227 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16228 |
|
ac_status=$? |
16229 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16230 |
|
test $ac_status = 0; } |
16231 |
< |
CFLAGS="$CFLAGS $flag" |
16232 |
< |
;; |
16233 |
< |
esac |
16231 |
> |
;; |
16232 |
> |
esac |
16233 |
> |
|
16234 |
|
else |
16235 |
< |
CFLAGS="$flag" |
16235 |
> |
|
16236 |
> |
CFLAGS=$flag |
16237 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16238 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16239 |
> |
ac_status=$? |
16240 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16241 |
> |
test $ac_status = 0; } |
16242 |
> |
|
16243 |
|
fi |
16244 |
|
|
16245 |
|
else |
16284 |
|
eval ac_res=\$$as_CACHEVAR |
16285 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
16286 |
|
$as_echo "$ac_res" >&6; } |
16287 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
16288 |
< |
if ${CFLAGS+:} false; then : |
16289 |
< |
case " $CFLAGS " in |
16290 |
< |
*" $flag "*) |
16291 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16287 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
16288 |
> |
|
16289 |
> |
if ${CFLAGS+:} false; then : |
16290 |
> |
|
16291 |
> |
case " $CFLAGS " in #( |
16292 |
> |
*" $flag "*) : |
16293 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16294 |
|
(: CFLAGS already contains $flag) 2>&5 |
16295 |
|
ac_status=$? |
16296 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16297 |
< |
test $ac_status = 0; } |
16298 |
< |
;; |
16299 |
< |
*) |
16300 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
16301 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
16297 |
> |
test $ac_status = 0; } ;; #( |
16298 |
> |
*) : |
16299 |
> |
|
16300 |
> |
as_fn_append CFLAGS " $flag" |
16301 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16302 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16303 |
|
ac_status=$? |
16304 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16305 |
|
test $ac_status = 0; } |
16306 |
< |
CFLAGS="$CFLAGS $flag" |
16307 |
< |
;; |
16308 |
< |
esac |
16306 |
> |
;; |
16307 |
> |
esac |
16308 |
> |
|
16309 |
|
else |
16310 |
< |
CFLAGS="$flag" |
16310 |
> |
|
16311 |
> |
CFLAGS=$flag |
16312 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16313 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16314 |
> |
ac_status=$? |
16315 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16316 |
> |
test $ac_status = 0; } |
16317 |
> |
|
16318 |
|
fi |
16319 |
|
|
16320 |
|
else |
16359 |
|
eval ac_res=\$$as_CACHEVAR |
16360 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
16361 |
|
$as_echo "$ac_res" >&6; } |
16362 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
16363 |
< |
if ${CFLAGS+:} false; then : |
16364 |
< |
case " $CFLAGS " in |
16365 |
< |
*" $flag "*) |
16366 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16362 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
16363 |
> |
|
16364 |
> |
if ${CFLAGS+:} false; then : |
16365 |
> |
|
16366 |
> |
case " $CFLAGS " in #( |
16367 |
> |
*" $flag "*) : |
16368 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16369 |
|
(: CFLAGS already contains $flag) 2>&5 |
16370 |
|
ac_status=$? |
16371 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16372 |
< |
test $ac_status = 0; } |
16373 |
< |
;; |
16374 |
< |
*) |
16375 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
16376 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
16372 |
> |
test $ac_status = 0; } ;; #( |
16373 |
> |
*) : |
16374 |
> |
|
16375 |
> |
as_fn_append CFLAGS " $flag" |
16376 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16377 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16378 |
|
ac_status=$? |
16379 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16380 |
|
test $ac_status = 0; } |
16381 |
< |
CFLAGS="$CFLAGS $flag" |
16382 |
< |
;; |
16383 |
< |
esac |
16381 |
> |
;; |
16382 |
> |
esac |
16383 |
> |
|
16384 |
|
else |
16385 |
< |
CFLAGS="$flag" |
16385 |
> |
|
16386 |
> |
CFLAGS=$flag |
16387 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16388 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16389 |
> |
ac_status=$? |
16390 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16391 |
> |
test $ac_status = 0; } |
16392 |
> |
|
16393 |
|
fi |
16394 |
|
|
16395 |
|
else |
16434 |
|
eval ac_res=\$$as_CACHEVAR |
16435 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
16436 |
|
$as_echo "$ac_res" >&6; } |
16437 |
< |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
16438 |
< |
if ${CFLAGS+:} false; then : |
16439 |
< |
case " $CFLAGS " in |
16440 |
< |
*" $flag "*) |
16441 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16437 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
16438 |
> |
|
16439 |
> |
if ${CFLAGS+:} false; then : |
16440 |
> |
|
16441 |
> |
case " $CFLAGS " in #( |
16442 |
> |
*" $flag "*) : |
16443 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
16444 |
|
(: CFLAGS already contains $flag) 2>&5 |
16445 |
|
ac_status=$? |
16446 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16447 |
< |
test $ac_status = 0; } |
16448 |
< |
;; |
16449 |
< |
*) |
16450 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
16451 |
< |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
16447 |
> |
test $ac_status = 0; } ;; #( |
16448 |
> |
*) : |
16449 |
> |
|
16450 |
> |
as_fn_append CFLAGS " $flag" |
16451 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16452 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16453 |
|
ac_status=$? |
16454 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16455 |
|
test $ac_status = 0; } |
16456 |
< |
CFLAGS="$CFLAGS $flag" |
16457 |
< |
;; |
16458 |
< |
esac |
16456 |
> |
;; |
16457 |
> |
esac |
16458 |
> |
|
16459 |
|
else |
16460 |
< |
CFLAGS="$flag" |
16460 |
> |
|
16461 |
> |
CFLAGS=$flag |
16462 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
16463 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
16464 |
> |
ac_status=$? |
16465 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
16466 |
> |
test $ac_status = 0; } |
16467 |
> |
|
16468 |
|
fi |
16469 |
|
|
16470 |
|
else |
16473 |
|
|
16474 |
|
done |
16475 |
|
|
16476 |
< |
fi |
16476 |
> |
|
16477 |
> |
fi |
16478 |
|
|
16479 |
|
|
16480 |
|
# Check whether --enable-openssl was given. |
16531 |
|
fi |
16532 |
|
|
16533 |
|
if test "$cf_enable_openssl" != "no"; then : |
16534 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 0.9.8o and above" >&5 |
16535 |
< |
$as_echo_n "checking for LibreSSL or OpenSSL 0.9.8o and above... " >&6; } |
16534 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 1.0.1d and above" >&5 |
16535 |
> |
$as_echo_n "checking for LibreSSL or OpenSSL 1.0.1d and above... " >&6; } |
16536 |
|
if test "$cross_compiling" = yes; then : |
16537 |
|
cf_openssl_version_ok=no |
16538 |
|
else |
16545 |
|
int |
16546 |
|
main () |
16547 |
|
{ |
16548 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL)); |
16548 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x1000104fL)); |
16549 |
|
; |
16550 |
|
return 0; |
16551 |
|
} |
16664 |
|
fi |
16665 |
|
fi |
16666 |
|
|
16667 |
< |
if test "$ac_cv_lib_ssl_SSL_connect" = yes; then |
16668 |
< |
ENABLE_SSL_TRUE= |
16669 |
< |
ENABLE_SSL_FALSE='#' |
16667 |
> |
|
16668 |
> |
# Check whether --enable-gnutls was given. |
16669 |
> |
if test "${enable_gnutls+set}" = set; then : |
16670 |
> |
enableval=$enable_gnutls; cf_enable_gnutls=$enableval |
16671 |
|
else |
16672 |
< |
ENABLE_SSL_TRUE='#' |
16673 |
< |
ENABLE_SSL_FALSE= |
16672 |
> |
cf_enable_gnutls="auto" |
16673 |
> |
fi |
16674 |
> |
|
16675 |
> |
|
16676 |
> |
if test "$cf_enable_openssl" != "auto" && |
16677 |
> |
test "$cf_enable_openssl" != "yes"; then |
16678 |
> |
if test "$cf_enable_gnutls" != "no"; then |
16679 |
> |
|
16680 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default" |
16681 |
> |
if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then : |
16682 |
> |
|
16683 |
> |
if test "$cross_compiling" = yes; then : |
16684 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
16685 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
16686 |
> |
as_fn_error $? "cannot run test program while cross compiling |
16687 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
16688 |
> |
else |
16689 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16690 |
> |
/* end confdefs.h. */ |
16691 |
> |
|
16692 |
> |
|
16693 |
> |
#include <gnutls/gnutls.h> |
16694 |
> |
#include <stdlib.h> |
16695 |
> |
int |
16696 |
> |
main () |
16697 |
> |
{ |
16698 |
> |
|
16699 |
> |
exit(!(GNUTLS_VERSION_NUMBER >= 0x030308)); |
16700 |
> |
; |
16701 |
> |
return 0; |
16702 |
> |
} |
16703 |
> |
_ACEOF |
16704 |
> |
if ac_fn_c_try_run "$LINENO"; then : |
16705 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_init in -lgnutls" >&5 |
16706 |
> |
$as_echo_n "checking for gnutls_init in -lgnutls... " >&6; } |
16707 |
> |
if ${ac_cv_lib_gnutls_gnutls_init+:} false; then : |
16708 |
> |
$as_echo_n "(cached) " >&6 |
16709 |
> |
else |
16710 |
> |
ac_check_lib_save_LIBS=$LIBS |
16711 |
> |
LIBS="-lgnutls $LIBS" |
16712 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16713 |
> |
/* end confdefs.h. */ |
16714 |
> |
|
16715 |
> |
/* Override any GCC internal prototype to avoid an error. |
16716 |
> |
Use char because int might match the return type of a GCC |
16717 |
> |
builtin and then its argument prototype would still apply. */ |
16718 |
> |
#ifdef __cplusplus |
16719 |
> |
extern "C" |
16720 |
> |
#endif |
16721 |
> |
char gnutls_init (); |
16722 |
> |
int |
16723 |
> |
main () |
16724 |
> |
{ |
16725 |
> |
return gnutls_init (); |
16726 |
> |
; |
16727 |
> |
return 0; |
16728 |
> |
} |
16729 |
> |
_ACEOF |
16730 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
16731 |
> |
ac_cv_lib_gnutls_gnutls_init=yes |
16732 |
> |
else |
16733 |
> |
ac_cv_lib_gnutls_gnutls_init=no |
16734 |
> |
fi |
16735 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
16736 |
> |
conftest$ac_exeext conftest.$ac_ext |
16737 |
> |
LIBS=$ac_check_lib_save_LIBS |
16738 |
> |
fi |
16739 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_init" >&5 |
16740 |
> |
$as_echo "$ac_cv_lib_gnutls_gnutls_init" >&6; } |
16741 |
> |
if test "x$ac_cv_lib_gnutls_gnutls_init" = xyes; then : |
16742 |
> |
cat >>confdefs.h <<_ACEOF |
16743 |
> |
#define HAVE_LIBGNUTLS 1 |
16744 |
> |
_ACEOF |
16745 |
> |
|
16746 |
> |
LIBS="-lgnutls $LIBS" |
16747 |
> |
|
16748 |
> |
fi |
16749 |
> |
|
16750 |
> |
fi |
16751 |
> |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
16752 |
> |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
16753 |
> |
fi |
16754 |
> |
|
16755 |
> |
fi |
16756 |
> |
|
16757 |
> |
|
16758 |
> |
|
16759 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GnuTLS 3.3.8 and above" >&5 |
16760 |
> |
$as_echo_n "checking for GnuTLS 3.3.8 and above... " >&6; } |
16761 |
> |
if test "$ac_cv_lib_gnutls_gnutls_init" = "yes"; then : |
16762 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
16763 |
> |
$as_echo "found" >&6; } |
16764 |
> |
else |
16765 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - GnuTLS support disabled" >&5 |
16766 |
> |
$as_echo "no - GnuTLS support disabled" >&6; } |
16767 |
> |
fi |
16768 |
> |
|
16769 |
> |
fi |
16770 |
> |
fi |
16771 |
> |
|
16772 |
> |
|
16773 |
> |
# Check whether --enable-libgeoip was given. |
16774 |
> |
if test "${enable_libgeoip+set}" = set; then : |
16775 |
> |
enableval=$enable_libgeoip; |
16776 |
> |
else |
16777 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
16778 |
> |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
16779 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
16780 |
> |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
16781 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
16782 |
> |
$as_echo_n "(cached) " >&6 |
16783 |
> |
else |
16784 |
> |
ac_func_search_save_LIBS=$LIBS |
16785 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16786 |
> |
/* end confdefs.h. */ |
16787 |
> |
|
16788 |
> |
/* Override any GCC internal prototype to avoid an error. |
16789 |
> |
Use char because int might match the return type of a GCC |
16790 |
> |
builtin and then its argument prototype would still apply. */ |
16791 |
> |
#ifdef __cplusplus |
16792 |
> |
extern "C" |
16793 |
> |
#endif |
16794 |
> |
char GeoIP_id_by_ipnum_v6_gl (); |
16795 |
> |
int |
16796 |
> |
main () |
16797 |
> |
{ |
16798 |
> |
return GeoIP_id_by_ipnum_v6_gl (); |
16799 |
> |
; |
16800 |
> |
return 0; |
16801 |
> |
} |
16802 |
> |
_ACEOF |
16803 |
> |
for ac_lib in '' GeoIP; do |
16804 |
> |
if test -z "$ac_lib"; then |
16805 |
> |
ac_res="none required" |
16806 |
> |
else |
16807 |
> |
ac_res=-l$ac_lib |
16808 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
16809 |
> |
fi |
16810 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
16811 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
16812 |
> |
fi |
16813 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
16814 |
> |
conftest$ac_exeext |
16815 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
16816 |
> |
break |
16817 |
> |
fi |
16818 |
> |
done |
16819 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
16820 |
> |
|
16821 |
> |
else |
16822 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
16823 |
> |
fi |
16824 |
> |
rm conftest.$ac_ext |
16825 |
> |
LIBS=$ac_func_search_save_LIBS |
16826 |
> |
fi |
16827 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
16828 |
> |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
16829 |
> |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
16830 |
> |
if test "$ac_res" != no; then : |
16831 |
> |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
16832 |
> |
|
16833 |
> |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
16834 |
> |
|
16835 |
> |
fi |
16836 |
> |
|
16837 |
> |
fi |
16838 |
> |
|
16839 |
> |
|
16840 |
|
fi |
16841 |
|
|
16842 |
|
|
17093 |
|
|
17094 |
|
|
17095 |
|
|
16380 |
– |
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
16381 |
– |
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
16382 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
16383 |
– |
fi |
17096 |
|
|
17097 |
|
: "${CONFIG_STATUS=./config.status}" |
17098 |
|
ac_write_fail=0 |
17490 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
17491 |
|
# values after options handling. |
17492 |
|
ac_log=" |
17493 |
< |
This file was extended by ircd-hybrid $as_me 8.2.1, which was |
17493 |
> |
This file was extended by ircd-hybrid $as_me TRUNK, which was |
17494 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
17495 |
|
|
17496 |
|
CONFIG_FILES = $CONFIG_FILES |
17556 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
17557 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
17558 |
|
ac_cs_version="\\ |
17559 |
< |
ircd-hybrid config.status 8.2.1 |
17559 |
> |
ircd-hybrid config.status TRUNK |
17560 |
|
configured by $0, generated by GNU Autoconf 2.69, |
17561 |
|
with options \\"\$ac_cs_config\\" |
17562 |
|
|
17691 |
|
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' |
17692 |
|
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
17693 |
|
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
17694 |
+ |
shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' |
17695 |
|
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
17696 |
|
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
17697 |
|
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
17812 |
|
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
17813 |
|
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
17814 |
|
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
17815 |
< |
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
17815 |
> |
configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' |
17816 |
> |
configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' |
17817 |
|
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
17818 |
|
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
17819 |
|
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
17931 |
|
postuninstall_cmds \ |
17932 |
|
finish_cmds \ |
17933 |
|
sys_lib_search_path_spec \ |
17934 |
< |
sys_lib_dlsearch_path_spec; do |
17934 |
> |
configure_time_dlsearch_path \ |
17935 |
> |
configure_time_lt_sys_library_path; do |
17936 |
|
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
17937 |
|
*[\\\\\\\`\\"\\\$]*) |
17938 |
|
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
18715 |
|
# The names of the tagged configurations supported by this script. |
18716 |
|
available_tags='' |
18717 |
|
|
18718 |
+ |
# Configured defaults for sys_lib_dlsearch_path munging. |
18719 |
+ |
: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} |
18720 |
+ |
|
18721 |
|
# ### BEGIN LIBTOOL CONFIG |
18722 |
|
|
18723 |
|
# Which release of libtool.m4 was used? |
18736 |
|
# Whether or not to optimize for fast installation. |
18737 |
|
fast_install=$enable_fast_install |
18738 |
|
|
18739 |
+ |
# Shared archive member basename,for filename based shared library versioning on AIX. |
18740 |
+ |
shared_archive_member_spec=$shared_archive_member_spec |
18741 |
+ |
|
18742 |
|
# Shell to use when invoking shell scripts. |
18743 |
|
SHELL=$lt_SHELL |
18744 |
|
|
18967 |
|
# Compile-time system search path for libraries. |
18968 |
|
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
18969 |
|
|
18970 |
< |
# Run-time system search path for libraries. |
18971 |
< |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
18970 |
> |
# Detected run-time system search path for libraries. |
18971 |
> |
sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path |
18972 |
> |
|
18973 |
> |
# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. |
18974 |
> |
configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path |
18975 |
|
|
18976 |
|
# Whether dlopen is supported. |
18977 |
|
dlopen_support=$enable_dlopen |
19122 |
|
|
19123 |
|
_LT_EOF |
19124 |
|
|
19125 |
+ |
cat <<'_LT_EOF' >> "$cfgfile" |
19126 |
+ |
|
19127 |
+ |
# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE |
19128 |
+ |
|
19129 |
+ |
# func_munge_path_list VARIABLE PATH |
19130 |
+ |
# ----------------------------------- |
19131 |
+ |
# VARIABLE is name of variable containing _space_ separated list of |
19132 |
+ |
# directories to be munged by the contents of PATH, which is string |
19133 |
+ |
# having a format: |
19134 |
+ |
# "DIR[:DIR]:" |
19135 |
+ |
# string "DIR[ DIR]" will be prepended to VARIABLE |
19136 |
+ |
# ":DIR[:DIR]" |
19137 |
+ |
# string "DIR[ DIR]" will be appended to VARIABLE |
19138 |
+ |
# "DIRP[:DIRP]::[DIRA:]DIRA" |
19139 |
+ |
# string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
19140 |
+ |
# "DIRA[ DIRA]" will be appended to VARIABLE |
19141 |
+ |
# "DIR[:DIR]" |
19142 |
+ |
# VARIABLE will be replaced by "DIR[ DIR]" |
19143 |
+ |
func_munge_path_list () |
19144 |
+ |
{ |
19145 |
+ |
case x$2 in |
19146 |
+ |
x) |
19147 |
+ |
;; |
19148 |
+ |
*:) |
19149 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
19150 |
+ |
;; |
19151 |
+ |
x:*) |
19152 |
+ |
eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
19153 |
+ |
;; |
19154 |
+ |
*::*) |
19155 |
+ |
eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
19156 |
+ |
eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
19157 |
+ |
;; |
19158 |
+ |
*) |
19159 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
19160 |
+ |
;; |
19161 |
+ |
esac |
19162 |
+ |
} |
19163 |
+ |
|
19164 |
+ |
|
19165 |
+ |
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
19166 |
+ |
func_cc_basename () |
19167 |
+ |
{ |
19168 |
+ |
for cc_temp in $*""; do |
19169 |
+ |
case $cc_temp in |
19170 |
+ |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
19171 |
+ |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
19172 |
+ |
\-*) ;; |
19173 |
+ |
*) break;; |
19174 |
+ |
esac |
19175 |
+ |
done |
19176 |
+ |
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
19177 |
+ |
} |
19178 |
+ |
|
19179 |
+ |
|
19180 |
+ |
# ### END FUNCTIONS SHARED WITH CONFIGURE |
19181 |
+ |
|
19182 |
+ |
_LT_EOF |
19183 |
+ |
|
19184 |
|
case $host_os in |
19185 |
|
aix3*) |
19186 |
|
cat <<\_LT_EOF >> "$cfgfile" |
19249 |
|
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
19250 |
|
fi |
19251 |
|
|
19252 |
+ |
|
19253 |
+ |
echo "###############################################################################" |
19254 |
+ |
echo "Configuration complete. Type make (or gmake on some *BSD machines) to compile." |
19255 |
+ |
echo |
19256 |
+ |
echo "ircd-hybrid will be installed in ${prefix}. To change this, run:" |
19257 |
+ |
echo " ./configure --prefix=DIRECTORY" |
19258 |
+ |
echo "###############################################################################" |