#!/bin/sh
# Run this to generate all the initial makefiles, etc.
+ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I config"
+
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
[m4_default([$2], :)],
[m4_default([$3], :)])
AS_VAR_POPDEF([CACHEVAR])dnl
-])dnl AX_CHECK_COMPILE_FLAGS
\ No newline at end of file
+])dnl AX_CHECK_COMPILE_FLAGS
AC_DEFINE(HAVE_GCC_ABI_DEMANGLE,1,
[define if the compiler supports GCC C++ ABI name demangling])
fi
-])
\ No newline at end of file
+])
dnl Process this file with autoconf to produce a configure script.
dnl Created by Anjuta application wizard.
-m4_include([m4/ax_cxx_gcc_abi_demangle.m4])
-m4_include([m4/ax_check_compile_flag.m4])
-m4_include([m4/ax_pthread.m4])
-m4_include([m4/ax_prog_doxygen.m4])
-
AC_INIT([icinga], [2.0])
+AC_LANG(C++)
-AC_CONFIG_AUX_DIR([m4])
+AC_CONFIG_AUX_DIR([config])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([1.11])
DX_PS_FEATURE(OFF)
DX_INIT_DOXYGEN([icinga], [Doxyfile], [doc])
+AC_PROG_INSTALL
+AC_PROG_CC
AC_PROG_CXX
+AC_PROG_LIBTOOL
AX_CXX_GCC_ABI_DEMANGLE
AX_PTHREAD
fi
-AC_COMPILE_IFELSE(AC_LANG_PROGRAM([[#include <openssl/ssl.h>]], []), [], [AC_MSG_ERROR([You need the OpenSSL headers and libraries in order to build this application]) ])
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <openssl/ssl.h>]], [])], [], [AC_MSG_ERROR([You need the OpenSSL headers and libraries in order to build this application]) ])
LT_INIT([dlopen, disable-static])