| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 4906 2014-11-22 21:40:31Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 4979 2014-12-05 14:16:27Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
|
# Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.1. |
| 5 |
|
# |
| 806 |
|
with_ltdl_include |
| 807 |
|
with_ltdl_lib |
| 808 |
|
enable_ltdl_install |
| 809 |
– |
enable_libgeoip |
| 809 |
|
enable_kqueue |
| 810 |
|
enable_epoll |
| 811 |
|
enable_devpoll |
| 814 |
|
enable_debugging |
| 815 |
|
enable_warnings |
| 816 |
|
enable_openssl |
| 817 |
+ |
enable_libgeoip |
| 818 |
|
' |
| 819 |
|
ac_precious_vars='build_alias |
| 820 |
|
host_alias |
| 1460 |
|
optimize for fast installation [default=yes] |
| 1461 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
| 1462 |
|
--enable-ltdl-install install libltdl |
| 1463 |
– |
--disable-libgeoip Disable GeoIP support |
| 1463 |
|
--enable-kqueue Force kqueue usage. |
| 1464 |
|
--enable-epoll Force epoll usage. |
| 1465 |
|
--enable-devpoll Force devpoll usage. |
| 1469 |
|
--enable-warnings Enable compiler warnings. |
| 1470 |
|
--enable-openssl=DIR Enable LibreSSL/OpenSSL support (DIR optional). |
| 1471 |
|
--disable-openssl Disable LibreSSL/OpenSSL support. |
| 1472 |
+ |
--disable-libgeoip Disable GeoIP support |
| 1473 |
|
|
| 1474 |
|
Optional Packages: |
| 1475 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 14212 |
|
fi |
| 14213 |
|
|
| 14214 |
|
|
| 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 |
– |
|
| 14215 |
|
|
| 14216 |
|
$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h |
| 14217 |
|
|
| 16311 |
|
fi |
| 16312 |
|
|
| 16313 |
|
|
| 16314 |
+ |
|
| 16315 |
+ |
# Check whether --enable-libgeoip was given. |
| 16316 |
+ |
if test "${enable_libgeoip+set}" = set; then : |
| 16317 |
+ |
enableval=$enable_libgeoip; |
| 16318 |
+ |
else |
| 16319 |
+ |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
| 16320 |
+ |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
| 16321 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
| 16322 |
+ |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
| 16323 |
+ |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 16324 |
+ |
$as_echo_n "(cached) " >&6 |
| 16325 |
+ |
else |
| 16326 |
+ |
ac_func_search_save_LIBS=$LIBS |
| 16327 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16328 |
+ |
/* end confdefs.h. */ |
| 16329 |
+ |
|
| 16330 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 16331 |
+ |
Use char because int might match the return type of a GCC |
| 16332 |
+ |
builtin and then its argument prototype would still apply. */ |
| 16333 |
+ |
#ifdef __cplusplus |
| 16334 |
+ |
extern "C" |
| 16335 |
+ |
#endif |
| 16336 |
+ |
char GeoIP_id_by_ipnum_v6_gl (); |
| 16337 |
+ |
int |
| 16338 |
+ |
main () |
| 16339 |
+ |
{ |
| 16340 |
+ |
return GeoIP_id_by_ipnum_v6_gl (); |
| 16341 |
+ |
; |
| 16342 |
+ |
return 0; |
| 16343 |
+ |
} |
| 16344 |
+ |
_ACEOF |
| 16345 |
+ |
for ac_lib in '' GeoIP; do |
| 16346 |
+ |
if test -z "$ac_lib"; then |
| 16347 |
+ |
ac_res="none required" |
| 16348 |
+ |
else |
| 16349 |
+ |
ac_res=-l$ac_lib |
| 16350 |
+ |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 16351 |
+ |
fi |
| 16352 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 16353 |
+ |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
| 16354 |
+ |
fi |
| 16355 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 16356 |
+ |
conftest$ac_exeext |
| 16357 |
+ |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 16358 |
+ |
break |
| 16359 |
+ |
fi |
| 16360 |
+ |
done |
| 16361 |
+ |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 16362 |
+ |
|
| 16363 |
+ |
else |
| 16364 |
+ |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
| 16365 |
+ |
fi |
| 16366 |
+ |
rm conftest.$ac_ext |
| 16367 |
+ |
LIBS=$ac_func_search_save_LIBS |
| 16368 |
+ |
fi |
| 16369 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
| 16370 |
+ |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
| 16371 |
+ |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
| 16372 |
+ |
if test "$ac_res" != no; then : |
| 16373 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 16374 |
+ |
|
| 16375 |
+ |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
| 16376 |
+ |
|
| 16377 |
+ |
fi |
| 16378 |
+ |
|
| 16379 |
+ |
fi |
| 16380 |
+ |
|
| 16381 |
+ |
|
| 16382 |
+ |
fi |
| 16383 |
+ |
|
| 16384 |
+ |
|
| 16385 |
|
|
| 16386 |
|
|
| 16387 |
|
prefix_NONE= |