# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.57) AC_INIT(sipXcommserverLib, 3.6.0, sipx-dev@list.sipfoundry.org) AC_CONFIG_AUX_DIR(config) m4_include([config/general.m4]) m4_include([config/sipXlib.m4]) SFAC_SIPX_INSTALL_PREFIX AM_INIT_AUTOMAKE(foreign) SFAC_AUTOMAKE_VERSION([1.6]) CHECK_AUTOCONF AC_CONFIG_SRCDIR([src/sipdb/SIPDBManager.cpp]) AM_CONFIG_HEADER([config.h]) AC_PROG_LIBTOOL # Checks for programs. AC_PROG_CXX AX_COMPILER_VENDOR AC_PATH_PROG([PERL],[perl]) AC_PATH_PROG([OPENSSL],[openssl]) # Checks for libraries. # Checks for header files. # Checks for typedefs, structures, and compiler characteristics. # Checks for library functions. CHECK_CPPUNIT CHECK_XERCES CHECK_ODBC SFAC_LIB_STACK SFAC_FEATURE_SIP_TLS ENABLE_DOXYGEN AM_CONDITIONAL(DOC, test x$enable_doc = xyes) AC_ARG_ENABLE(odbc-tests, AC_HELP_STRING([--enable-odbc-tests], [Run unit tests that test ODBC connection to postgres]), enable_odbc_tests=yes) if test x$enable_odbc_tests = xyes then AC_SUBST(SIPXTEST_DATABASE, SIPXDB-TEST) fi AM_CONDITIONAL(ENABLE_ODBC_TESTS, test x$enable_odbc_tests = xyes) AC_CONFIG_FILES([ Makefile include/Makefile etc/Makefile bin/Makefile bin/ssl-cert/Makefile src/Makefile src/sipdb/Makefile src/fastdb/Makefile src/sipdbtest/Makefile src/xsdvalid/Makefile src/test/Makefile src/test/testlib/Makefile doc/Makefile meta/Makefile ]) AC_OUTPUT