Commit 239133c4 authored by Matteo Quintiliani's avatar Matteo Quintiliani

Added check for winsock library


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@494 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent e451b8fd
......@@ -36,6 +36,9 @@ AC_SEARCH_LIBS(socket, socket, ,
AC_SEARCH_LIBS(rt, nanosleep, ,
[AC_CHECK_LIB(rt, nanosleep, LIBS="$LIBS -lrt", , -lrt)])
AC_SEARCH_LIBS(ws2_32, puts, ,
[AC_CHECK_LIB(ws2_32, puts, LIBS="$LIBS -lws2_32", , -lws2_32)])
AC_ARG_WITH([libmseed],
[AS_HELP_STRING([--without-libmseed], [disable support for libmseed])],
[],
......@@ -78,6 +81,7 @@ AS_IF([test "x$with_libmseed" != xno],
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([stdint.h stdlib.h string.h])
AC_CHECK_HEADERS([windows.h winsock2.h])
# Earthworm check.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment