diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2014-02-18 18:41:12 +0000 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2014-02-18 18:41:12 +0000 |
commit | 29c592c1cbcc1372511ba0432498b0aba99ccf42 (patch) | |
tree | 313383a499f7a2a46131baf44badbd74071ac9ec | |
parent | bda741a432b6f6c7cb907c8fbde39c0038abe9ce (diff) | |
download | libmicrohttpd-29c592c1cbcc1372511ba0432498b0aba99ccf42.tar.gz libmicrohttpd-29c592c1cbcc1372511ba0432498b0aba99ccf42.zip |
fix configure warnings under cygwin
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 301ad0cd..07897639 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -172,6 +172,7 @@ netbsd*) | |||
172 | AM_CONDITIONAL(HAVE_W32, true) | 172 | AM_CONDITIONAL(HAVE_W32, true) |
173 | LDFLAGS="$LDFLAGS -lws2_32" | 173 | LDFLAGS="$LDFLAGS -lws2_32" |
174 | AM_CONDITIONAL(HAVE_GNU_LD, true) | 174 | AM_CONDITIONAL(HAVE_GNU_LD, true) |
175 | AC_CHECK_HEADERS([winsock2.h ws2tcpip.h],, AC_MSG_ERROR([[Winsock2 headers are required for W32]])) | ||
175 | os_is_windows=yes | 176 | os_is_windows=yes |
176 | ;; | 177 | ;; |
177 | *openedition*) | 178 | *openedition*) |
@@ -218,7 +219,7 @@ AC_SUBST(PTHREAD_CPPFLAGS) | |||
218 | AC_CHECK_HEADERS([fcntl.h math.h errno.h limits.h stdio.h locale.h sys/stat.h sys/types.h pthread.h],,AC_MSG_ERROR([Compiling libmicrohttpd requires standard UNIX headers files])) | 219 | AC_CHECK_HEADERS([fcntl.h math.h errno.h limits.h stdio.h locale.h sys/stat.h sys/types.h pthread.h],,AC_MSG_ERROR([Compiling libmicrohttpd requires standard UNIX headers files])) |
219 | 220 | ||
220 | # Check for optional headers | 221 | # Check for optional headers |
221 | AC_CHECK_HEADERS([sys/types.h sys/time.h sys/msg.h netdb.h netinet/in.h netinet/tcp.h time.h sys/socket.h sys/mman.h arpa/inet.h sys/select.h poll.h winsock2.h ws2tcpip.h gcrypt.h]) | 222 | AC_CHECK_HEADERS([sys/types.h sys/time.h sys/msg.h netdb.h netinet/in.h netinet/tcp.h time.h sys/socket.h sys/mman.h arpa/inet.h sys/select.h poll.h gcrypt.h]) |
222 | 223 | ||
223 | AC_CHECK_HEADERS([search.h], AM_CONDITIONAL(HAVE_TSEARCH, true), AM_CONDITIONAL(HAVE_TSEARCH, false)) | 224 | AC_CHECK_HEADERS([search.h], AM_CONDITIONAL(HAVE_TSEARCH, true), AM_CONDITIONAL(HAVE_TSEARCH, false)) |
224 | 225 | ||