| 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 5788 2015-04-05 18:07:10Z 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 8.2.7. |
| 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='8.2.7' |
| 597 |
> |
PACKAGE_STRING='ircd-hybrid 8.2.7' |
| 598 |
|
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
| 599 |
|
PACKAGE_URL='' |
| 600 |
|
|
| 669 |
|
LTDLDEPS |
| 670 |
|
LIBLTDL |
| 671 |
|
CPP |
| 672 |
+ |
LT_SYS_LIBRARY_PATH |
| 673 |
|
OTOOL64 |
| 674 |
|
OTOOL |
| 675 |
|
LIPO |
| 807 |
|
with_ltdl_include |
| 808 |
|
with_ltdl_lib |
| 809 |
|
enable_ltdl_install |
| 809 |
– |
enable_libgeoip |
| 810 |
|
enable_kqueue |
| 811 |
|
enable_epoll |
| 812 |
|
enable_devpoll |
| 815 |
|
enable_debugging |
| 816 |
|
enable_warnings |
| 817 |
|
enable_openssl |
| 818 |
+ |
enable_libgeoip |
| 819 |
|
' |
| 820 |
|
ac_precious_vars='build_alias |
| 821 |
|
host_alias |
| 827 |
|
CPPFLAGS |
| 828 |
|
YACC |
| 829 |
|
YFLAGS |
| 830 |
+ |
LT_SYS_LIBRARY_PATH |
| 831 |
|
CPP' |
| 832 |
|
|
| 833 |
|
|
| 1369 |
|
# Omit some internal or obsolete options to make the list less imposing. |
| 1370 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1371 |
|
cat <<_ACEOF |
| 1372 |
< |
\`configure' configures ircd-hybrid 8.2.1 to adapt to many kinds of systems. |
| 1372 |
> |
\`configure' configures ircd-hybrid 8.2.7 to adapt to many kinds of systems. |
| 1373 |
|
|
| 1374 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1375 |
|
|
| 1439 |
|
|
| 1440 |
|
if test -n "$ac_init_help"; then |
| 1441 |
|
case $ac_init_help in |
| 1442 |
< |
short | recursive ) echo "Configuration of ircd-hybrid 8.2.1:";; |
| 1442 |
> |
short | recursive ) echo "Configuration of ircd-hybrid 8.2.7:";; |
| 1443 |
|
esac |
| 1444 |
|
cat <<\_ACEOF |
| 1445 |
|
|
| 1462 |
|
optimize for fast installation [default=yes] |
| 1463 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
| 1464 |
|
--enable-ltdl-install install libltdl |
| 1463 |
– |
--disable-libgeoip Disable GeoIP support |
| 1465 |
|
--enable-kqueue Force kqueue usage. |
| 1466 |
|
--enable-epoll Force epoll usage. |
| 1467 |
|
--enable-devpoll Force devpoll usage. |
| 1471 |
|
--enable-warnings Enable compiler warnings. |
| 1472 |
|
--enable-openssl=DIR Enable LibreSSL/OpenSSL support (DIR optional). |
| 1473 |
|
--disable-openssl Disable LibreSSL/OpenSSL support. |
| 1474 |
+ |
--disable-libgeoip Disable GeoIP support |
| 1475 |
|
|
| 1476 |
|
Optional Packages: |
| 1477 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1502 |
|
YFLAGS The list of arguments that will be passed by default to $YACC. |
| 1503 |
|
This script will default YFLAGS to the empty string to avoid a |
| 1504 |
|
default value of `-d' given by some make applications. |
| 1505 |
+ |
LT_SYS_LIBRARY_PATH |
| 1506 |
+ |
User-defined run-time library search path. |
| 1507 |
|
CPP C preprocessor |
| 1508 |
|
|
| 1509 |
|
Use these variables to override the choices made by `configure' or to help |
| 1572 |
|
test -n "$ac_init_help" && exit $ac_status |
| 1573 |
|
if $ac_init_version; then |
| 1574 |
|
cat <<\_ACEOF |
| 1575 |
< |
ircd-hybrid configure 8.2.1 |
| 1575 |
> |
ircd-hybrid configure 8.2.7 |
| 1576 |
|
generated by GNU Autoconf 2.69 |
| 1577 |
|
|
| 1578 |
|
Copyright (C) 2012 Free Software Foundation, Inc. |
| 2041 |
|
This file contains any messages produced by compilers while |
| 2042 |
|
running configure, to aid debugging if configure makes a mistake. |
| 2043 |
|
|
| 2044 |
< |
It was created by ircd-hybrid $as_me 8.2.1, which was |
| 2044 |
> |
It was created by ircd-hybrid $as_me 8.2.7, which was |
| 2045 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 2046 |
|
|
| 2047 |
|
$ $0 $@ |
| 2400 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2401 |
|
|
| 2402 |
|
|
| 2403 |
< |
am__api_version='1.14' |
| 2403 |
> |
am__api_version='1.15' |
| 2404 |
|
|
| 2405 |
|
ac_aux_dir= |
| 2406 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2601 |
|
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
| 2602 |
|
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
| 2603 |
|
|
| 2604 |
< |
# expand $ac_aux_dir to an absolute path |
| 2605 |
< |
am_aux_dir=`cd $ac_aux_dir && pwd` |
| 2604 |
> |
# Expand $ac_aux_dir to an absolute path. |
| 2605 |
> |
am_aux_dir=`cd "$ac_aux_dir" && pwd` |
| 2606 |
|
|
| 2607 |
|
if test x"${MISSING+set}" != xset; then |
| 2608 |
|
case $am_aux_dir in |
| 2621 |
|
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
| 2622 |
|
fi |
| 2623 |
|
|
| 2624 |
< |
if test x"${install_sh}" != xset; then |
| 2624 |
> |
if test x"${install_sh+set}" != xset; then |
| 2625 |
|
case $am_aux_dir in |
| 2626 |
|
*\ * | *\ *) |
| 2627 |
|
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
| 2915 |
|
|
| 2916 |
|
# Define the identity of the package. |
| 2917 |
|
PACKAGE='ircd-hybrid' |
| 2918 |
< |
VERSION='8.2.1' |
| 2918 |
> |
VERSION='8.2.7' |
| 2919 |
|
|
| 2920 |
|
|
| 2921 |
|
cat >>confdefs.h <<_ACEOF |
| 2949 |
|
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 2950 |
|
mkdir_p='$(MKDIR_P)' |
| 2951 |
|
|
| 2952 |
< |
# We need awk for the "check" target. The system "awk" is bad on |
| 2953 |
< |
# some platforms. |
| 2952 |
> |
# We need awk for the "check" target (and possibly the TAP driver). The |
| 2953 |
> |
# system "awk" is bad on some platforms. |
| 2954 |
|
# Always define AMTAR for backward compatibility. Yes, it's still used |
| 2955 |
|
# in the wild :-( We should find a proper way to deprecate it ... |
| 2956 |
|
AMTAR='$${TAR-tar}' |
| 3008 |
|
fi |
| 3009 |
|
fi |
| 3010 |
|
|
| 3011 |
+ |
|
| 3012 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
| 3013 |
|
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
| 3014 |
|
# Check whether --enable-maintainer-mode was given. |
| 4480 |
|
|
| 4481 |
|
|
| 4482 |
|
|
| 4483 |
< |
macro_version='2.4.4' |
| 4484 |
< |
macro_revision='2.4.4' |
| 4483 |
> |
macro_version='2.4.6' |
| 4484 |
> |
macro_revision='2.4.6' |
| 4485 |
|
|
| 4486 |
|
|
| 4487 |
|
|
| 6903 |
|
|
| 6904 |
|
|
| 6905 |
|
|
| 6906 |
+ |
|
| 6907 |
+ |
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 6908 |
+ |
func_cc_basename () |
| 6909 |
+ |
{ |
| 6910 |
+ |
for cc_temp in $*""; do |
| 6911 |
+ |
case $cc_temp in |
| 6912 |
+ |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 6913 |
+ |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 6914 |
+ |
\-*) ;; |
| 6915 |
+ |
*) break;; |
| 6916 |
+ |
esac |
| 6917 |
+ |
done |
| 6918 |
+ |
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 6919 |
+ |
} |
| 6920 |
+ |
|
| 6921 |
|
# Check whether --enable-libtool-lock was given. |
| 6922 |
|
if test "${enable_libtool_lock+set}" = set; then : |
| 6923 |
|
enableval=$enable_libtool_lock; |
| 7925 |
|
;; |
| 7926 |
|
esac |
| 7927 |
|
|
| 7928 |
+ |
# func_munge_path_list VARIABLE PATH |
| 7929 |
+ |
# ----------------------------------- |
| 7930 |
+ |
# VARIABLE is name of variable containing _space_ separated list of |
| 7931 |
+ |
# directories to be munged by the contents of PATH, which is string |
| 7932 |
+ |
# having a format: |
| 7933 |
+ |
# "DIR[:DIR]:" |
| 7934 |
+ |
# string "DIR[ DIR]" will be prepended to VARIABLE |
| 7935 |
+ |
# ":DIR[:DIR]" |
| 7936 |
+ |
# string "DIR[ DIR]" will be appended to VARIABLE |
| 7937 |
+ |
# "DIRP[:DIRP]::[DIRA:]DIRA" |
| 7938 |
+ |
# string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
| 7939 |
+ |
# "DIRA[ DIRA]" will be appended to VARIABLE |
| 7940 |
+ |
# "DIR[:DIR]" |
| 7941 |
+ |
# VARIABLE will be replaced by "DIR[ DIR]" |
| 7942 |
+ |
func_munge_path_list () |
| 7943 |
+ |
{ |
| 7944 |
+ |
case x$2 in |
| 7945 |
+ |
x) |
| 7946 |
+ |
;; |
| 7947 |
+ |
*:) |
| 7948 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
| 7949 |
+ |
;; |
| 7950 |
+ |
x:*) |
| 7951 |
+ |
eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
| 7952 |
+ |
;; |
| 7953 |
+ |
*::*) |
| 7954 |
+ |
eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
| 7955 |
+ |
eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
| 7956 |
+ |
;; |
| 7957 |
+ |
*) |
| 7958 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
| 7959 |
+ |
;; |
| 7960 |
+ |
esac |
| 7961 |
+ |
} |
| 7962 |
+ |
|
| 7963 |
|
ac_ext=c |
| 7964 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 7965 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 8545 |
|
test -z "$LD" && LD=ld |
| 8546 |
|
test -z "$ac_objext" && ac_objext=o |
| 8547 |
|
|
| 8548 |
< |
for cc_temp in $compiler""; do |
| 8549 |
< |
case $cc_temp in |
| 8495 |
< |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 8496 |
< |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 8497 |
< |
\-*) ;; |
| 8498 |
< |
*) break;; |
| 8499 |
< |
esac |
| 8500 |
< |
done |
| 8501 |
< |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 8548 |
> |
func_cc_basename $compiler |
| 8549 |
> |
cc_basename=$func_cc_basename_result |
| 8550 |
|
|
| 8551 |
|
|
| 8552 |
|
# Only perform the check for file, if the check method requires it |
| 11005 |
|
# flags to be left without arguments |
| 11006 |
|
need_version=unknown |
| 11007 |
|
|
| 11008 |
+ |
|
| 11009 |
+ |
|
| 11010 |
|
case $host_os in |
| 11011 |
|
aix3*) |
| 11012 |
|
version_type=linux # correct to gnu/linux during the next big refactor |
| 11295 |
|
case $version_type in |
| 11296 |
|
freebsd-elf*) |
| 11297 |
|
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 11298 |
+ |
soname_spec='$libname$release$shared_ext$major' |
| 11299 |
|
need_version=no |
| 11300 |
|
need_lib_prefix=no |
| 11301 |
|
;; |
| 11355 |
|
soname_spec='$libname$release$shared_ext$major' |
| 11356 |
|
if test 32 = "$HPUX_IA64_MODE"; then |
| 11357 |
|
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
| 11358 |
+ |
sys_lib_dlsearch_path_spec=/usr/lib/hpux32 |
| 11359 |
|
else |
| 11360 |
|
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
| 11361 |
+ |
sys_lib_dlsearch_path_spec=/usr/lib/hpux64 |
| 11362 |
|
fi |
| 11310 |
– |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 11363 |
|
;; |
| 11364 |
|
hppa*64*) |
| 11365 |
|
shrext_cmds='.sl' |
| 11511 |
|
# before this can be enabled. |
| 11512 |
|
hardcode_into_libs=yes |
| 11513 |
|
|
| 11514 |
< |
# Append ld.so.conf contents to the search path |
| 11514 |
> |
# Ideally, we could use ldconfig to report *all* directores which are |
| 11515 |
> |
# searched for libraries, however this is still not possible. Aside from not |
| 11516 |
> |
# being certain /sbin/ldconfig is available, command |
| 11517 |
> |
# 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, |
| 11518 |
> |
# even though it is searched at run-time. Try to do the best guess by |
| 11519 |
> |
# appending ld.so.conf contents (and includes) to the search path. |
| 11520 |
|
if test -f /etc/ld.so.conf; then |
| 11521 |
|
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' ' '` |
| 11522 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 11741 |
|
if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then |
| 11742 |
|
sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec |
| 11743 |
|
fi |
| 11744 |
+ |
|
| 11745 |
|
if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then |
| 11746 |
|
sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec |
| 11747 |
|
fi |
| 11748 |
|
|
| 11749 |
+ |
# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... |
| 11750 |
+ |
configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec |
| 11751 |
+ |
|
| 11752 |
+ |
# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code |
| 11753 |
+ |
func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" |
| 11754 |
+ |
|
| 11755 |
+ |
# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool |
| 11756 |
+ |
configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH |
| 11757 |
+ |
|
| 11758 |
+ |
|
| 11759 |
+ |
|
| 11760 |
+ |
|
| 11761 |
+ |
|
| 11762 |
+ |
|
| 11763 |
|
|
| 11764 |
|
|
| 11765 |
|
|
| 14284 |
|
fi |
| 14285 |
|
|
| 14286 |
|
|
| 14215 |
– |
# Check whether --enable-libgeoip was given. |
| 14216 |
– |
if test "${enable_libgeoip+set}" = set; then : |
| 14217 |
– |
enableval=$enable_libgeoip; |
| 14218 |
– |
else |
| 14219 |
– |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
| 14220 |
– |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
| 14221 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
| 14222 |
– |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
| 14223 |
– |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 14224 |
– |
$as_echo_n "(cached) " >&6 |
| 14225 |
– |
else |
| 14226 |
– |
ac_func_search_save_LIBS=$LIBS |
| 14227 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14228 |
– |
/* end confdefs.h. */ |
| 14229 |
– |
|
| 14230 |
– |
/* Override any GCC internal prototype to avoid an error. |
| 14231 |
– |
Use char because int might match the return type of a GCC |
| 14232 |
– |
builtin and then its argument prototype would still apply. */ |
| 14233 |
– |
#ifdef __cplusplus |
| 14234 |
– |
extern "C" |
| 14235 |
– |
#endif |
| 14236 |
– |
char GeoIP_id_by_ipnum_v6_gl (); |
| 14237 |
– |
int |
| 14238 |
– |
main () |
| 14239 |
– |
{ |
| 14240 |
– |
return GeoIP_id_by_ipnum_v6_gl (); |
| 14241 |
– |
; |
| 14242 |
– |
return 0; |
| 14243 |
– |
} |
| 14244 |
– |
_ACEOF |
| 14245 |
– |
for ac_lib in '' GeoIP; do |
| 14246 |
– |
if test -z "$ac_lib"; then |
| 14247 |
– |
ac_res="none required" |
| 14248 |
– |
else |
| 14249 |
– |
ac_res=-l$ac_lib |
| 14250 |
– |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 14251 |
– |
fi |
| 14252 |
– |
if ac_fn_c_try_link "$LINENO"; then : |
| 14253 |
– |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
| 14254 |
– |
fi |
| 14255 |
– |
rm -f core conftest.err conftest.$ac_objext \ |
| 14256 |
– |
conftest$ac_exeext |
| 14257 |
– |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 14258 |
– |
break |
| 14259 |
– |
fi |
| 14260 |
– |
done |
| 14261 |
– |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 14262 |
– |
|
| 14263 |
– |
else |
| 14264 |
– |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
| 14265 |
– |
fi |
| 14266 |
– |
rm conftest.$ac_ext |
| 14267 |
– |
LIBS=$ac_func_search_save_LIBS |
| 14268 |
– |
fi |
| 14269 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
| 14270 |
– |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
| 14271 |
– |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
| 14272 |
– |
if test "$ac_res" != no; then : |
| 14273 |
– |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 14274 |
– |
|
| 14275 |
– |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
| 14276 |
– |
|
| 14277 |
– |
fi |
| 14278 |
– |
|
| 14279 |
– |
fi |
| 14280 |
– |
|
| 14281 |
– |
|
| 14282 |
– |
fi |
| 14283 |
– |
|
| 14284 |
– |
|
| 14287 |
|
|
| 14288 |
|
$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h |
| 14289 |
|
|
| 16384 |
|
|
| 16385 |
|
|
| 16386 |
|
|
| 16387 |
+ |
# Check whether --enable-libgeoip was given. |
| 16388 |
+ |
if test "${enable_libgeoip+set}" = set; then : |
| 16389 |
+ |
enableval=$enable_libgeoip; |
| 16390 |
+ |
else |
| 16391 |
+ |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
| 16392 |
+ |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
| 16393 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
| 16394 |
+ |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
| 16395 |
+ |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 16396 |
+ |
$as_echo_n "(cached) " >&6 |
| 16397 |
+ |
else |
| 16398 |
+ |
ac_func_search_save_LIBS=$LIBS |
| 16399 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16400 |
+ |
/* end confdefs.h. */ |
| 16401 |
+ |
|
| 16402 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 16403 |
+ |
Use char because int might match the return type of a GCC |
| 16404 |
+ |
builtin and then its argument prototype would still apply. */ |
| 16405 |
+ |
#ifdef __cplusplus |
| 16406 |
+ |
extern "C" |
| 16407 |
+ |
#endif |
| 16408 |
+ |
char GeoIP_id_by_ipnum_v6_gl (); |
| 16409 |
+ |
int |
| 16410 |
+ |
main () |
| 16411 |
+ |
{ |
| 16412 |
+ |
return GeoIP_id_by_ipnum_v6_gl (); |
| 16413 |
+ |
; |
| 16414 |
+ |
return 0; |
| 16415 |
+ |
} |
| 16416 |
+ |
_ACEOF |
| 16417 |
+ |
for ac_lib in '' GeoIP; do |
| 16418 |
+ |
if test -z "$ac_lib"; then |
| 16419 |
+ |
ac_res="none required" |
| 16420 |
+ |
else |
| 16421 |
+ |
ac_res=-l$ac_lib |
| 16422 |
+ |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 16423 |
+ |
fi |
| 16424 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 16425 |
+ |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
| 16426 |
+ |
fi |
| 16427 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 16428 |
+ |
conftest$ac_exeext |
| 16429 |
+ |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 16430 |
+ |
break |
| 16431 |
+ |
fi |
| 16432 |
+ |
done |
| 16433 |
+ |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 16434 |
+ |
|
| 16435 |
+ |
else |
| 16436 |
+ |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
| 16437 |
+ |
fi |
| 16438 |
+ |
rm conftest.$ac_ext |
| 16439 |
+ |
LIBS=$ac_func_search_save_LIBS |
| 16440 |
+ |
fi |
| 16441 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
| 16442 |
+ |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
| 16443 |
+ |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
| 16444 |
+ |
if test "$ac_res" != no; then : |
| 16445 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 16446 |
+ |
|
| 16447 |
+ |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
| 16448 |
+ |
|
| 16449 |
+ |
fi |
| 16450 |
+ |
|
| 16451 |
+ |
fi |
| 16452 |
+ |
|
| 16453 |
+ |
|
| 16454 |
+ |
fi |
| 16455 |
+ |
|
| 16456 |
+ |
|
| 16457 |
+ |
|
| 16458 |
|
|
| 16459 |
|
prefix_NONE= |
| 16460 |
|
exec_prefix_NONE= |
| 17108 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 17109 |
|
# values after options handling. |
| 17110 |
|
ac_log=" |
| 17111 |
< |
This file was extended by ircd-hybrid $as_me 8.2.1, which was |
| 17111 |
> |
This file was extended by ircd-hybrid $as_me 8.2.7, which was |
| 17112 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 17113 |
|
|
| 17114 |
|
CONFIG_FILES = $CONFIG_FILES |
| 17174 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 17175 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 17176 |
|
ac_cs_version="\\ |
| 17177 |
< |
ircd-hybrid config.status 8.2.1 |
| 17177 |
> |
ircd-hybrid config.status 8.2.7 |
| 17178 |
|
configured by $0, generated by GNU Autoconf 2.69, |
| 17179 |
|
with options \\"\$ac_cs_config\\" |
| 17180 |
|
|
| 17430 |
|
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
| 17431 |
|
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
| 17432 |
|
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
| 17433 |
< |
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
| 17433 |
> |
configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' |
| 17434 |
> |
configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' |
| 17435 |
|
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
| 17436 |
|
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
| 17437 |
|
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
| 17549 |
|
postuninstall_cmds \ |
| 17550 |
|
finish_cmds \ |
| 17551 |
|
sys_lib_search_path_spec \ |
| 17552 |
< |
sys_lib_dlsearch_path_spec; do |
| 17552 |
> |
configure_time_dlsearch_path \ |
| 17553 |
> |
configure_time_lt_sys_library_path; do |
| 17554 |
|
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 17555 |
|
*[\\\\\\\`\\"\\\$]*) |
| 17556 |
|
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
| 18333 |
|
# The names of the tagged configurations supported by this script. |
| 18334 |
|
available_tags='' |
| 18335 |
|
|
| 18336 |
+ |
# Configured defaults for sys_lib_dlsearch_path munging. |
| 18337 |
+ |
: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} |
| 18338 |
+ |
|
| 18339 |
|
# ### BEGIN LIBTOOL CONFIG |
| 18340 |
|
|
| 18341 |
|
# Which release of libtool.m4 was used? |
| 18585 |
|
# Compile-time system search path for libraries. |
| 18586 |
|
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
| 18587 |
|
|
| 18588 |
< |
# Run-time system search path for libraries. |
| 18589 |
< |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
| 18588 |
> |
# Detected run-time system search path for libraries. |
| 18589 |
> |
sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path |
| 18590 |
> |
|
| 18591 |
> |
# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. |
| 18592 |
> |
configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path |
| 18593 |
|
|
| 18594 |
|
# Whether dlopen is supported. |
| 18595 |
|
dlopen_support=$enable_dlopen |
| 18740 |
|
|
| 18741 |
|
_LT_EOF |
| 18742 |
|
|
| 18743 |
+ |
cat <<'_LT_EOF' >> "$cfgfile" |
| 18744 |
+ |
|
| 18745 |
+ |
# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE |
| 18746 |
+ |
|
| 18747 |
+ |
# func_munge_path_list VARIABLE PATH |
| 18748 |
+ |
# ----------------------------------- |
| 18749 |
+ |
# VARIABLE is name of variable containing _space_ separated list of |
| 18750 |
+ |
# directories to be munged by the contents of PATH, which is string |
| 18751 |
+ |
# having a format: |
| 18752 |
+ |
# "DIR[:DIR]:" |
| 18753 |
+ |
# string "DIR[ DIR]" will be prepended to VARIABLE |
| 18754 |
+ |
# ":DIR[:DIR]" |
| 18755 |
+ |
# string "DIR[ DIR]" will be appended to VARIABLE |
| 18756 |
+ |
# "DIRP[:DIRP]::[DIRA:]DIRA" |
| 18757 |
+ |
# string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
| 18758 |
+ |
# "DIRA[ DIRA]" will be appended to VARIABLE |
| 18759 |
+ |
# "DIR[:DIR]" |
| 18760 |
+ |
# VARIABLE will be replaced by "DIR[ DIR]" |
| 18761 |
+ |
func_munge_path_list () |
| 18762 |
+ |
{ |
| 18763 |
+ |
case x$2 in |
| 18764 |
+ |
x) |
| 18765 |
+ |
;; |
| 18766 |
+ |
*:) |
| 18767 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
| 18768 |
+ |
;; |
| 18769 |
+ |
x:*) |
| 18770 |
+ |
eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
| 18771 |
+ |
;; |
| 18772 |
+ |
*::*) |
| 18773 |
+ |
eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
| 18774 |
+ |
eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
| 18775 |
+ |
;; |
| 18776 |
+ |
*) |
| 18777 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
| 18778 |
+ |
;; |
| 18779 |
+ |
esac |
| 18780 |
+ |
} |
| 18781 |
+ |
|
| 18782 |
+ |
|
| 18783 |
+ |
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 18784 |
+ |
func_cc_basename () |
| 18785 |
+ |
{ |
| 18786 |
+ |
for cc_temp in $*""; do |
| 18787 |
+ |
case $cc_temp in |
| 18788 |
+ |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 18789 |
+ |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 18790 |
+ |
\-*) ;; |
| 18791 |
+ |
*) break;; |
| 18792 |
+ |
esac |
| 18793 |
+ |
done |
| 18794 |
+ |
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 18795 |
+ |
} |
| 18796 |
+ |
|
| 18797 |
+ |
|
| 18798 |
+ |
# ### END FUNCTIONS SHARED WITH CONFIGURE |
| 18799 |
+ |
|
| 18800 |
+ |
_LT_EOF |
| 18801 |
+ |
|
| 18802 |
|
case $host_os in |
| 18803 |
|
aix3*) |
| 18804 |
|
cat <<\_LT_EOF >> "$cfgfile" |
| 18867 |
|
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 18868 |
|
fi |
| 18869 |
|
|
| 18870 |
+ |
|
| 18871 |
+ |
echo "###############################################################################" |
| 18872 |
+ |
echo "Configuration complete. Type make (or gmake on some *BSD machines) to compile." |
| 18873 |
+ |
echo |
| 18874 |
+ |
echo "ircd-hybrid will be installed in ${prefix}. To change this, run:" |
| 18875 |
+ |
echo " ./configure --prefix=DIRECTORY" |
| 18876 |
+ |
echo "###############################################################################" |