1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-12-12 09:50:29 +00:00

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''.
This commit is contained in:
Florian Westphal 2008-05-25 20:16:25 +02:00
parent 956bbe2c28
commit 73f7201ab3

View File

@ -136,9 +136,8 @@ AC_FUNC_FORK
AC_FUNC_STRFTIME AC_FUNC_STRFTIME
AC_CHECK_FUNCS([ \ AC_CHECK_FUNCS([ \
bind gethostbyaddr gethostbyname gethostname inet_ntoa malloc memmove \ bind gethostbyaddr gethostbyname gethostname inet_ntoa \
memset realloc setsid setsockopt socket strcasecmp strchr strcspn strerror \ setsid setsockopt socket strcasecmp waitpid],,AC_MSG_ERROR([required function missing!]))
strstr waitpid],,AC_MSG_ERROR([required function missing!]))
AC_CHECK_FUNCS(inet_aton isdigit sigaction snprintf vsnprintf strdup strlcpy strlcat) AC_CHECK_FUNCS(inet_aton isdigit sigaction snprintf vsnprintf strdup strlcpy strlcat)