-
Notifications
You must be signed in to change notification settings - Fork 1
/
configure.ac
46 lines (31 loc) · 1.04 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
AC_PREREQ([2.63])
AC_INIT([fintp_transport], [0.0.1])
AC_CONFIG_SRCDIR([src/TransportHelper.cpp])
AC_CONFIG_MACRO_DIR([../fintp_utils/m4])
AC_CONFIG_HEADERS([config.h])
AC_PROG_CXX
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_LIBTOOL
AM_INIT_AUTOMAKE
AC_CHECK_HEADERS([malloc.h stdlib.h string.h sys/param.h sys/timeb.h unistd.h], [], [Cannot build])
AC_CHECK_FUNCS([ftime gethostbyaddr gethostbyname gethostname memset strerror strtol strtoul uname], [], [Cannot build])
ENVIRONMENT
AX_PTHREAD(, [AC_MSG_ERROR([Cannot build without pthread]) ])
AX_BOOST_BASE([1.48.0], , [AC_MSG_ERROR([Cannot build without Boost])])
AX_LIB_XERCES([2.8.0])
if test $HAVE_XERCES != yes; then
AC_MSG_ERROR([Cannot build without Xerces])
fi
ACTIVEMQCPP
WEBSPHEREMQ
if test "$use_amq" == "no" && test "$use_wmq" == "no"; then
AC_MSG_ERROR([Cannot build without ActiveMQ or WebsphereMQ support])
fi
AM_CONDITIONAL(COMP_WMQ, test "$have_wmq" == "yes")
AM_CONDITIONAL(COMP_AMQ, test "$use_amq" == "yes")
AC_CONFIG_FILES([Makefile])
AC_OUTPUT