icinga2/configure.ac

60 lines
1.1 KiB
Plaintext
Raw Normal View History

2012-03-28 13:24:49 +02:00
dnl Process this file with autoconf to produce a configure script.
dnl Created by Anjuta application wizard.
2012-04-01 19:32:18 +02:00
AC_INIT(icinga, 2.0)
2012-03-28 13:24:49 +02:00
AC_CONFIG_AUX_DIR([m4])
2012-03-28 13:24:49 +02:00
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([1.11])
m4_include([m4/ax_cxx_gcc_abi_demangle.m4])
2012-04-03 15:47:32 +02:00
m4_include([m4/ax_check_compile_flag.m4])
2012-03-28 13:24:49 +02:00
AM_SILENT_RULES([yes])
AC_PROG_CXX
AX_CXX_GCC_ABI_DEMANGLE
2012-03-28 13:24:49 +02:00
2012-04-24 14:04:51 +02:00
AC_CHECK_LIB(ssl, SSL_new)
AC_CHECK_LIB(crypto, X509_NAME_oneline)
AC_CHECK_LIB(eay32, X509_NAME_oneline)
2012-04-03 15:47:32 +02:00
AX_CHECK_COMPILE_FLAG([-std=c++0x], [have_cxx11_support=yes])
if test "$have_cxx11_support" = "yes"; then
CXXFLAGS="$CXXFLAGS -std=c++0x"
AC_DEFINE(HAVE_CXX11, 1,
[define if the compiler supports C++11])
fi
2012-03-28 13:24:49 +02:00
LT_INIT
LT_CONFIG_LTDL_DIR([ltdl])
LTDL_INIT
2012-03-28 13:24:49 +02:00
2012-04-02 10:29:08 +02:00
if test "x$with_included_ltdl" != "xyes"; then
AC_CHECK_LIB([ltdl], [lt_dladvise_init],
[],
[AC_MSG_ERROR([installed libltdl is too old])])
fi
2012-03-28 13:24:49 +02:00
AC_OUTPUT([
Makefile
base/Makefile
cJSON/Makefile
2012-04-13 13:16:54 +02:00
components/Makefile
components/configfile/Makefile
components/configrpc/Makefile
2012-04-23 13:45:41 +02:00
components/demo/Makefile
icinga/Makefile
2012-04-13 11:45:09 +02:00
icinga-app/Makefile
2012-03-28 13:24:49 +02:00
jsonrpc/Makefile
])