mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
Disable wizard if gtk < 2.22.0
This commit is contained in:
parent
634cab3d53
commit
b5e0067dda
1 changed files with 9 additions and 1 deletions
10
configure.ac
10
configure.ac
|
|
@ -457,12 +457,20 @@ if test "$build_wizard" != "false" ; then
|
|||
build_wizard=false
|
||||
fi
|
||||
])
|
||||
PKG_CHECK_MODULES(LIBGTK, [gtk+-2.0 >= 2.22.0],[build_wizard=true],
|
||||
[
|
||||
if test "$build_wizard" = "true" ; then
|
||||
AC_MSG_ERROR([gtk+-2.0 < 2.22.0, assistant cannot be compiled.])
|
||||
else
|
||||
build_wizard=false
|
||||
fi
|
||||
])
|
||||
fi
|
||||
AC_SUBST(LIBSOUP_CFLAGS)
|
||||
AC_SUBST(LIBSOUP_LIBS)
|
||||
AM_CONDITIONAL(BUILD_WIZARD, test x$build_wizard = xtrue)
|
||||
if test "$build_wizard" = "true" ; then
|
||||
AC_DEFINE( BUILD_WIZARD, 1, [Define if wizard enabled] )
|
||||
AC_DEFINE(BUILD_WIZARD, 1, [Define if wizard enabled] )
|
||||
fi
|
||||
|
||||
AC_CHECK_HEADERS(libudev.h)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue