1 |
|
#! /bin/sh |
2 |
< |
# From configure.ac Id: configure.ac 1092 2010-03-25 11:10:59Z michael . |
2 |
> |
# From configure.ac Id: configure.ac 1095 2010-08-02 20:14:21Z michael . |
3 |
|
# Guess values for system-dependent variables and create Makefiles. |
4 |
|
# Generated by GNU Autoconf 2.67 for ircd-hybrid 7.3-rc1. |
5 |
|
# |
12342 |
|
as_fn_error $? "socket library not found" "$LINENO" 5 |
12343 |
|
fi |
12344 |
|
|
12345 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5 |
12346 |
+ |
$as_echo_n "checking for library containing inet_ntoa... " >&6; } |
12347 |
+ |
if test "${ac_cv_search_inet_ntoa+set}" = set; then : |
12348 |
+ |
$as_echo_n "(cached) " >&6 |
12349 |
+ |
else |
12350 |
+ |
ac_func_search_save_LIBS=$LIBS |
12351 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12352 |
+ |
/* end confdefs.h. */ |
12353 |
+ |
|
12354 |
+ |
/* Override any GCC internal prototype to avoid an error. |
12355 |
+ |
Use char because int might match the return type of a GCC |
12356 |
+ |
builtin and then its argument prototype would still apply. */ |
12357 |
+ |
#ifdef __cplusplus |
12358 |
+ |
extern "C" |
12359 |
+ |
#endif |
12360 |
+ |
char inet_ntoa (); |
12361 |
+ |
int |
12362 |
+ |
main () |
12363 |
+ |
{ |
12364 |
+ |
return inet_ntoa (); |
12365 |
+ |
; |
12366 |
+ |
return 0; |
12367 |
+ |
} |
12368 |
+ |
_ACEOF |
12369 |
+ |
for ac_lib in '' nsl; do |
12370 |
+ |
if test -z "$ac_lib"; then |
12371 |
+ |
ac_res="none required" |
12372 |
+ |
else |
12373 |
+ |
ac_res=-l$ac_lib |
12374 |
+ |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
12375 |
+ |
fi |
12376 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
12377 |
+ |
ac_cv_search_inet_ntoa=$ac_res |
12378 |
+ |
fi |
12379 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
12380 |
+ |
conftest$ac_exeext |
12381 |
+ |
if test "${ac_cv_search_inet_ntoa+set}" = set; then : |
12382 |
+ |
break |
12383 |
+ |
fi |
12384 |
+ |
done |
12385 |
+ |
if test "${ac_cv_search_inet_ntoa+set}" = set; then : |
12386 |
+ |
|
12387 |
+ |
else |
12388 |
+ |
ac_cv_search_inet_ntoa=no |
12389 |
+ |
fi |
12390 |
+ |
rm conftest.$ac_ext |
12391 |
+ |
LIBS=$ac_func_search_save_LIBS |
12392 |
+ |
fi |
12393 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5 |
12394 |
+ |
$as_echo "$ac_cv_search_inet_ntoa" >&6; } |
12395 |
+ |
ac_res=$ac_cv_search_inet_ntoa |
12396 |
+ |
if test "$ac_res" != no; then : |
12397 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
12398 |
+ |
|
12399 |
+ |
fi |
12400 |
+ |
|
12401 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5 |
12402 |
+ |
$as_echo_n "checking for library containing inet_aton... " >&6; } |
12403 |
+ |
if test "${ac_cv_search_inet_aton+set}" = set; then : |
12404 |
+ |
$as_echo_n "(cached) " >&6 |
12405 |
+ |
else |
12406 |
+ |
ac_func_search_save_LIBS=$LIBS |
12407 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12408 |
+ |
/* end confdefs.h. */ |
12409 |
+ |
|
12410 |
+ |
/* Override any GCC internal prototype to avoid an error. |
12411 |
+ |
Use char because int might match the return type of a GCC |
12412 |
+ |
builtin and then its argument prototype would still apply. */ |
12413 |
+ |
#ifdef __cplusplus |
12414 |
+ |
extern "C" |
12415 |
+ |
#endif |
12416 |
+ |
char inet_aton (); |
12417 |
+ |
int |
12418 |
+ |
main () |
12419 |
+ |
{ |
12420 |
+ |
return inet_aton (); |
12421 |
+ |
; |
12422 |
+ |
return 0; |
12423 |
+ |
} |
12424 |
+ |
_ACEOF |
12425 |
+ |
for ac_lib in '' resolv; do |
12426 |
+ |
if test -z "$ac_lib"; then |
12427 |
+ |
ac_res="none required" |
12428 |
+ |
else |
12429 |
+ |
ac_res=-l$ac_lib |
12430 |
+ |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
12431 |
+ |
fi |
12432 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
12433 |
+ |
ac_cv_search_inet_aton=$ac_res |
12434 |
+ |
fi |
12435 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
12436 |
+ |
conftest$ac_exeext |
12437 |
+ |
if test "${ac_cv_search_inet_aton+set}" = set; then : |
12438 |
+ |
break |
12439 |
+ |
fi |
12440 |
+ |
done |
12441 |
+ |
if test "${ac_cv_search_inet_aton+set}" = set; then : |
12442 |
+ |
|
12443 |
+ |
else |
12444 |
+ |
ac_cv_search_inet_aton=no |
12445 |
+ |
fi |
12446 |
+ |
rm conftest.$ac_ext |
12447 |
+ |
LIBS=$ac_func_search_save_LIBS |
12448 |
+ |
fi |
12449 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5 |
12450 |
+ |
$as_echo "$ac_cv_search_inet_aton" >&6; } |
12451 |
+ |
ac_res=$ac_cv_search_inet_aton |
12452 |
+ |
if test "$ac_res" != no; then : |
12453 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
12454 |
+ |
|
12455 |
+ |
fi |
12456 |
+ |
|
12457 |
|
for ac_func in inet_aton inet_ntop inet_pton |
12458 |
|
do : |
12459 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |