repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 005ffeaa8c27d29efd3037d52a26a948b71cbc0c:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 005ffeaa8c27d29efd3037d52a26a948b71cbc0c
Author: Alexander Barton 
Date:   Thu Sep 13 18:48:25 2012 +0200

    configure.in: use AC_CHECK_{FUNCS|HEADERS}_ONCE

diff --git a/configure.in b/configure.in
index 468e927b4644088c82fae7b83ab3d84fbe10df9e..
index ..23b50cd7108a2db1cfd56c4c1d940b0b218839f6 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])

-----END OF PAGE-----