1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-03 05:09:14 +00:00

Call AC_SEARCH_LIBS before AC_CHECK_FUNCS

This commit is contained in:
dmiller
2019-11-14 16:37:00 +00:00
parent 71034a0b09
commit 6844a8134c
2 changed files with 13 additions and 13 deletions

24
nbase/configure vendored
View File

@@ -4519,18 +4519,6 @@ if test "$ac_res" != no; then :
fi
for ac_func in gai_strerror inet_pton inet_ntop
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
fi
done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5
$as_echo_n "checking for library containing inet_ntop... " >&6; }
if ${ac_cv_search_inet_ntop+:} false; then :
@@ -4659,6 +4647,18 @@ esac
fi
for ac_func in gai_strerror inet_pton inet_ntop
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
fi
done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getaddrinfo" >&5
$as_echo_n "checking for working getaddrinfo... " >&6; }