capisuite/configure.ac

34 lines
1011 B
Plaintext

AC_INIT
AC_CONFIG_SRCDIR([src/main.cpp])
AM_INIT_AUTOMAKE(capisuite,0.5.git)
AM_CONFIG_HEADER(config.h)
AC_LANG([C++])
AC_PROG_CC
AC_PROG_CXX
AC_PROG_INSTALL
AM_PROG_AR
AC_PROG_RANLIB
AC_PROG_MAKE_SET
AC_PATH_PROG(doxygen,doxygen)
dnl suggested by autoscan:
AC_CHECK_FUNCS([gettimeofday])
AC_CHECK_HEADERS([sys/time.h])
AC_HEADER_TIME
CS_TEST_GCC3
#CS_TEST_CAPI4LINUX
CS_TEST_SFFTOBMP
CS_SET_DOCDIR
AC_CHECK_LIB(capi20,capi20_register,,AC_MSG_ERROR(libcapi20 not found))
AC_CHECK_LIB(pthread,pthread_create,,AC_MSG_ERROR(libpthread not found))
AM_PATH_PYTHON([2.7])
PGAC_CHECK_PYTHON_EMBED_SETUP
CPPFLAGS='-std=c++11 -DLOCALSTATEDIR=\"$(localstatedir)\" -DPKGDATADIR=\"$(pkgdatadir)\" -DPKGSYSCONFDIR=\"$(sysconfdir)/capisuite\" -DPKGLIBDIR=\"$(pkglibdir)\" $(python_includespec)'
AC_CONFIG_FILES([Makefile src/Makefile src/backend/Makefile src/modules/Makefile src/application/Makefile src/capisuite-py/Makefile scripts/Makefile scripts/waves/Makefile docs/Makefile scripts/capisuite.service])
AC_OUTPUT