Skip to content
Snippets Groups Projects
Commit ce9da9d4 authored by yanmorin's avatar yanmorin
Browse files

New separation for dependencies
parent 950ac850
No related branches found
No related tags found
No related merge requests found
......@@ -50,15 +50,21 @@ AM_INIT_AUTOMAKE(sflphone, $VERSION)
AC_PROG_LIBTOOL
dnl check for portaudio
AC_MSG_NOTICE([********** Checking for portaudio **********])
AC_MSG_NOTICE([
********** Checking for portaudio **********])
PORTAUDIO_SETUP
dnl check for osip2
AC_MSG_NOTICE([********** Checking for libosip2 **********])
AC_MSG_NOTICE([
********** Checking for libosip2 **********])
LP_CHECK_OSIP2
dnl check for exosip2
AC_MSG_NOTICE([********** Checking for libeXosip2 **********])
AC_MSG_NOTICE([
********** Checking for libeXosip2 **********])
LP_CHECK_EXOSIP2
dnl setup flags for embedded exosip library
......@@ -87,6 +93,9 @@ esac
AM_CONDITIONAL(NO_UNDEFINED, test x$need_no_undefined = xyes)
AM_CONDITIONAL(USE_SAMPLERATE, test x$with_samplerate = xyes)
AC_MSG_NOTICE([
********** Checking for STD C AND ostream **********])
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS( \
......@@ -96,7 +105,9 @@ ostream \
CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS"
SFLPHONE_LIBS=""
AC_MSG_NOTICE([********** Checking for commoncpp2 **********])
AC_MSG_NOTICE([
********** Checking for commoncpp2 **********])
LIBCCGNU2_MIN_VERSION=1.3.1
PKG_CHECK_MODULES(libccgnu2, libccgnu2 >= ${LIBCCGNU2_MIN_VERSION})
SFLPHONE_LIBS="$SFLPHONE_LIBS $libccgnu2_LIBS"
......@@ -105,7 +116,9 @@ LIBCCEXT2_MIN_VERSION=1.3.1
PKG_CHECK_MODULES(libccext2, libccext2 >= ${LIBCCEXT2_MIN_VERSION})
SFLPHONE_LIBS="$SFLPHONE_LIBS $libccext2_LIBS"
AC_MSG_NOTICE([********** Checking for ccrtp **********])
AC_MSG_NOTICE([
********** Checking for ccrtp **********])
LIBCCRT_MIN_VERSION=1.3.0
PKG_CHECK_MODULES(libccrtp1, libccrtp1 >= ${LIBCCRT_MIN_VERSION})
SFLPHONE_LIBS="$SFLPHONE_LIBS $libccrtp1_LIBS"
......@@ -113,7 +126,9 @@ SFLPHONE_LIBS="$SFLPHONE_LIBS $libccrtp1_LIBS"
SFLPHONE_LIBS="$SFLPHONE_LIBS $OSIP_LIBS $EXOSIP_LIBS "
AC_SUBST(SFLPHONE_LIBS)
AC_MSG_NOTICE([********** Checking for speex **********])
AC_MSG_NOTICE([
********** Checking for speex **********])
dnl check for speex...
AC_ARG_ENABLE(speex,
AC_HELP_STRING(
......@@ -136,7 +151,9 @@ if test "x$with_speex" = "xyes" ; then
fi
AM_CONDITIONAL(USE_SPEEX, test "x$with_speex" = "xyes" )
AC_MSG_NOTICE([********** Checking for iax2 **********])
AC_MSG_NOTICE([
********** Checking for iax2 **********])
AC_ARG_ENABLE(iax2,
AC_HELP_STRING(
[--enable-iax2],
......@@ -147,9 +164,14 @@ AC_ARG_ENABLE(iax2,
)
AM_CONDITIONAL(USE_IAX, test x$with_iax2 = xyes)
AC_MSG_NOTICE([
********** Checking for readline (sflphone-cli) **********])
GNUPG_CHECK_READLINE
AC_MSG_NOTICE([********** Checking for zeroconf **********])
AC_MSG_NOTICE([
********** Checking for zeroconf **********])
dnl check for zeroconf (from apple)
AC_ARG_ENABLE(zeroconf,
AC_HELP_STRING(
......@@ -233,6 +255,9 @@ if test "x$with_sflphoneqt" = "xno"; then
AC_MSG_RESULT(no)
else
AC_MSG_RESULT(yes)
AC_MSG_NOTICE([
********** Checking for QT **********])
dnl Setting QT Path
AC_PATH_QT
dnl QT substitution?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment