]> arthur.barton.de Git - ngircd-alex.git/commitdiff
configure.in: don't check for "obvious" standard functions.
authorFlorian Westphal <fw@strlen.de>
Sun, 25 May 2008 18:16:25 +0000 (20:16 +0200)
committerFlorian Westphal <fw@strlen.de>
Sun, 25 May 2008 18:16:25 +0000 (20:16 +0200)
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''.

configure.in

index 0f17322afae6ca43177fdcc73afa89f06582e1e8..3aa42fcea16c4047196ee5a35db92986ae04f753 100644 (file)
@@ -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)