mirror of
https://github.com/osmarks/ngircd.git
synced 2025-03-04 00:18:10 +00:00
configure.in: use AC_CHECK_{FUNCS|HEADERS}_ONCE
This commit is contained in:
parent
5c8c6d3c70
commit
005ffeaa8c
@ -113,7 +113,7 @@ AC_CHECK_HEADERS([ \
|
|||||||
],,AC_MSG_ERROR([required C header missing!]))
|
],,AC_MSG_ERROR([required C header missing!]))
|
||||||
|
|
||||||
# Optional header files
|
# Optional header files
|
||||||
AC_CHECK_HEADERS([ \
|
AC_CHECK_HEADERS_ONCE([ \
|
||||||
arpa/inet.h inttypes.h malloc.h netinet/ip.h stdbool.h stddef.h \
|
arpa/inet.h inttypes.h malloc.h netinet/ip.h stdbool.h stddef.h \
|
||||||
stdint.h varargs.h \
|
stdint.h varargs.h \
|
||||||
])
|
])
|
||||||
@ -176,7 +176,7 @@ AC_CHECK_FUNCS([ \
|
|||||||
AC_MSG_ERROR([required function missing!]))
|
AC_MSG_ERROR([required function missing!]))
|
||||||
|
|
||||||
# Optional functions
|
# Optional functions
|
||||||
AC_CHECK_FUNCS([ \
|
AC_CHECK_FUNCS_ONCE([ \
|
||||||
gai_strerror getaddrinfo getnameinfo inet_aton sigaction sigprocmask \
|
gai_strerror getaddrinfo getnameinfo inet_aton sigaction sigprocmask \
|
||||||
snprintf vsnprintf strdup strlcpy strlcat strtok_r waitpid])
|
snprintf vsnprintf strdup strlcpy strlcat strtok_r waitpid])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user