| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 5313 2015-01-06 13:27:21Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 6103 2015-06-11 12:40:02Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
< |
# Generated by GNU Autoconf 2.69 for hopm 1.0.2. |
| 4 |
> |
# Generated by GNU Autoconf 2.69 for hopm 1.0.7. |
| 5 |
|
# |
| 6 |
|
# Report bugs to <bugs@ircd-hybrid.org>. |
| 7 |
|
# |
| 591 |
|
# Identity of this package. |
| 592 |
|
PACKAGE_NAME='hopm' |
| 593 |
|
PACKAGE_TARNAME='hopm' |
| 594 |
< |
PACKAGE_VERSION='1.0.2' |
| 595 |
< |
PACKAGE_STRING='hopm 1.0.2' |
| 594 |
> |
PACKAGE_VERSION='1.0.7' |
| 595 |
> |
PACKAGE_STRING='hopm 1.0.7' |
| 596 |
|
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
| 597 |
|
PACKAGE_URL='' |
| 598 |
|
|
| 644 |
|
YFLAGS |
| 645 |
|
YACC |
| 646 |
|
CPP |
| 647 |
+ |
LT_SYS_LIBRARY_PATH |
| 648 |
|
OTOOL64 |
| 649 |
|
OTOOL |
| 650 |
|
LIPO |
| 773 |
|
with_gnu_ld |
| 774 |
|
with_sysroot |
| 775 |
|
enable_libtool_lock |
| 776 |
+ |
enable_assert |
| 777 |
|
' |
| 778 |
|
ac_precious_vars='build_alias |
| 779 |
|
host_alias |
| 783 |
|
LDFLAGS |
| 784 |
|
LIBS |
| 785 |
|
CPPFLAGS |
| 786 |
+ |
LT_SYS_LIBRARY_PATH |
| 787 |
|
CPP |
| 788 |
|
YACC |
| 789 |
|
YFLAGS' |
| 1327 |
|
# Omit some internal or obsolete options to make the list less imposing. |
| 1328 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1329 |
|
cat <<_ACEOF |
| 1330 |
< |
\`configure' configures hopm 1.0.2 to adapt to many kinds of systems. |
| 1330 |
> |
\`configure' configures hopm 1.0.7 to adapt to many kinds of systems. |
| 1331 |
|
|
| 1332 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1333 |
|
|
| 1397 |
|
|
| 1398 |
|
if test -n "$ac_init_help"; then |
| 1399 |
|
case $ac_init_help in |
| 1400 |
< |
short | recursive ) echo "Configuration of hopm 1.0.2:";; |
| 1400 |
> |
short | recursive ) echo "Configuration of hopm 1.0.7:";; |
| 1401 |
|
esac |
| 1402 |
|
cat <<\_ACEOF |
| 1403 |
|
|
| 1419 |
|
--enable-fast-install[=PKGS] |
| 1420 |
|
optimize for fast installation [default=yes] |
| 1421 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
| 1422 |
+ |
--enable-assert Enable assert() statements |
| 1423 |
|
|
| 1424 |
|
Optional Packages: |
| 1425 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1441 |
|
LIBS libraries to pass to the linker, e.g. -l<library> |
| 1442 |
|
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
| 1443 |
|
you have headers in a nonstandard directory <include dir> |
| 1444 |
+ |
LT_SYS_LIBRARY_PATH |
| 1445 |
+ |
User-defined run-time library search path. |
| 1446 |
|
CPP C preprocessor |
| 1447 |
|
YACC The `Yet Another Compiler Compiler' implementation to use. |
| 1448 |
|
Defaults to the first program found out of: `bison -y', `byacc', |
| 1517 |
|
test -n "$ac_init_help" && exit $ac_status |
| 1518 |
|
if $ac_init_version; then |
| 1519 |
|
cat <<\_ACEOF |
| 1520 |
< |
hopm configure 1.0.2 |
| 1520 |
> |
hopm configure 1.0.7 |
| 1521 |
|
generated by GNU Autoconf 2.69 |
| 1522 |
|
|
| 1523 |
|
Copyright (C) 2012 Free Software Foundation, Inc. |
| 1795 |
|
This file contains any messages produced by compilers while |
| 1796 |
|
running configure, to aid debugging if configure makes a mistake. |
| 1797 |
|
|
| 1798 |
< |
It was created by hopm $as_me 1.0.2, which was |
| 1798 |
> |
It was created by hopm $as_me 1.0.7, which was |
| 1799 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 1800 |
|
|
| 1801 |
|
$ $0 $@ |
| 2658 |
|
|
| 2659 |
|
# Define the identity of the package. |
| 2660 |
|
PACKAGE='hopm' |
| 2661 |
< |
VERSION='1.0.2' |
| 2661 |
> |
VERSION='1.0.7' |
| 2662 |
|
|
| 2663 |
|
|
| 2664 |
|
cat >>confdefs.h <<_ACEOF |
| 2779 |
|
|
| 2780 |
|
|
| 2781 |
|
|
| 2782 |
+ |
|
| 2783 |
|
DEPDIR="${am__leading_dot}deps" |
| 2784 |
|
|
| 2785 |
|
ac_config_commands="$ac_config_commands depfiles" |
| 4007 |
|
|
| 4008 |
|
|
| 4009 |
|
|
| 4010 |
< |
macro_version='2.4.4' |
| 4011 |
< |
macro_revision='2.4.4' |
| 4010 |
> |
macro_version='2.4.6' |
| 4011 |
> |
macro_revision='2.4.6' |
| 4012 |
|
|
| 4013 |
|
|
| 4014 |
|
|
| 6431 |
|
|
| 6432 |
|
|
| 6433 |
|
|
| 6434 |
+ |
|
| 6435 |
+ |
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 6436 |
+ |
func_cc_basename () |
| 6437 |
+ |
{ |
| 6438 |
+ |
for cc_temp in $*""; do |
| 6439 |
+ |
case $cc_temp in |
| 6440 |
+ |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 6441 |
+ |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 6442 |
+ |
\-*) ;; |
| 6443 |
+ |
*) break;; |
| 6444 |
+ |
esac |
| 6445 |
+ |
done |
| 6446 |
+ |
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 6447 |
+ |
} |
| 6448 |
+ |
|
| 6449 |
|
# Check whether --enable-libtool-lock was given. |
| 6450 |
|
if test "${enable_libtool_lock+set}" = set; then : |
| 6451 |
|
enableval=$enable_libtool_lock; |
| 7453 |
|
;; |
| 7454 |
|
esac |
| 7455 |
|
|
| 7456 |
+ |
# func_munge_path_list VARIABLE PATH |
| 7457 |
+ |
# ----------------------------------- |
| 7458 |
+ |
# VARIABLE is name of variable containing _space_ separated list of |
| 7459 |
+ |
# directories to be munged by the contents of PATH, which is string |
| 7460 |
+ |
# having a format: |
| 7461 |
+ |
# "DIR[:DIR]:" |
| 7462 |
+ |
# string "DIR[ DIR]" will be prepended to VARIABLE |
| 7463 |
+ |
# ":DIR[:DIR]" |
| 7464 |
+ |
# string "DIR[ DIR]" will be appended to VARIABLE |
| 7465 |
+ |
# "DIRP[:DIRP]::[DIRA:]DIRA" |
| 7466 |
+ |
# string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
| 7467 |
+ |
# "DIRA[ DIRA]" will be appended to VARIABLE |
| 7468 |
+ |
# "DIR[:DIR]" |
| 7469 |
+ |
# VARIABLE will be replaced by "DIR[ DIR]" |
| 7470 |
+ |
func_munge_path_list () |
| 7471 |
+ |
{ |
| 7472 |
+ |
case x$2 in |
| 7473 |
+ |
x) |
| 7474 |
+ |
;; |
| 7475 |
+ |
*:) |
| 7476 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
| 7477 |
+ |
;; |
| 7478 |
+ |
x:*) |
| 7479 |
+ |
eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
| 7480 |
+ |
;; |
| 7481 |
+ |
*::*) |
| 7482 |
+ |
eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
| 7483 |
+ |
eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
| 7484 |
+ |
;; |
| 7485 |
+ |
*) |
| 7486 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
| 7487 |
+ |
;; |
| 7488 |
+ |
esac |
| 7489 |
+ |
} |
| 7490 |
+ |
|
| 7491 |
|
ac_ext=c |
| 7492 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 7493 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 8075 |
|
test -z "$LD" && LD=ld |
| 8076 |
|
test -z "$ac_objext" && ac_objext=o |
| 8077 |
|
|
| 8078 |
< |
for cc_temp in $compiler""; do |
| 8079 |
< |
case $cc_temp in |
| 8023 |
< |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 8024 |
< |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 8025 |
< |
\-*) ;; |
| 8026 |
< |
*) break;; |
| 8027 |
< |
esac |
| 8028 |
< |
done |
| 8029 |
< |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 8078 |
> |
func_cc_basename $compiler |
| 8079 |
> |
cc_basename=$func_cc_basename_result |
| 8080 |
|
|
| 8081 |
|
|
| 8082 |
|
# Only perform the check for file, if the check method requires it |
| 8276 |
|
$RM -r conftest* |
| 8277 |
|
|
| 8278 |
|
|
| 8279 |
+ |
## CAVEAT EMPTOR: |
| 8280 |
+ |
## There is no encapsulation within the following macros, do not change |
| 8281 |
+ |
## the running order or otherwise move them around unless you know exactly |
| 8282 |
+ |
## what you are doing... |
| 8283 |
|
if test -n "$compiler"; then |
| 8284 |
|
|
| 8285 |
|
lt_prog_compiler_no_builtin_flag= |
| 10535 |
|
# flags to be left without arguments |
| 10536 |
|
need_version=unknown |
| 10537 |
|
|
| 10538 |
+ |
|
| 10539 |
+ |
|
| 10540 |
|
case $host_os in |
| 10541 |
|
aix3*) |
| 10542 |
|
version_type=linux # correct to gnu/linux during the next big refactor |
| 10825 |
|
case $version_type in |
| 10826 |
|
freebsd-elf*) |
| 10827 |
|
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 10828 |
+ |
soname_spec='$libname$release$shared_ext$major' |
| 10829 |
|
need_version=no |
| 10830 |
|
need_lib_prefix=no |
| 10831 |
|
;; |
| 10885 |
|
soname_spec='$libname$release$shared_ext$major' |
| 10886 |
|
if test 32 = "$HPUX_IA64_MODE"; then |
| 10887 |
|
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
| 10888 |
+ |
sys_lib_dlsearch_path_spec=/usr/lib/hpux32 |
| 10889 |
|
else |
| 10890 |
|
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
| 10891 |
+ |
sys_lib_dlsearch_path_spec=/usr/lib/hpux64 |
| 10892 |
|
fi |
| 10834 |
– |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 10893 |
|
;; |
| 10894 |
|
hppa*64*) |
| 10895 |
|
shrext_cmds='.sl' |
| 11041 |
|
# before this can be enabled. |
| 11042 |
|
hardcode_into_libs=yes |
| 11043 |
|
|
| 11044 |
< |
# Append ld.so.conf contents to the search path |
| 11044 |
> |
# Ideally, we could use ldconfig to report *all* directores which are |
| 11045 |
> |
# searched for libraries, however this is still not possible. Aside from not |
| 11046 |
> |
# being certain /sbin/ldconfig is available, command |
| 11047 |
> |
# 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, |
| 11048 |
> |
# even though it is searched at run-time. Try to do the best guess by |
| 11049 |
> |
# appending ld.so.conf contents (and includes) to the search path. |
| 11050 |
|
if test -f /etc/ld.so.conf; then |
| 11051 |
|
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' ' '` |
| 11052 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 11271 |
|
if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then |
| 11272 |
|
sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec |
| 11273 |
|
fi |
| 11274 |
+ |
|
| 11275 |
|
if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then |
| 11276 |
|
sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec |
| 11277 |
|
fi |
| 11278 |
|
|
| 11279 |
+ |
# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... |
| 11280 |
+ |
configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec |
| 11281 |
+ |
|
| 11282 |
+ |
# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code |
| 11283 |
+ |
func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" |
| 11284 |
+ |
|
| 11285 |
+ |
# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool |
| 11286 |
+ |
configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH |
| 11287 |
+ |
|
| 11288 |
+ |
|
| 11289 |
+ |
|
| 11290 |
+ |
|
| 11291 |
+ |
|
| 11292 |
+ |
|
| 11293 |
|
|
| 11294 |
|
|
| 11295 |
|
|
| 12277 |
|
LEX=${am_missing_run}flex |
| 12278 |
|
fi |
| 12279 |
|
|
| 12280 |
+ |
|
| 12281 |
+ |
|
| 12282 |
+ |
if test "X$CC" != "X"; then |
| 12283 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector-strong" >&5 |
| 12284 |
+ |
$as_echo_n "checking whether ${CC} accepts -fstack-protector-strong... " >&6; } |
| 12285 |
+ |
if ${ssp_cv_cc+:} false; then : |
| 12286 |
+ |
$as_echo_n "(cached) " >&6 |
| 12287 |
+ |
else |
| 12288 |
+ |
ssp_old_cflags="$CFLAGS" |
| 12289 |
+ |
CFLAGS="$CFLAGS -fstack-protector-strong" |
| 12290 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12291 |
+ |
/* end confdefs.h. */ |
| 12292 |
+ |
|
| 12293 |
+ |
int |
| 12294 |
+ |
main () |
| 12295 |
+ |
{ |
| 12296 |
+ |
|
| 12297 |
+ |
; |
| 12298 |
+ |
return 0; |
| 12299 |
+ |
} |
| 12300 |
+ |
_ACEOF |
| 12301 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12302 |
+ |
ssp_cv_cc=yes |
| 12303 |
+ |
else |
| 12304 |
+ |
ssp_cv_cc=no |
| 12305 |
+ |
fi |
| 12306 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12307 |
+ |
CFLAGS="$ssp_old_cflags" |
| 12308 |
+ |
|
| 12309 |
+ |
fi |
| 12310 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
| 12311 |
+ |
$as_echo "$ssp_cv_cc" >&6; } |
| 12312 |
+ |
if test $ssp_cv_cc = yes; then |
| 12313 |
+ |
CFLAGS="$CFLAGS -fstack-protector-strong" |
| 12314 |
+ |
|
| 12315 |
+ |
$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h |
| 12316 |
+ |
|
| 12317 |
+ |
else |
| 12318 |
+ |
unset ssp_cv_cc |
| 12319 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 |
| 12320 |
+ |
$as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; } |
| 12321 |
+ |
if ${ssp_cv_cc+:} false; then : |
| 12322 |
+ |
$as_echo_n "(cached) " >&6 |
| 12323 |
+ |
else |
| 12324 |
+ |
ssp_old_cflags="$CFLAGS" |
| 12325 |
+ |
CFLAGS="$CFLAGS -fstack-protector" |
| 12326 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12327 |
+ |
/* end confdefs.h. */ |
| 12328 |
+ |
|
| 12329 |
+ |
int |
| 12330 |
+ |
main () |
| 12331 |
+ |
{ |
| 12332 |
+ |
|
| 12333 |
+ |
; |
| 12334 |
+ |
return 0; |
| 12335 |
+ |
} |
| 12336 |
+ |
_ACEOF |
| 12337 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12338 |
+ |
ssp_cv_cc=yes |
| 12339 |
+ |
else |
| 12340 |
+ |
ssp_cv_cc=no |
| 12341 |
+ |
fi |
| 12342 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12343 |
+ |
CFLAGS="$ssp_old_cflags" |
| 12344 |
+ |
|
| 12345 |
+ |
fi |
| 12346 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
| 12347 |
+ |
$as_echo "$ssp_cv_cc" >&6; } |
| 12348 |
+ |
if test $ssp_cv_cc = yes; then |
| 12349 |
+ |
CFLAGS="$CFLAGS -fstack-protector" |
| 12350 |
+ |
|
| 12351 |
+ |
$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h |
| 12352 |
+ |
|
| 12353 |
+ |
fi |
| 12354 |
+ |
fi |
| 12355 |
+ |
fi |
| 12356 |
+ |
|
| 12357 |
+ |
|
| 12358 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5 |
| 12359 |
+ |
$as_echo_n "checking whether libssp exists... " >&6; } |
| 12360 |
+ |
if ${ssp_cv_lib+:} false; then : |
| 12361 |
+ |
$as_echo_n "(cached) " >&6 |
| 12362 |
+ |
else |
| 12363 |
+ |
ssp_old_libs="$LIBS" |
| 12364 |
+ |
LIBS="$LIBS -lssp" |
| 12365 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12366 |
+ |
/* end confdefs.h. */ |
| 12367 |
+ |
|
| 12368 |
+ |
int |
| 12369 |
+ |
main () |
| 12370 |
+ |
{ |
| 12371 |
+ |
|
| 12372 |
+ |
; |
| 12373 |
+ |
return 0; |
| 12374 |
+ |
} |
| 12375 |
+ |
_ACEOF |
| 12376 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 12377 |
+ |
ssp_cv_lib=yes |
| 12378 |
+ |
else |
| 12379 |
+ |
ssp_cv_lib=no |
| 12380 |
+ |
fi |
| 12381 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 12382 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 12383 |
+ |
LIBS="$ssp_old_libs" |
| 12384 |
+ |
|
| 12385 |
+ |
fi |
| 12386 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5 |
| 12387 |
+ |
$as_echo "$ssp_cv_lib" >&6; } |
| 12388 |
+ |
if test $ssp_cv_lib = yes; then |
| 12389 |
+ |
LIBS="$LIBS -lssp" |
| 12390 |
+ |
fi |
| 12391 |
+ |
|
| 12392 |
+ |
|
| 12393 |
+ |
|
| 12394 |
+ |
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
| 12395 |
+ |
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
| 12396 |
+ |
|
| 12397 |
+ |
else |
| 12398 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 |
| 12399 |
+ |
$as_echo_n "checking for library containing getaddrinfo... " >&6; } |
| 12400 |
+ |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 12401 |
+ |
$as_echo_n "(cached) " >&6 |
| 12402 |
+ |
else |
| 12403 |
+ |
ac_func_search_save_LIBS=$LIBS |
| 12404 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12405 |
+ |
/* end confdefs.h. */ |
| 12406 |
+ |
|
| 12407 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 12408 |
+ |
Use char because int might match the return type of a GCC |
| 12409 |
+ |
builtin and then its argument prototype would still apply. */ |
| 12410 |
+ |
#ifdef __cplusplus |
| 12411 |
+ |
extern "C" |
| 12412 |
+ |
#endif |
| 12413 |
+ |
char getaddrinfo (); |
| 12414 |
+ |
int |
| 12415 |
+ |
main () |
| 12416 |
+ |
{ |
| 12417 |
+ |
return getaddrinfo (); |
| 12418 |
+ |
; |
| 12419 |
+ |
return 0; |
| 12420 |
+ |
} |
| 12421 |
+ |
_ACEOF |
| 12422 |
+ |
for ac_lib in '' nsl; do |
| 12423 |
+ |
if test -z "$ac_lib"; then |
| 12424 |
+ |
ac_res="none required" |
| 12425 |
+ |
else |
| 12426 |
+ |
ac_res=-l$ac_lib |
| 12427 |
+ |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 12428 |
+ |
fi |
| 12429 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 12430 |
+ |
ac_cv_search_getaddrinfo=$ac_res |
| 12431 |
+ |
fi |
| 12432 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 12433 |
+ |
conftest$ac_exeext |
| 12434 |
+ |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 12435 |
+ |
break |
| 12436 |
+ |
fi |
| 12437 |
+ |
done |
| 12438 |
+ |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 12439 |
+ |
|
| 12440 |
+ |
else |
| 12441 |
+ |
ac_cv_search_getaddrinfo=no |
| 12442 |
+ |
fi |
| 12443 |
+ |
rm conftest.$ac_ext |
| 12444 |
+ |
LIBS=$ac_func_search_save_LIBS |
| 12445 |
+ |
fi |
| 12446 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 |
| 12447 |
+ |
$as_echo "$ac_cv_search_getaddrinfo" >&6; } |
| 12448 |
+ |
ac_res=$ac_cv_search_getaddrinfo |
| 12449 |
+ |
if test "$ac_res" != no; then : |
| 12450 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 12451 |
+ |
|
| 12452 |
+ |
fi |
| 12453 |
+ |
|
| 12454 |
+ |
fi |
| 12455 |
+ |
|
| 12456 |
+ |
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" |
| 12457 |
+ |
if test "x$ac_cv_func_getnameinfo" = xyes; then : |
| 12458 |
+ |
|
| 12459 |
+ |
else |
| 12460 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5 |
| 12461 |
+ |
$as_echo_n "checking for library containing getnameinfo... " >&6; } |
| 12462 |
+ |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 12463 |
+ |
$as_echo_n "(cached) " >&6 |
| 12464 |
+ |
else |
| 12465 |
+ |
ac_func_search_save_LIBS=$LIBS |
| 12466 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12467 |
+ |
/* end confdefs.h. */ |
| 12468 |
+ |
|
| 12469 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 12470 |
+ |
Use char because int might match the return type of a GCC |
| 12471 |
+ |
builtin and then its argument prototype would still apply. */ |
| 12472 |
+ |
#ifdef __cplusplus |
| 12473 |
+ |
extern "C" |
| 12474 |
+ |
#endif |
| 12475 |
+ |
char getnameinfo (); |
| 12476 |
+ |
int |
| 12477 |
+ |
main () |
| 12478 |
+ |
{ |
| 12479 |
+ |
return getnameinfo (); |
| 12480 |
+ |
; |
| 12481 |
+ |
return 0; |
| 12482 |
+ |
} |
| 12483 |
+ |
_ACEOF |
| 12484 |
+ |
for ac_lib in '' nsl; do |
| 12485 |
+ |
if test -z "$ac_lib"; then |
| 12486 |
+ |
ac_res="none required" |
| 12487 |
+ |
else |
| 12488 |
+ |
ac_res=-l$ac_lib |
| 12489 |
+ |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 12490 |
+ |
fi |
| 12491 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 12492 |
+ |
ac_cv_search_getnameinfo=$ac_res |
| 12493 |
+ |
fi |
| 12494 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 12495 |
+ |
conftest$ac_exeext |
| 12496 |
+ |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 12497 |
+ |
break |
| 12498 |
+ |
fi |
| 12499 |
+ |
done |
| 12500 |
+ |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 12501 |
+ |
|
| 12502 |
+ |
else |
| 12503 |
+ |
ac_cv_search_getnameinfo=no |
| 12504 |
+ |
fi |
| 12505 |
+ |
rm conftest.$ac_ext |
| 12506 |
+ |
LIBS=$ac_func_search_save_LIBS |
| 12507 |
+ |
fi |
| 12508 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5 |
| 12509 |
+ |
$as_echo "$ac_cv_search_getnameinfo" >&6; } |
| 12510 |
+ |
ac_res=$ac_cv_search_getnameinfo |
| 12511 |
+ |
if test "$ac_res" != no; then : |
| 12512 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 12513 |
+ |
|
| 12514 |
+ |
fi |
| 12515 |
+ |
|
| 12516 |
+ |
fi |
| 12517 |
+ |
|
| 12518 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 12519 |
+ |
$as_echo_n "checking for library containing socket... " >&6; } |
| 12520 |
+ |
if ${ac_cv_search_socket+:} false; then : |
| 12521 |
+ |
$as_echo_n "(cached) " >&6 |
| 12522 |
+ |
else |
| 12523 |
+ |
ac_func_search_save_LIBS=$LIBS |
| 12524 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12525 |
+ |
/* end confdefs.h. */ |
| 12526 |
+ |
|
| 12527 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 12528 |
+ |
Use char because int might match the return type of a GCC |
| 12529 |
+ |
builtin and then its argument prototype would still apply. */ |
| 12530 |
+ |
#ifdef __cplusplus |
| 12531 |
+ |
extern "C" |
| 12532 |
+ |
#endif |
| 12533 |
+ |
char socket (); |
| 12534 |
+ |
int |
| 12535 |
+ |
main () |
| 12536 |
+ |
{ |
| 12537 |
+ |
return socket (); |
| 12538 |
+ |
; |
| 12539 |
+ |
return 0; |
| 12540 |
+ |
} |
| 12541 |
+ |
_ACEOF |
| 12542 |
+ |
for ac_lib in '' socket; do |
| 12543 |
+ |
if test -z "$ac_lib"; then |
| 12544 |
+ |
ac_res="none required" |
| 12545 |
+ |
else |
| 12546 |
+ |
ac_res=-l$ac_lib |
| 12547 |
+ |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 12548 |
+ |
fi |
| 12549 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 12550 |
+ |
ac_cv_search_socket=$ac_res |
| 12551 |
+ |
fi |
| 12552 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 12553 |
+ |
conftest$ac_exeext |
| 12554 |
+ |
if ${ac_cv_search_socket+:} false; then : |
| 12555 |
+ |
break |
| 12556 |
+ |
fi |
| 12557 |
+ |
done |
| 12558 |
+ |
if ${ac_cv_search_socket+:} false; then : |
| 12559 |
+ |
|
| 12560 |
+ |
else |
| 12561 |
+ |
ac_cv_search_socket=no |
| 12562 |
+ |
fi |
| 12563 |
+ |
rm conftest.$ac_ext |
| 12564 |
+ |
LIBS=$ac_func_search_save_LIBS |
| 12565 |
+ |
fi |
| 12566 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
| 12567 |
+ |
$as_echo "$ac_cv_search_socket" >&6; } |
| 12568 |
+ |
ac_res=$ac_cv_search_socket |
| 12569 |
+ |
if test "$ac_res" != no; then : |
| 12570 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 12571 |
+ |
|
| 12572 |
+ |
else |
| 12573 |
+ |
as_fn_error $? "socket library not found" "$LINENO" 5 |
| 12574 |
+ |
fi |
| 12575 |
+ |
|
| 12576 |
+ |
|
| 12577 |
+ |
|
| 12578 |
+ |
# Check whether --enable-assert was given. |
| 12579 |
+ |
if test "${enable_assert+set}" = set; then : |
| 12580 |
+ |
enableval=$enable_assert; assert=$enableval |
| 12581 |
+ |
else |
| 12582 |
+ |
assert=no |
| 12583 |
+ |
fi |
| 12584 |
+ |
|
| 12585 |
+ |
|
| 12586 |
+ |
if test "$assert" = "no"; then : |
| 12587 |
+ |
|
| 12588 |
+ |
$as_echo "#define NDEBUG 1" >>confdefs.h |
| 12589 |
+ |
|
| 12590 |
+ |
fi |
| 12591 |
+ |
|
| 12592 |
+ |
|
| 12593 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 12594 |
|
$as_echo_n "checking for library containing socket... " >&6; } |
| 12595 |
|
if ${ac_cv_search_socket+:} false; then : |
| 13548 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 13549 |
|
# values after options handling. |
| 13550 |
|
ac_log=" |
| 13551 |
< |
This file was extended by hopm $as_me 1.0.2, which was |
| 13551 |
> |
This file was extended by hopm $as_me 1.0.7, which was |
| 13552 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 13553 |
|
|
| 13554 |
|
CONFIG_FILES = $CONFIG_FILES |
| 13614 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 13615 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 13616 |
|
ac_cs_version="\\ |
| 13617 |
< |
hopm config.status 1.0.2 |
| 13617 |
> |
hopm config.status 1.0.7 |
| 13618 |
|
configured by $0, generated by GNU Autoconf 2.69, |
| 13619 |
|
with options \\"\$ac_cs_config\\" |
| 13620 |
|
|
| 13870 |
|
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
| 13871 |
|
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
| 13872 |
|
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
| 13873 |
< |
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
| 13873 |
> |
configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' |
| 13874 |
> |
configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' |
| 13875 |
|
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
| 13876 |
|
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
| 13877 |
|
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
| 13989 |
|
postuninstall_cmds \ |
| 13990 |
|
finish_cmds \ |
| 13991 |
|
sys_lib_search_path_spec \ |
| 13992 |
< |
sys_lib_dlsearch_path_spec; do |
| 13992 |
> |
configure_time_dlsearch_path \ |
| 13993 |
> |
configure_time_lt_sys_library_path; do |
| 13994 |
|
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 13995 |
|
*[\\\\\\\`\\"\\\$]*) |
| 13996 |
|
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
| 14769 |
|
# The names of the tagged configurations supported by this script. |
| 14770 |
|
available_tags='' |
| 14771 |
|
|
| 14772 |
+ |
# Configured defaults for sys_lib_dlsearch_path munging. |
| 14773 |
+ |
: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} |
| 14774 |
+ |
|
| 14775 |
|
# ### BEGIN LIBTOOL CONFIG |
| 14776 |
|
|
| 14777 |
|
# Which release of libtool.m4 was used? |
| 15021 |
|
# Compile-time system search path for libraries. |
| 15022 |
|
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
| 15023 |
|
|
| 15024 |
< |
# Run-time system search path for libraries. |
| 15025 |
< |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
| 15024 |
> |
# Detected run-time system search path for libraries. |
| 15025 |
> |
sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path |
| 15026 |
> |
|
| 15027 |
> |
# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. |
| 15028 |
> |
configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path |
| 15029 |
|
|
| 15030 |
|
# Whether dlopen is supported. |
| 15031 |
|
dlopen_support=$enable_dlopen |
| 15176 |
|
|
| 15177 |
|
_LT_EOF |
| 15178 |
|
|
| 15179 |
+ |
cat <<'_LT_EOF' >> "$cfgfile" |
| 15180 |
+ |
|
| 15181 |
+ |
# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE |
| 15182 |
+ |
|
| 15183 |
+ |
# func_munge_path_list VARIABLE PATH |
| 15184 |
+ |
# ----------------------------------- |
| 15185 |
+ |
# VARIABLE is name of variable containing _space_ separated list of |
| 15186 |
+ |
# directories to be munged by the contents of PATH, which is string |
| 15187 |
+ |
# having a format: |
| 15188 |
+ |
# "DIR[:DIR]:" |
| 15189 |
+ |
# string "DIR[ DIR]" will be prepended to VARIABLE |
| 15190 |
+ |
# ":DIR[:DIR]" |
| 15191 |
+ |
# string "DIR[ DIR]" will be appended to VARIABLE |
| 15192 |
+ |
# "DIRP[:DIRP]::[DIRA:]DIRA" |
| 15193 |
+ |
# string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
| 15194 |
+ |
# "DIRA[ DIRA]" will be appended to VARIABLE |
| 15195 |
+ |
# "DIR[:DIR]" |
| 15196 |
+ |
# VARIABLE will be replaced by "DIR[ DIR]" |
| 15197 |
+ |
func_munge_path_list () |
| 15198 |
+ |
{ |
| 15199 |
+ |
case x$2 in |
| 15200 |
+ |
x) |
| 15201 |
+ |
;; |
| 15202 |
+ |
*:) |
| 15203 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
| 15204 |
+ |
;; |
| 15205 |
+ |
x:*) |
| 15206 |
+ |
eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
| 15207 |
+ |
;; |
| 15208 |
+ |
*::*) |
| 15209 |
+ |
eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
| 15210 |
+ |
eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
| 15211 |
+ |
;; |
| 15212 |
+ |
*) |
| 15213 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
| 15214 |
+ |
;; |
| 15215 |
+ |
esac |
| 15216 |
+ |
} |
| 15217 |
+ |
|
| 15218 |
+ |
|
| 15219 |
+ |
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 15220 |
+ |
func_cc_basename () |
| 15221 |
+ |
{ |
| 15222 |
+ |
for cc_temp in $*""; do |
| 15223 |
+ |
case $cc_temp in |
| 15224 |
+ |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 15225 |
+ |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 15226 |
+ |
\-*) ;; |
| 15227 |
+ |
*) break;; |
| 15228 |
+ |
esac |
| 15229 |
+ |
done |
| 15230 |
+ |
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 15231 |
+ |
} |
| 15232 |
+ |
|
| 15233 |
+ |
|
| 15234 |
+ |
# ### END FUNCTIONS SHARED WITH CONFIGURE |
| 15235 |
+ |
|
| 15236 |
+ |
_LT_EOF |
| 15237 |
+ |
|
| 15238 |
|
case $host_os in |
| 15239 |
|
aix3*) |
| 15240 |
|
cat <<\_LT_EOF >> "$cfgfile" |