From 5f544a99de2e242f90853dc97c776f1dcf8d241b Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Sat, 23 Oct 2010 21:59:02 +0200 Subject: [PATCH] check for assert.h --- config.h.in | 3 +++ configure.in | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config.h.in b/config.h.in index bd44ead2..a91f4614 100644 --- a/config.h.in +++ b/config.h.in @@ -6,6 +6,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_ARPA_INET_H +/* Define to 1 if you have the header file. */ +#undef HAVE_ASSERT_H + /* Define to 1 if you have the `getaddrinfo' function. */ #undef HAVE_GETADDRINFO diff --git a/configure.in b/configure.in index 8c2eea6d..de7d329f 100644 --- a/configure.in +++ b/configure.in @@ -36,7 +36,7 @@ AC_SEARCH_LIBS([gethostbyname], [nsl]) AC_SEARCH_LIBS([socket], [socket]) # Checks for header files. -AC_CHECK_HEADERS([arpa/inet.h limits.h netdb.h netinet/in.h stdlib.h string.h strings.h sys/socket.h unistd.h]) +AC_CHECK_HEADERS([assert.h arpa/inet.h limits.h netdb.h netinet/in.h stdlib.h string.h strings.h sys/socket.h unistd.h]) # Checks for typedefs, structures, and compiler characteristics. AC_TYPE_SIZE_T