mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
fix mac os build (AM_GNU_GETTEXT was adding flags to CPPFLAGS)
This commit is contained in:
parent
00984708fd
commit
3a8b6a943c
1 changed files with 7 additions and 3 deletions
10
configure.ac
10
configure.ac
|
|
@ -102,9 +102,13 @@ AC_SUBST(ALL_LINGUAS)
|
|||
AC_DEFINE_UNQUOTED(LINPHONE_ALL_LANGS, "$ALL_LINGUAS", [All supported languages])
|
||||
|
||||
if test "$mingw_found" != "yes" ; then
|
||||
dnl gettext macro does not work properly under mingw. And we want to use the one provided by GTK.
|
||||
AM_GNU_GETTEXT([external])
|
||||
LIBS="$LIBS $LIBINTL"
|
||||
dnl gettext macro does not work properly under mingw. And we want to use the one provided by GTK.
|
||||
|
||||
dnl AM_GNU_GETTEXT pollutes CPPFLAGS: workaround this.
|
||||
CPPFLAGS_save=$CPPFLAGS
|
||||
AM_GNU_GETTEXT([external])
|
||||
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])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue