Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
0fc6d3fd
Commit
0fc6d3fd
authored
May 29, 2013
by
Simon Morlat
Browse files
fix syntax errors in configure.ac and implement --enable-nls on windows
parent
2b038166
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
27 deletions
+12
-27
configure.ac
configure.ac
+11
-26
mediastreamer2
mediastreamer2
+1
-1
No files found.
configure.ac
View file @
0fc6d3fd
...
...
@@ -127,9 +127,11 @@ if test "$mingw_found" != "yes" ; then
CPPFLAGS=$CPPFLAGS_save
LIBS="$LIBS $LIBINTL"
else
AC_DEFINE(ENABLE_NLS,1,[Tells whether localisation is possible])
AC_DEFINE(HAVE_GETTEXT,1,[Tells wheter localisation is possible])
LIBS="$LIBS -lintl"
if test "$USE_NLS" = "yes" ; then
AC_DEFINE(ENABLE_NLS,1,[Tells whether localisation is possible])
AC_DEFINE(HAVE_GETTEXT,1,[Tells wheter localisation is possible])
LIBS="$LIBS -lintl"
fi
fi
GETTEXT_PACKAGE=linphone
...
...
@@ -681,29 +683,16 @@ if test x$enable_msg_storage != xfalse; then
] )
fi
SIPSTACK_CFLAGS=
SIPSTACK_LIBS=
AC_ARG_ENABLE([bellesip],
AS_HELP_STRING([--enable-bellesip], [Build with bellesip]))
PKG_CHECK_MODULES(BELLESIP, [belle-sip],[bellesip_found=yes],foo=bar)
AM_CONDITIONAL([USE_BELLESIP], [test
"x$enable_bellesip" != "xno" && test
"x$bellesip_found" == "xyes"])
AM_CONDITIONAL([USE_BELLESIP], [test "x$bellesip_found" == "xyes"])
SIPSTACK_CFLAGS="$BELLESIP_CFLAGS"
SIPSTACK_LIBS="$BELLESIP_LIBS"
AC_DEFINE(USE_BELLESIP,1,[Defined when bellesip is used])
if test $USE_BELLESIP_TRUE !='#' ; then
SIPSTACK_CFLAGS=$BELLESIP_CFLAGS
SIPSTACK_LIBS=$BELLESIP_LIBS
AC_DEFINE(USE_BELLESIP,1,[Defined when bellesip is used])
else
dnl check for osip2
LP_CHECK_OSIP2
dnl setup flags for exosip library
LP_SETUP_EXOSIP
SIPSTACK_CFLAGS=$EXOSIP_CFLAGS $OSIP_CFLAGS
SIPSTACK_LIBS=$EXOSIP_LIBS $OSIP_LIBS
fi
AC_SUBST(SIPSTACK_CFLAGS)
AC_SUBST(SIPSTACK_LIBS)
...
...
@@ -855,12 +844,8 @@ printf "* %-30s %s\n" "zRTP encryption (GPLv3)" $zrtp
printf "* %-30s %s\n" "uPnP support" $build_upnp
if test "$enable_tunnel" = "true" ; then
printf "* Tunnel support\t\t\ttrue\n"
fi
if test $USE_BELLESIP_TRUE !='#' ; then
printf "* bellesip stack\t\t\ttrue\n"
else
printf "* eXosip stack\t\t\ttrue\n"
printf "* %-30s %s\n" "Tunnel support" "true"
fi
echo "Now type 'make' to compile, and then 'make install' as root to install it."
mediastreamer2
@
5b7873ee
Subproject commit
1db1e85aebc7f4256bf665fb7f4b400e27442fce
Subproject commit
5b7873ee3cbc460138015ba244330d99aa861d7f
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment