2006-06-28 23:37:53 +00:00
dnl SFLPhone - configure.ac for automake 1.9 and autoconf 2.59
dnl
2009-11-13 14:38:29 -05:00
2011-02-28 20:00:01 -05:00
dnl Process this file with autoconf to produce a configure script.
2011-03-01 16:01:45 -05:00
AC_PREREQ([2.65])
2011-06-10 10:23:39 -04:00
AC_INIT([sflphone],[0.9.14],[sflphoneteam@savoirfairelinux.com],[sflphone])
2011-02-28 20:00:01 -05:00
AC_COPYRIGHT([[Copyright (c) Savoir-Faire Linux 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011]])
2006-06-28 23:37:53 +00:00
AC_REVISION([$Revision$])
2011-02-28 20:00:01 -05:00
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
2009-05-07 15:52:59 -04:00
2011-06-02 17:20:16 -04:00
AM_INIT_AUTOMAKE
2011-02-28 20:00:01 -05:00
AC_CONFIG_HEADERS([config.h])
2009-04-02 16:34:46 -04:00
2009-10-09 14:56:25 -04:00
# Silent build by default. Use make V=1 to increase verbosity
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
2011-02-28 20:00:01 -05:00
dnl Rewrite name of programs to be installed
dnl AC_ARG_PROGRAM
2009-04-02 16:34:46 -04:00
2011-02-28 20:00:01 -05:00
dnl Compute canonical system name
dnl AC_CANONICAL_TARGET
2009-05-07 15:52:59 -04:00
2011-02-28 20:00:01 -05:00
dnl Improve make variable MAKE
AC_PROG_MAKE_SET
2006-06-28 23:37:53 +00:00
2011-02-28 20:00:01 -05:00
dnl Where to find configure files
dnl AC_CONFIG_SRCDIR([config.h.in])
2006-06-28 23:37:53 +00:00
AC_CONFIG_MACRO_DIR([m4])
2011-02-28 20:00:01 -05:00
dnl What to generate
dnl AC_CONFIG_FILES([stamp-h], [echo timestamp > stamp-h])
2006-06-28 23:37:53 +00:00
AC_CONFIG_FILES([Makefile])
2011-02-28 20:00:01 -05:00
AC_CONFIG_FILES([libs/Makefile \
libs/utilspp/Makefile \
libs/utilspp/singleton/Makefile \
libs/iax2/Makefile])
AC_CONFIG_FILES([src/Makefile \
src/sip/Makefile \
src/im/Makefile \
src/iax/Makefile \
src/audio/Makefile \
src/audio/audiortp/Makefile \
src/audio/pulseaudio/Makefile \
src/audio/alsa/Makefile \
src/audio/sound/Makefile \
src/audio/codecs/Makefile \
src/config/Makefile \
src/dbus/Makefile \
src/plug-in/Makefile \
src/plug-in/test/Makefile \
src/hooks/Makefile \
src/history/Makefile])
dnl Unitary test section
2008-10-08 14:13:20 -04:00
AC_CONFIG_FILES([test/Makefile])
2008-10-07 10:38:00 -04:00
2009-07-16 15:37:41 -04:00
AC_CONFIG_FILES([ringtones/Makefile])
2008-03-03 09:02:41 -05:00
2008-12-09 13:51:52 -05:00
AC_CONFIG_FILES([man/Makefile])
2011-02-28 20:00:01 -05:00
AC_CONFIG_FILES([doc/Makefile \
doc/dbus-api/Makefile \
doc/doxygen/Makefile])
2009-07-03 16:40:46 -04:00
2011-02-28 20:00:01 -05:00
dnl the file stamp-h.in should be there before (instead of AC_CONFIG_HEADERS(config.h))
2011-03-01 10:49:03 -05:00
dnl AC_CONFIG_HEADERS([config.h])
2006-06-28 23:37:53 +00:00
2011-02-28 20:00:01 -05:00
dnl Settings need Standard C++ Library
LIBS="$LIBS -lstdc++"
2005-12-19 00:11:35 +00:00
2011-02-28 20:00:01 -05:00
dnl Solaris pkgadd support definitions
PKGADD_PKG="SFLphone"
PKGADD_NAME="SFLphone - a SIP client and daemon"
PKGADD_VENDOR="http://www.sflphone.org/"
AC_SUBST(PKGADD_PKG)
AC_SUBST(PKGADD_NAME)
2005-12-19 00:11:35 +00:00
AC_SUBST(PKGADD_VENDOR)
2011-02-28 20:00:01 -05:00
dnl Check for programs
AC_PROG_CC
AC_PROG_CXX
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
dnl will have to remove this
LT_INIT
2009-07-03 16:40:46 -04:00
dnl Define C++ as default language
2006-06-28 23:37:53 +00:00
AC_LANG(C++)
2006-05-25 12:01:00 +00:00
2009-07-03 16:40:46 -04:00
dnl Setup C++ compiler flags
CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS $USER_INCLUDES -g -Wno-return-type"
dnl CXXFLAGS="$USE_EXCEPTIONS $USER_INCLUDES -O0 -g -Wno-return-type"
dnl Check for header files
AC_FUNC_ALLOCA
AC_HEADER_STDC
AC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h limits.h malloc.h \
memory.h netdb.h netinet/in.h stdlib.h string.h strings.h \
sys/ioctl.h sys/socket.h sys/time.h unistd.h utime.h ostream])
dnl Check for typedefs, structures, and compiler characteristics
AC_HEADER_STAT
AC_HEADER_STDBOOL
AC_C_CONST
AC_C_INLINE
AC_TYPE_PID_T
AC_TYPE_SIZE_T
AC_HEADER_TIME
AC_C_VOLATILE
2006-06-28 23:37:53 +00:00
AC_CHECK_TYPES([ptrdiff_t])
2009-07-03 16:40:46 -04:00
dnl ********************************
dnl Check for needed functions
dnl ********************************
AC_FUNC_CHOWN
AC_FUNC_ERROR_AT_LINE
AC_FUNC_FORK
AC_PROG_GCC_TRADITIONAL
AC_FUNC_MALLOC
AC_FUNC_MEMCMP
AC_FUNC_REALLOC
AC_FUNC_SELECT_ARGTYPES
2011-02-28 20:00:01 -05:00
AC_DIAGNOSE([obsolete],[your code may safely assume C89 semantics that RETSIGTYPE is void.
Remove this warning and the `AC_CACHE_CHECK' when you adjust the code.])dnl
AC_CACHE_CHECK([return type of signal handlers],[ac_cv_type_signal],[AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([#include <sys/types.h>
#include <signal.h>
],
[return *(signal (0, 0)) (0) == 1;])],
[ac_cv_type_signal=int],
[ac_cv_type_signal=void])])
AC_DEFINE_UNQUOTED([RETSIGTYPE],[$ac_cv_type_signal],[Define as the return type of signal handlers
(`int' or `void').])
2011-03-01 10:49:03 -05:00
AC_FUNC_STAT
AC_FUNC_UTIME_NULL
AC_FUNC_VPRINTF
AC_CHECK_FUNCS([bzero floor gethostbyname gethrtime gettimeofday \
inet_ntoa memset mkdir pathconf pow regcomp select setlocale socket \
strchr strdup strerror strrchr strstr strtol utime])
2009-07-03 16:40:46 -04:00
2011-03-01 10:49:03 -05:00
dnl *****************************************
dnl Check for header files
dnl *****************************************
SFLPHONE_LIBS="$SFLPHONE_LIBS"
2009-07-03 16:40:46 -04:00
2011-03-01 10:49:03 -05:00
dnl Check for GNU ccRTP
PKG_PROG_PKG_CONFIG
2006-05-25 12:01:00 +00:00
2008-09-25 10:39:03 -04:00
#Trying to set PJSIP using pkg-config
2009-05-07 15:52:59 -04:00
#PKG_CHECK_MODULES(SIP, libpj-sfl, have_libpj=true, have_libpj=false)
#if test "x${have_libpj}" = "xfalse" ; then
2009-07-03 16:40:46 -04:00
# AC_MSG_ERROR([PJSIP not found. http://www.pjsip.org/download.htm])
2009-05-07 15:52:59 -04:00
#fi
#AC_SUBST(SIP_CFLAGS)
2008-09-25 10:39:03 -04:00
2011-03-01 10:49:03 -05:00
dnl Check for uuid development package - name: uuid-dev
dnl PKG_CHECK_MODULES(UUID, uuid >= ${UUID_MIN_VERSION})
dnl AC_SUBST(UUID_CFLAGS)
2009-09-15 13:01:47 -04:00
dnl AC_SUBST(UUID_LIBS)
2011-03-01 10:49:03 -05:00
UUID_MIN_VERSION=1.0
PKG_CHECK_MODULES(UUID, uuid >= ${UUID_MIN_VERSION}, HAVE_UUID=true, HAVE_UUID=false);
2009-03-16 14:09:20 -04:00
2011-06-09 14:32:30 -04:00
LIBCRYPTO_MIN_VERSION=1.0
PKG_CHECK_MODULES(LIBCRYPTO, libcrypto >= ${LIBCRYPTO_MIN_VERSION}, HAVE_LIBCRYPTO=true, HAVE_LIBCRYPTO=false);
2011-03-01 10:49:03 -05:00
dnl Check for alsa development package - name: libasound2-dev
ALSA_MIN_VERSION=1.0
2011-06-09 11:48:17 -04:00
PKG_CHECK_MODULES(ALSA, alsa >= ${ALSA_MIN_VERSION},, AC_MSG_ERROR([Missing alsa development package: libasound2-dev or alsa-lib-devel]))
2008-10-08 16:32:30 -04:00
2011-03-01 10:49:03 -05:00
dnl Check for pulseaudio development package - name: libpulse-dev
2011-06-09 11:48:17 -04:00
2011-03-01 10:49:03 -05:00
LIBPULSE_MIN_VERSION=0.9.15
2011-06-09 11:48:17 -04:00
PKG_CHECK_MODULES(PULSEAUDIO, libpulse >= ${LIBPULSE_MIN_VERSION},, AC_MSG_ERROR([Missing pulseaudio development package: libpulse-dev]))
2008-10-08 16:32:30 -04:00
2011-03-01 10:49:03 -05:00
dnl Check for the samplerate development package - name: libsamplerate0-dev
LIBSAMPLERATE_MIN_VERSION=0.1.2
2011-06-09 11:48:17 -04:00
PKG_CHECK_MODULES(SAMPLERATE, samplerate >= ${LIBSAMPLERATE_MIN_VERSION},, AC_MSG_ERROR([Missing libsamplerate development package: libsamplerate0-dev]))
2006-08-30 18:07:21 +00:00
2011-03-01 10:49:03 -05:00
LIBCCGNU2_MIN_VERSION=1.3.1
2011-06-09 11:48:17 -04:00
PKG_CHECK_MODULES(CCGNU2, libccgnu2 >= ${LIBCCGNU2_MIN_VERSION},, AC_MSG_ERROR([Missing common cpp development package: libcommoncpp2-dev]))
2005-12-19 00:11:35 +00:00
2011-03-01 10:49:03 -05:00
LIBCCEXT2_MIN_VERSION=1.3.1
PKG_CHECK_MODULES(CCEXT2, libccext2 >= ${LIBCCEXT2_MIN_VERSION})
2005-12-19 00:11:35 +00:00
2011-03-01 10:49:03 -05:00
LIBCCRT_MIN_VERSION=1.3.0
2011-06-09 11:48:17 -04:00
PKG_CHECK_MODULES(CCRTP, libccrtp1 >= ${LIBCCRT_MIN_VERSION},, AC_MSG_ERROR([Missing ccrtp development package: libccrtp-dev]))
2005-12-19 00:11:35 +00:00
2011-03-01 10:49:03 -05:00
dnl Check for OpenSSL to link against pjsip and provide SIPS TLS support
2011-06-09 11:48:17 -04:00
PKG_CHECK_MODULES([libssl], libssl,, AC_MSG_ERROR([Missing ssl development package: libssl-dev]))
2009-08-17 17:47:02 -04:00
2011-03-01 10:49:03 -05:00
dnl Check for libzrtpcpp, a ccRTP extension providing zrtp key exchange
LIBZRTPCPP_MIN_VERSION=1.3.0
PKG_CHECK_MODULES(ZRTPCPP, libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION},, AC_MSG_ERROR([Missing zrtp development package: libzrtpcpp-dev]))
2009-10-09 14:56:25 -04:00
2011-08-08 15:52:41 -04:00
dnl DBus-C++ detection
dnl pkg-config doesn't like 0.6.0-pre1 version number, it assumes that it is
dnl more recent than (unreleased) 0.6.0
DBUS_CPP_REQUIRED_VERSION=0.6.0-pre1
PKG_CHECK_MODULES(DBUSCPP, dbus-c++-1,,
AC_MSG_ERROR([You need the DBus-c++ libraries (version $DBUS_CPP_REQUIRED_VERSION or better)]))
2009-07-03 16:40:46 -04:00
2011-03-01 10:49:03 -05:00
AC_ARG_WITH(debug,
AS_HELP_STRING(
2009-07-03 16:40:46 -04:00
[--with-debug],
[Set 'full' to enable debugging information @<:@default=no@:>@]
),
[with_debug=${withval}],
[with_debug=no]
)
if test "x$with_debug" = "xfull" -o "x$with_debug" = "xyes"; then
CXXFLAGS="$USE_EXCEPTIONS $USER_INCLUDES -g -O0 -Wno-return-type"
else
CXXFLAGS="-g -Wall -O2"
fi
2009-04-02 16:34:46 -04:00
AC_CHECK_LIB([expat], XML_ParserCreate_MM,
2009-07-03 16:40:46 -04:00
[AC_CHECK_HEADERS(expat.h, have_expat=true, have_expat=false)],
2010-02-24 16:13:53 -05:00
have_expat=false)
2009-04-02 16:34:46 -04:00
if ! $have_expat; then
2011-02-28 20:00:01 -05:00
AC_MSG_ERROR([libexpat development files missing])
2009-04-02 16:34:46 -04:00
fi
xml_CFLAGS=
xml_LIBS=-lexpat
2010-06-30 12:54:49 -04:00
AC_SUBST(xml_CFLAGS)
2009-04-02 16:34:46 -04:00
AC_SUBST(xml_LIBS)
2010-06-30 12:54:49 -04:00
AC_CHECK_LIB([yaml], yaml_parser_initialize,
2010-07-15 17:11:52 -04:00
[AC_CHECK_HEADERS(yaml.h, have_yaml=true, have_yaml=false)],
2011-02-28 20:00:01 -05:00
have_yaml=false)
2010-06-30 12:54:49 -04:00
2011-02-28 20:00:01 -05:00
if test "$have_yaml" = "false"; then
AC_MSG_ERROR([libyaml development files missing])
fi
2010-06-30 12:54:49 -04:00
yaml_CFLAGS=
2010-06-30 18:25:58 -04:00
yaml_LIBS=-lyaml
2010-06-30 12:54:49 -04:00
AC_SUBST(yaml_CFLAGS)
AC_SUBST(yaml_LIBS)
2009-04-02 16:34:46 -04:00
AC_CHECK_LIB([pthread], pthread_create,
2009-07-03 16:40:46 -04:00
[AC_CHECK_HEADERS(pthread.h, have_pthread=true, have_pthread=false)],
have_pthread=false)
2009-04-02 16:34:46 -04:00
2009-07-03 16:40:46 -04:00
if test "$have_pthread" = "false"; then
AC_MSG_ERROR([You need the POSIX Thread library (pthreads)])
fi
2009-04-02 16:34:46 -04:00
2010-01-12 10:29:08 -05:00
2010-01-11 18:22:08 -05:00
AC_CHECK_LIB([pcre], pcre_free,
[AC_CHECK_HEADERS(pcre.h, have_pcre=true, have_pcre=false)],
have_pcre=false)
if test "$have_pcre" = "false"; then
AC_MSG_ERROR([You need the Perl-Compatible Regular Expressions library (pcre)])
fi
2010-02-24 16:13:53 -05:00
PCRE_LIBS=-lpcre
PCRE_CFLAGS=
AC_SUBST(PCRE_LIBS)
2010-01-12 10:29:08 -05:00
AC_SUBST(PCRE_CFLAGS)
2011-06-09 11:48:17 -04:00
dnl Check for libcppunit-dev
CPPUNIT_MIN_VERSION=1.12
PKG_CHECK_MODULES(CPPUNIT, cppunit >= ${CPPUNIT_MIN_VERSION}, AM_CONDITIONAL(BUILD_TEST, test 1 = 1 ), AM_CONDITIONAL(BUILD_TEST, test 0 = 1 ))
2007-08-28 12:02:49 -04:00
2008-02-20 09:39:25 -05:00
# check for libgsm1 (doesn't use pkg-config)
2009-07-03 16:40:46 -04:00
dnl Check for libgsm
2008-02-20 09:39:25 -05:00
AC_ARG_WITH([gsm],
2009-07-03 16:40:46 -04:00
[AS_HELP_STRING([--without-gsm],
[disable support for gsm codec])],
[],
[with_gsm=yes])
2008-02-20 09:39:25 -05:00
LIBGSM=
AS_IF([test "x$with_gsm" != xno],
2009-07-03 16:40:46 -04:00
[AC_CHECK_HEADER([gsm/gsm.h], , AC_MSG_FAILURE([Unable to find the libgsm1 headers (you may need to install the dev package). You may use --without-gsm to compile without gsm codec support.]))]
[AC_CHECK_LIB([gsm], [gsm_decode],
[],
[AC_MSG_FAILURE(
[libgsm link test failed. You may use --without-gsm to compile without gsm codec support.])]
)
]
)
2011-08-05 18:47:29 -04:00
AC_DEFINE_UNQUOTED([HAVE_GSM], `if test "x$with_gsm" = "xyes"; then echo 1; else echo 0; fi`, [Define if you have libgsm])
2008-02-20 09:39:25 -05:00
AM_CONDITIONAL(BUILD_GSM, test "x$with_gsm" = "xyes" )
2010-11-04 15:44:21 -04:00
dnl Check for libspeex
2008-02-20 09:39:25 -05:00
AC_ARG_WITH([speex],
2009-07-03 16:40:46 -04:00
[AS_HELP_STRING([--without-speex],
2010-11-04 15:44:21 -04:00
[disable support for speex codec])],
2009-07-03 16:40:46 -04:00
[],
[with_speex=yes])
2008-02-20 09:39:25 -05:00
AS_IF([test "x$with_speex" != xno],
2009-07-03 16:40:46 -04:00
[AC_CHECK_HEADER([speex/speex.h], , AC_MSG_FAILURE([Unable to find the libspeex headers (you may need to install the dev package). You may use --without-speex to compile without speex codec support.]))]
[AC_CHECK_LIB([speex], [speex_decode_int],
2010-11-04 15:44:21 -04:00
[],
[AC_MSG_FAILURE([libspeex link test failed. You may use --without-speex to compile without speex codec support.])])
])
AC_DEFINE([HAVE_SPEEX], test "x$with_speex" = "xyes", [Define if you have libspeex])
AM_CONDITIONAL(BUILD_SPEEX, test "x$with_speex" = "xyes" )
2009-02-17 16:23:05 -05:00
2010-06-16 17:39:45 -04:00
dnl check in case the libspeexdsp is not installed
AC_CHECK_HEADER([speex/speex_preprocess.h], , AC_MSG_FAILURE([Unable to find the libspeexdsp headers (you may need to install the libspeexdsp-dev package) used for Noise Suppression and Automatic Gain Control.]))
AC_CHECK_LIB(speexdsp, speex_preprocess_run, [], [], [])
2011-02-28 20:00:01 -05:00
AM_CONDITIONAL(ENABLE_SPEEXDSP, test "x$HAVE_SPEEXDSP" = xyes)
2005-12-19 00:11:35 +00:00
2011-02-28 20:00:01 -05:00
2011-03-01 10:49:03 -05:00
# check for libcelt
AC_ARG_WITH([celt],
[AS_HELP_STRING([--without-celt],
[disable support for celt codec])],
[],
[with_celt=yes])
2011-02-28 20:00:01 -05:00
2011-03-01 10:49:03 -05:00
AS_IF([test "x$with_celt" != xno],
PKG_CHECK_MODULES(CELT, celt >= 0.9.1,
[
2011-03-01 13:09:56 -05:00
with_celt_91=yes; AC_MSG_NOTICE([Using celt 0.9.1]); AC_SUBST(BUILD_CELT_91)
2011-03-01 10:49:03 -05:00
],
[
2011-03-01 13:09:56 -05:00
PKG_CHECK_MODULES(CELT, celt >= 0.7.1, [with_celt_71=yes; AC_MSG_NOTICE([Using celt 0.7.1]); AC_SUBST(BUILD_CELT_71)], AC_MSG_FAILURE([libcelt link test failed. You may use --without-celt to compile without celt codec support.]))
2011-03-01 10:49:03 -05:00
])
)
2010-11-04 15:44:21 -04:00
2011-03-01 13:09:56 -05:00
# AC_SUBST(BUILD_CELT)
# AM_CONDITIONAL(BUILD_CELT, test "x$with_celt" = "xyes" )
AM_CONDITIONAL(BUILD_CELT_91, test "x$with_celt_91" = "xyes" )
AM_CONDITIONAL(BUILD_CELT_71, test "x$with_celt_71" = "xyes" )
2011-02-28 20:00:01 -05:00
2010-11-04 15:44:21 -04:00
dnl Check for IAX
2008-02-20 12:04:41 -05:00
AC_ARG_WITH([iax2],
2009-07-03 16:40:46 -04:00
[AS_HELP_STRING([--without-iax2],
[disable support for the iax2 protocol])],
[],
[with_iax2=yes])
2008-02-20 12:04:41 -05:00
2011-08-05 18:47:29 -04:00
AC_DEFINE_UNQUOTED([HAVE_IAX], `if test "x$with_iax2" = "xyes"; then echo 1; else echo 0;fi`, [Define if you have libiax2])
2008-02-20 16:18:31 -05:00
AM_CONDITIONAL(USE_IAX, test "x$with_iax2" = "xyes" )
2005-12-19 00:11:35 +00:00
2009-11-19 12:40:10 -05:00
dnl Check for network-manager
AC_ARG_WITH([networkmanager],
[AS_HELP_STRING([--without-networkmanager],
[disable support for network-manager events])],
[],
[with_networkmanager=yes])
AM_CONDITIONAL(USE_NETWORKMANAGER, test "x$with_networkmanager" = "xyes" )
2008-03-03 09:02:41 -05:00
# check for doxygen, mostly stolen from http://log4cpp.sourceforge.net/
# ----------------------------------------------------------------------------
AC_DEFUN([BB_ENABLE_DOXYGEN],
2009-07-03 16:40:46 -04:00
[
AC_ARG_ENABLE(doxygen, [ --enable-doxygen enable documentation generation with doxygen (auto)])
AC_ARG_ENABLE(dot, [ --enable-dot use 'dot' to generate graphs in doxygen (auto)])
AC_ARG_ENABLE(html-docs, [ --enable-html-docs enable HTML generation with doxygen (yes)], [], [ enable_html_docs=yes])
AC_ARG_ENABLE(latex-docs, [ --enable-latex-docs enable LaTeX documentation generation with doxygen (no)], [], [ enable_latex_docs=no])
if test "x$enable_doxygen" = xno; then
enable_doc=no
else
AC_PATH_PROG(DOXYGEN, doxygen, , $PATH)
if test x$DOXYGEN = x; then
if test "x$enable_doxygen" = xyes; then
AC_MSG_ERROR([could not find doxygen])
fi
enable_doc=no
else
enable_doc=yes
AC_PATH_PROG(DOT, dot, , $PATH)
fi
fi
AM_CONDITIONAL(DOC, test x$enable_doc = xyes)
if test x$DOT = x; then
if test "x$enable_dot" = xyes; then
2010-06-22 09:45:35 -04:00
AC_MSG_ERROR([could not find dot])
2009-07-03 16:40:46 -04:00
fi
enable_dot=no
else
enable_dot=yes
fi
AM_CONDITIONAL(ENABLE_DOXYGEN, test x$enable_doc = xtrue)
AC_SUBST(enable_dot)
AC_SUBST(enable_html_docs)
2010-06-22 09:45:35 -04:00
AC_SUBST(enable_latex_docs)
2009-07-03 16:40:46 -04:00
])
2010-06-22 09:45:35 -04:00
# Acutally perform the doxygen check
2009-07-03 16:40:46 -04:00
BB_ENABLE_DOXYGEN
2008-03-03 09:02:41 -05:00
2009-07-03 16:40:46 -04:00
dnl Datadir directory
sflphone_datadir=$datadir/sflphone
2010-06-22 09:45:35 -04:00
AC_SUBST(sflphone_datadir)
2005-12-19 01:13:38 +00:00
2009-07-03 16:40:46 -04:00
dnl Dbus Service activation part
DBUS_SERVICES_DIR="$datadir/dbus-1/services"
2010-06-22 09:45:35 -04:00
AC_SUBST(DBUS_SERVICES_DIR)
2009-07-03 16:40:46 -04:00
AC_DEFINE_UNQUOTED(DBUS_SERVICES_DIR, "$DBUS_SERVICES_DIR", [Where services dir for DBUS is])
2007-11-02 11:39:04 -04:00
2006-06-28 23:37:53 +00:00
# Go!
2009-07-03 16:40:46 -04:00
AC_SUBST(SFLPHONE_CFLAGS)
2010-06-22 09:45:35 -04:00
AC_SUBST(SFLPHONE_LIBS)
2009-07-03 16:40:46 -04:00
AC_OUTPUT
2011-03-01 13:50:44 -05:00
2011-03-31 09:25:21 -04:00
AC_MSG_NOTICE([[Configuration done! Please make sure that pjsip library (libs/pjproject) has already been compiled. Run `make' to build the software.]])