X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=configure.ac;h=6abc045ea59fbbd9a65e5a10df38c3d473a5230b;hb=841e8bf945bae1fab577544f40261abc4acfdd65;hp=30eafedcf398a5fa817ac5854c8ea85bfac315d2;hpb=f9a88a1a61c5fbd9f644b34583afe432519963f5;p=catta diff --git a/configure.ac b/configure.ac index 30eafed..6abc045 100644 --- a/configure.ac +++ b/configure.ac @@ -263,14 +263,7 @@ if test "x$GCC" = "xyes" ; then fi # Checks for header files. -AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h limits.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h netdb.h syslog.h]) -AC_HEADER_STDBOOL - -# Checks for typedefs, structures, and compiler characteristics. -AC_C_CONST -AC_TYPE_SIZE_T -AC_HEADER_TIME -AC_HEADER_SYS_WAIT +AC_CHECK_HEADERS([arpa/inet.h fcntl.h netinet/in.h sys/ioctl.h sys/socket.h sys/time.h unistd.h]) # Solaris stuff AC_SEARCH_LIBS([inet_ntop],[nsl]) @@ -278,13 +271,8 @@ AC_HEADER_SYS_WAIT AC_CHECK_DECL([CMSG_SPACE],,CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500 -D__EXTENSIONS__", [[#include ]]) # Checks for library functions. -AC_FUNC_MEMCMP AC_FUNC_SELECT_ARGTYPES -# avahi_malloc actually returns NULL for avahi_malloc(0), so it does not matter -# whether libc's malloc does too. (Same for realloc.) -#AC_FUNC_MALLOC -#AC_FUNC_REALLOC -AC_CHECK_FUNCS([gethostname memchr memmove memset mkdir select socket strchr strcspn strdup strerror strrchr strspn strstr uname setresuid setreuid setresgid setregid strcasecmp gettimeofday putenv strncasecmp strlcpy gethostbyname seteuid setegid setproctitle getprogname]) +AC_CHECK_FUNCS([gethostname select socket uname strcasecmp gettimeofday strncasecmp strlcpy]) AC_FUNC_CHOWN AC_FUNC_STAT