summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean.guyomarch@gmail.com>2016-04-12 00:05:40 +0200
committerJean Guyomarc'h <jean.guyomarch@gmail.com>2016-05-16 16:00:03 +0200
commit82e013160a546f72fdfe65c0344b572ee527ad59 (patch)
tree974b26eb1c5b8d3019260c5df82d999df35164ac
parent1a001d38d48e71a6d6bd828baf935422943fb38d (diff)
downloadefl-82e013160a546f72fdfe65c0344b572ee527ad59.tar.gz
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.
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 8b14aa0de8..4257e1355c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1556,7 +1556,7 @@ EFL_LIB_START([Evas])
AC_ARG_WITH([x11],
[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"
elif test "x${with_x11}" = "x"; then
with_x11="xlib"
@@ -1692,7 +1692,7 @@ fi
# 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
want_cocoa="yes"
@@ -1700,7 +1700,7 @@ AC_ARG_ENABLE([cocoa],
want_cocoa="no"
fi
],
- [want_cocoa="no"])
+ [want_cocoa="yes"])
if test "${want_cocoa}" = "yes"; then
#test cocoa requirements (objc and Cocoa/Cocoa.h)