Commit 6029f5b6 authored by Matteo Quintiliani's avatar Matteo Quintiliani

Check for earthworm headers and object files


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@356 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent f6d46089
......@@ -63,6 +63,26 @@ AC_ARG_WITH([libmseed],
AC_HEADER_STDC
AC_CHECK_HEADERS([stdint.h stdlib.h string.h])
# Earthworm files
AC_CHECK_HEADERS([earthworm.h kom.h transport.h trace_buf.h],
[AC_DEFINE([HAVE_EARTHWORMFILES_H], [1], [Define if you have earthworm header file])],
AC_MSG_WARN([earthworm header files not found!]))
AC_CHECK_FILES([$EW_HOME/$EW_VERSION/lib/kom.o
$EW_HOME/$EW_VERSION/lib/getutil.o
$EW_HOME/$EW_VERSION/lib/logit_mt.o
$EW_HOME/$EW_VERSION/lib/socket_ew_common.o
$EW_HOME/$EW_VERSION/lib/transport.o
$EW_HOME/$EW_VERSION/lib/sleep_ew.o
$EW_HOME/$EW_VERSION/lib/socket_ew.o
$EW_HOME/$EW_VERSION/lib/time_ew.o
$EW_HOME/$EW_VERSION/lib/threads_ew.o
$EW_HOME/$EW_VERSION/lib/sema_ew.o
$EW_HOME/$EW_VERSION/lib/swap.o
$EW_HOME/$EW_VERSION/lib/mem_circ_queue.o],
[AC_DEFINE([HAVE_EARTHWORMOBJS], [1], [Define if you have earthworm object files])],
AC_MSG_WARN([earthworm object file not found!]))
# Checks for files.
# TODO optional
......
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