Configure: Tidy up AC_CHECK_FUNCS

Move all of our AC_CHECK_FUNCS calls into a single, ordered, list
so that it's easier to see what's being checked for and what's not.

Reviewed-on: http://gerrit.openafs.org/2598
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 3fc5863f062c14c346bcc50c82b8d15971750e55)

Change-Id: I167b42d84c9ddbb8b35aee6b4ced3c7a809e72dc
Reviewed-on: http://gerrit.openafs.org/9423
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
This commit is contained in:
Simon Wilkinson 2010-08-20 13:17:53 +01:00 committed by Stephan Wiesand
parent e46f2cdb54
commit 2f0a1ed60e

View File

@ -1387,12 +1387,41 @@ else
fi fi
AC_SUBST(BUILD_LOGIN) AC_SUBST(BUILD_LOGIN)
AC_CHECK_FUNCS(snprintf strlcat strlcpy flock getrlimit strnlen tsearch) AC_CHECK_FUNCS([ \
AC_CHECK_FUNCS(setprogname getprogname sigaction mkstemp vsnprintf strerror strcasestr) daemon \
AC_CHECK_FUNCS(setvbuf vsyslog getcwd) flock \
AC_CHECK_FUNCS(regcomp regexec regerror) fseeko64 \
AC_CHECK_FUNCS(fseeko64 ftello64 poll pread preadv pwrite pwritev preadv64 pwritev64) ftello64 \
AC_CHECK_FUNCS([setenv unsetenv]) getcwd \
getprogname \
getrlimit \
mkstemp \
poll \
pread \
preadv \
preadv64 \
pwrite \
pwritev \
pwritev64 \
regcomp \
regerror \
regexec \
setenv \
setprogname \
setvbuf \
sigaction \
snprintf \
strcasestr \
strerror \
strlcat \
strlcpy \
strnlen \
timegm \
tsearch \
unsetenv \
vsnprintf \
vsyslog \
])
case $AFS_SYSNAME in case $AFS_SYSNAME in
*hp_ux* | *hpux*) *hp_ux* | *hpux*)
@ -1452,8 +1481,6 @@ AC_SIZEOF_TYPE(long)
AC_HEADER_PAM_CONST AC_HEADER_PAM_CONST
AC_CHECK_FUNCS(timegm)
AC_CHECK_FUNCS(daemon)
dnl Directory PATH handling dnl Directory PATH handling
if test "x$enable_transarc_paths" = "xyes" ; then if test "x$enable_transarc_paths" = "xyes" ; then