diff options
| author | Alexander Barton <alex@barton.de> | 2012-09-13 18:48:25 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2012-09-13 18:48:25 +0200 |
| commit | 005ffeaa8c27d29efd3037d52a26a948b71cbc0c (patch) | |
| tree | 73662932cf316df74b242816e6ba6fa25c34c418 | |
| parent | 5c8c6d3c70b5797ce2f10a180519f545df7a6b38 (diff) | |
| download | ngircd-005ffeaa8c27d29efd3037d52a26a948b71cbc0c.tar.gz ngircd-005ffeaa8c27d29efd3037d52a26a948b71cbc0c.zip | |
configure.in: use AC_CHECK_{FUNCS|HEADERS}_ONCE
| -rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 468e927b..23b50cd7 100644 --- a/configure.in +++ b/configure.in @@ -113,7 +113,7 @@ AC_CHECK_HEADERS([ \ ],,AC_MSG_ERROR([required C header missing!])) # Optional header files -AC_CHECK_HEADERS([ \ +AC_CHECK_HEADERS_ONCE([ \ arpa/inet.h inttypes.h malloc.h netinet/ip.h stdbool.h stddef.h \ stdint.h varargs.h \ ]) @@ -176,7 +176,7 @@ AC_CHECK_FUNCS([ \ AC_MSG_ERROR([required function missing!])) # Optional functions -AC_CHECK_FUNCS([ \ +AC_CHECK_FUNCS_ONCE([ \ gai_strerror getaddrinfo getnameinfo inet_aton sigaction sigprocmask \ snprintf vsnprintf strdup strlcpy strlcat strtok_r waitpid]) |