about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2008-05-25 20:16:25 +0200
committerFlorian Westphal <fw@strlen.de>2008-05-25 20:16:25 +0200
commit73f7201ab38013a9c30239ebee35511f77657ce3 (patch)
treea444132604ad439d9b34443f81ae77e1f4457f3b
parent956bbe2c2856259756557bbffb41b0bd4c8d347c (diff)
downloadngircd-73f7201ab38013a9c30239ebee35511f77657ce3.tar.gz
ngircd-73f7201ab38013a9c30239ebee35511f77657ce3.zip
configure.in: don't check for "obvious" standard functions.
Drop checks for the following C standard functions:
malloc, memmove, memset, realloc, strchr, strcspn, strerror, strstr.

Rationale: These are standard K&R/C89 functions, no point in
''making sure they exist''.
-rw-r--r--configure.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 0f17322a..3aa42fce 100644
--- a/configure.in
+++ b/configure.in
@@ -136,9 +136,8 @@ AC_FUNC_FORK
 AC_FUNC_STRFTIME
 
 AC_CHECK_FUNCS([ \
-	bind gethostbyaddr gethostbyname gethostname inet_ntoa malloc memmove \
-	memset realloc setsid setsockopt socket strcasecmp strchr strcspn strerror \
-	strstr waitpid],,AC_MSG_ERROR([required function missing!]))
+	bind gethostbyaddr gethostbyname gethostname inet_ntoa \
+	setsid setsockopt socket strcasecmp waitpid],,AC_MSG_ERROR([required function missing!]))
 
 AC_CHECK_FUNCS(inet_aton isdigit sigaction snprintf vsnprintf strdup strlcpy strlcat)