mirror of
git://git.gnupg.org/gnupg.git
synced 2024-06-14 00:19:50 +02:00
build: Remove duplicates from AC_CHECK_FUNCS
* configure.ac (AC_CHECK_FUNCS): Fold most calls into one. -- A few functions were tested two times which slightly increases the size of the configure script. Also put the functions in sorted order into the macro. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
861f1da073
commit
7e9aa307f7
|
@ -102,7 +102,7 @@ gpg_error_t nvc_set_private_key (nvc_t pk, gcry_sexp_t sexp);
|
||||||
|
|
||||||
/* Parsing and serialization. */
|
/* Parsing and serialization. */
|
||||||
|
|
||||||
/* Parse STREAM and return a newly allocated private key container
|
/* Parse STREAM and return a newly allocated name-value container
|
||||||
structure in RESULT. If ERRLINEP is given, the line number the
|
structure in RESULT. If ERRLINEP is given, the line number the
|
||||||
parser was last considering is stored there. */
|
parser was last considering is stored there. */
|
||||||
gpg_error_t nvc_parse (nvc_t *result, int *errlinep, estream_t stream);
|
gpg_error_t nvc_parse (nvc_t *result, int *errlinep, estream_t stream);
|
||||||
|
|
23
configure.ac
23
configure.ac
|
@ -1392,18 +1392,17 @@ AC_CHECK_DECLS(getpagesize)
|
||||||
AC_FUNC_FSEEKO
|
AC_FUNC_FSEEKO
|
||||||
AC_FUNC_VPRINTF
|
AC_FUNC_VPRINTF
|
||||||
AC_FUNC_FORK
|
AC_FUNC_FORK
|
||||||
AC_CHECK_FUNCS([strerror strlwr tcgetattr mmap canonicalize_file_name])
|
AC_CHECK_FUNCS([atexit canonicalize_file_name clock_gettime ctermid \
|
||||||
AC_CHECK_FUNCS([strcasecmp strncasecmp ctermid times gmtime_r strtoull])
|
fcntl flockfile fsync ftello ftruncate funlockfile \
|
||||||
AC_CHECK_FUNCS([setenv unsetenv fcntl ftruncate inet_ntop])
|
getaddrinfo getenv getpagesize getpwnam getpwuid \
|
||||||
AC_CHECK_FUNCS([canonicalize_file_name])
|
getrlimit getrusage gettimeofday gmtime_r \
|
||||||
AC_CHECK_FUNCS([gettimeofday getrusage getrlimit setrlimit clock_gettime])
|
inet_ntop inet_pton isascii lstat \
|
||||||
AC_CHECK_FUNCS([atexit raise getpagesize strftime nl_langinfo setlocale])
|
memicmp memmove memrchr mmap nl_langinfo pipe \
|
||||||
AC_CHECK_FUNCS([waitpid wait4 sigaction sigprocmask pipe getaddrinfo])
|
raise rand setenv setlocale setrlimit sigaction \
|
||||||
AC_CHECK_FUNCS([ttyname rand ftello fsync stat lstat])
|
sigprocmask stat stpcpy strcasecmp strerror strftime \
|
||||||
AC_CHECK_FUNCS([memicmp stpcpy strsep strlwr strtoul memmove stricmp strtol \
|
stricmp strlwr strncasecmp strpbrk strsep \
|
||||||
memrchr isascii timegm getrusage setrlimit stat setlocale \
|
strtol strtoul strtoull tcgetattr timegm times \
|
||||||
flockfile funlockfile getpwnam getpwuid \
|
ttyname unsetenv wait4 waitpid ])
|
||||||
getenv inet_pton strpbrk])
|
|
||||||
|
|
||||||
# On some systems (e.g. Solaris) nanosleep requires linking to librl.
|
# On some systems (e.g. Solaris) nanosleep requires linking to librl.
|
||||||
# Given that we use nanosleep only as an optimization over a select
|
# Given that we use nanosleep only as an optimization over a select
|
||||||
|
|
Loading…
Reference in New Issue
Block a user