Commit c188229e authored by Matteo Quintiliani's avatar Matteo Quintiliani

Little arrangement


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@512 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 51d287c9
......@@ -57,6 +57,11 @@ AC_ARG_WITH([seedlink],
[with_seedlink=yes]
)
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([stdint.h stdlib.h string.h])
AC_CHECK_HEADERS([windows.h winsock2.h])
AS_IF([test "x$with_libmseed" != xno],
[AC_CHECK_LIB([mseed], [msr_init],
[LIBS="$LIBS -lmseed"
......@@ -75,15 +80,13 @@ AS_IF([test "x$with_libmseed" != xno],
],
)
],
[ AC_CHECK_LIB([nmxp], [nmxp_openSocket], [], [AC_MSG_ERROR([libnmxp is not installed or supports libmseed (--with-libmseed to enable)!])]) ]
[
AC_CHECK_LIB([nmxp], [nmxp_openSocket], [], [AC_MSG_ERROR([libnmxp is not installed or supports libmseed (--with-libmseed to enable)!])])
AC_MSG_WARN([Mini-SEED support has been disabled!])
]
)
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([stdint.h stdlib.h string.h])
AC_CHECK_HEADERS([windows.h winsock2.h])
EWOSOURCES=no
# Earthworm check.
......@@ -153,7 +156,6 @@ AS_IF([test "x$with_seedlink" != xno],
AM_CONDITIONAL(WITHSEEDLINK, test x$with_seedlink != xno)
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_INT32_T
......
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