summaryrefslogtreecommitdiff
path: root/configure.ac
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:10:13 +0200
commit1f03bba199fbbda435a34bba141354456a353c54 (patch)
treea26b33c96b361fecdf9a367e57ca0bc8dd8fa364 /configure.ac
parentd027a2f65c42d041b4449260ef37c98036c8b6df (diff)
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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index c5afb7845d..d725450154 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1864,7 +1864,7 @@ EFL_LIB_START([Evas])
1864AC_ARG_WITH([x11], 1864AC_ARG_WITH([x11],
1865 [AS_HELP_STRING([--with-x11=xlib|xcb|none],[X11 method to use: xlib, xcb or none])]) 1865 [AS_HELP_STRING([--with-x11=xlib|xcb|none],[X11 method to use: xlib, xcb or none])])
1866 1866
1867if test "x${have_windows}" = "xyes" || test "x${have_ps3}" = "xyes"; then 1867if test "x${have_windows}" = "xyes" || test "x${have_ps3}" = "xyes" || test "x${have_darwin}" = "xyes"; then
1868 with_x11="none" 1868 with_x11="none"
1869elif test "x${with_x11}" = "x"; then 1869elif test "x${with_x11}" = "x"; then
1870 with_x11="xlib" 1870 with_x11="xlib"
@@ -2000,7 +2000,7 @@ fi
2000 2000
2001# Cocoa 2001# Cocoa
2002AC_ARG_ENABLE([cocoa], 2002AC_ARG_ENABLE([cocoa],
2003 [AS_HELP_STRING([--enable-cocoa],[enable MacOS X Cocoa . @<:@default=disabled@:>@])], 2003 [AS_HELP_STRING([--enable-cocoa],[enable Cocoa backend on Mac OS X. @<:@default=enabled@:>@])],
2004 [ 2004 [
2005 if test "x${enableval}" = "xyes" ; then 2005 if test "x${enableval}" = "xyes" ; then
2006 want_cocoa="yes" 2006 want_cocoa="yes"
@@ -2008,7 +2008,7 @@ AC_ARG_ENABLE([cocoa],
2008 want_cocoa="no" 2008 want_cocoa="no"
2009 fi 2009 fi
2010 ], 2010 ],
2011 [want_cocoa="no"]) 2011 [want_cocoa="yes"])
2012 2012
2013if test "${want_cocoa}" = "yes"; then 2013if test "${want_cocoa}" = "yes"; then
2014 #test cocoa requirements (objc and Cocoa/Cocoa.h) 2014 #test cocoa requirements (objc and Cocoa/Cocoa.h)