forked from enlightenment/efl
autotools: enable gl_cocoa on OS X by default
Before this commit, X11 (via Xquartz) was the default engine to be enabled on OS X. Since the Cocoa backend became quite stable and considering applications running within the Xquartz windowing environment are arguably ugly, the Cocoa backend will now be enabled by default and X11 will be selected only if explicitely requested.
This commit is contained in:
parent
d027a2f65c
commit
1f03bba199
|
@ -1864,7 +1864,7 @@ EFL_LIB_START([Evas])
|
||||||
AC_ARG_WITH([x11],
|
AC_ARG_WITH([x11],
|
||||||
[AS_HELP_STRING([--with-x11=xlib|xcb|none],[X11 method to use: xlib, xcb or none])])
|
[AS_HELP_STRING([--with-x11=xlib|xcb|none],[X11 method to use: xlib, xcb or none])])
|
||||||
|
|
||||||
if test "x${have_windows}" = "xyes" || test "x${have_ps3}" = "xyes"; then
|
if test "x${have_windows}" = "xyes" || test "x${have_ps3}" = "xyes" || test "x${have_darwin}" = "xyes"; then
|
||||||
with_x11="none"
|
with_x11="none"
|
||||||
elif test "x${with_x11}" = "x"; then
|
elif test "x${with_x11}" = "x"; then
|
||||||
with_x11="xlib"
|
with_x11="xlib"
|
||||||
|
@ -2000,7 +2000,7 @@ fi
|
||||||
|
|
||||||
# Cocoa
|
# Cocoa
|
||||||
AC_ARG_ENABLE([cocoa],
|
AC_ARG_ENABLE([cocoa],
|
||||||
[AS_HELP_STRING([--enable-cocoa],[enable MacOS X Cocoa . @<:@default=disabled@:>@])],
|
[AS_HELP_STRING([--enable-cocoa],[enable Cocoa backend on Mac OS X. @<:@default=enabled@:>@])],
|
||||||
[
|
[
|
||||||
if test "x${enableval}" = "xyes" ; then
|
if test "x${enableval}" = "xyes" ; then
|
||||||
want_cocoa="yes"
|
want_cocoa="yes"
|
||||||
|
@ -2008,7 +2008,7 @@ AC_ARG_ENABLE([cocoa],
|
||||||
want_cocoa="no"
|
want_cocoa="no"
|
||||||
fi
|
fi
|
||||||
],
|
],
|
||||||
[want_cocoa="no"])
|
[want_cocoa="yes"])
|
||||||
|
|
||||||
if test "${want_cocoa}" = "yes"; then
|
if test "${want_cocoa}" = "yes"; then
|
||||||
#test cocoa requirements (objc and Cocoa/Cocoa.h)
|
#test cocoa requirements (objc and Cocoa/Cocoa.h)
|
||||||
|
|
Loading…
Reference in New Issue