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 15:39:33 +0200
commitc6d69f486a3a86eefc04d1042d61890c9ad7cc15 (patch)
treec571773b40949fd75f0bfc53e43ef3b194fd7777
parent1a001d38d48e71a6d6bd828baf935422943fb38d (diff)
downloadefl-devs/jayji/autotools-cocoa.tar.gz
autotools: enable gl_cocoa on OS X by defaultdevs/jayji/autotools-cocoa
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.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 8b14aa0de8..46ec83d7e3 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"
@@ -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)