mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 21:28:08 +00:00
Disable x11 support on MacOS X target by default
This commit is contained in:
parent
33aaac313b
commit
080cb97898
1 changed files with 5 additions and 2 deletions
|
|
@ -158,13 +158,16 @@ dnl AC_CHECK_LIB(intl,libintl_gettext)
|
|||
AC_CHECK_FUNCS([get_current_dir_name strndup stpcpy] )
|
||||
|
||||
AC_ARG_ENABLE(x11,
|
||||
[AS_HELP_STRING([--disable-x11], [Disable X11 support (default=no)])],
|
||||
[AS_HELP_STRING([--disable-x11], [Disable X11 support (default=yes for MacOSX, no otherwise)])],
|
||||
[case "${enableval}" in
|
||||
yes) enable_x11=true ;;
|
||||
no) enable_x11=false ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for --disable-x11) ;;
|
||||
esac],
|
||||
[enable_x11=true]
|
||||
[case "$target_os" in
|
||||
*darwin*) enable_x11=false ;; #disable x11 on MacOS by default
|
||||
*) enable_x11=true ;;
|
||||
esac]
|
||||
)
|
||||
|
||||
dnl conditional build of LDAP support
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue