summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2005-01-10 16:21:25 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2005-01-10 16:21:25 +0000
commit647b9e8a4940ff065d2b6e84fde7175cd9b1566f (patch)
tree7a6908b0b871364cde9642f97d06d3f7d41b29ef
parent4537851f8c623fecdf83dafa27f696a0f85eea7b (diff)
downloadlibapr-647b9e8a4940ff065d2b6e84fde7175cd9b1566f.tar.gz
* configure.in: Aggregate some AC_CHECK_FUNCS usage.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@124808 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--configure.in10
1 files changed, 3 insertions, 7 deletions
diff --git a/configure.in b/configure.in
index 1326b645e..7b3ab3552 100644
--- a/configure.in
+++ b/configure.in
@@ -861,15 +861,14 @@ AC_SUBST(sharedmem)
dnl ----------------------------- Checks for Any required Functions
dnl Checks for library functions. (N.B. poll is further down)
-AC_CHECK_FUNCS(alloca calloc setsid isinf isnan)
-AC_CHECK_FUNCS(getenv putenv setenv unsetenv)
+AC_CHECK_FUNCS([alloca calloc setsid isinf isnan \
+ getenv putenv setenv unsetenv \
+ writev getifaddrs utime utimes])
AC_CHECK_FUNCS(setrlimit, [ have_setrlimit="1" ], [ have_setrlimit="0" ])
AC_CHECK_FUNCS(getrlimit, [ have_getrlimit="1" ], [ have_getrlimit="0" ])
-AC_CHECK_FUNCS(writev)
sendfile="0"
AC_CHECK_LIB(sendfile, sendfilev)
AC_CHECK_FUNCS(sendfile send_file sendfilev, [ sendfile="1" ])
-AC_CHECK_FUNCS(utime utimes)
dnl THIS MUST COME AFTER THE THREAD TESTS - FreeBSD doesn't always have a
dnl threaded poll() and we don't want to use sendfile on early FreeBSD
@@ -1898,9 +1897,6 @@ AC_SUBST(have_sctp)
AC_CHECK_FUNCS(set_h_errno)
-dnl Used in the Multicast Code
-AC_CHECK_FUNCS(getifaddrs)
-
echo "${nl}Checking for IPv6 Networking support..."
dnl Start of checking for IPv6 support...