summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-26 18:02:00 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-26 18:02:00 +0900
commit121a1cb154f5c8947870f58285ff579cff8524ed (patch)
tree12d8792175af7fd48c7a09da611c406af35aa300 /configure.ac
parentc80b90a5975293bd85a036ec7187a331a05c19dc (diff)
elm engine_set etc. - undeprecate, just limit engines supported instead
thre are still all the old engines supported inside, but docs dont say so so effectively deprecated. also handle a NULL engine. this is part of our engine/display system cleanup.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 0 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 235d6b036..c076de52d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,14 +55,12 @@ dnl managed by evil
55 dlopen_libs=-ldl 55 dlopen_libs=-ldl
56 requirement_elm="evil" 56 requirement_elm="evil"
57 have_socket="no" 57 have_socket="no"
58 default_engine=software_gdi
59 ;; 58 ;;
60 *solaris*) 59 *solaris*)
61 ELM_UNIX_DEF="#define" 60 ELM_UNIX_DEF="#define"
62 have_socket="yes" 61 have_socket="yes"
63 have_dlopen="yes" 62 have_dlopen="yes"
64 AC_CHECK_LIB([socket], [connect], [], [have_socket="no"]) 63 AC_CHECK_LIB([socket], [connect], [], [have_socket="no"])
65 default_engine=software_x11
66 ;; 64 ;;
67 darwin*) 65 darwin*)
68 ELM_UNIX_DEF="#define" 66 ELM_UNIX_DEF="#define"
@@ -70,7 +68,6 @@ dnl managed by evil
70 have_dlopen="yes" 68 have_dlopen="yes"
71 AC_CHECK_HEADERS([crt_externs.h]) 69 AC_CHECK_HEADERS([crt_externs.h])
72 AC_DEFINE([environ], [(*_NSGetEnviron())], ["apple doesn't follow POSIX in this case."]) 70 AC_DEFINE([environ], [(*_NSGetEnviron())], ["apple doesn't follow POSIX in this case."])
73 default_engine=opengl_cocoa
74 ;; 71 ;;
75 *) 72 *)
76 ELM_UNIX_DEF="#define" 73 ELM_UNIX_DEF="#define"
@@ -88,7 +85,6 @@ dnl managed by evil
88 fi 85 fi
89 fi 86 fi
90 have_socket="yes" 87 have_socket="yes"
91 default_engine=software_x11
92 ;; 88 ;;
93esac 89esac
94 90
@@ -96,10 +92,6 @@ AM_CONDITIONAL([BUILD_RUN], [test "x$have_socket" = "xyes"])
96AM_CONDITIONAL([BUILD_MODULES], [test "x$have_dlopen" = "xyes"]) 92AM_CONDITIONAL([BUILD_MODULES], [test "x$have_dlopen" = "xyes"])
97AM_CONDITIONAL([HAVE_FREEBSD], [test "x${have_freebsd}" = "xyes"]) 93AM_CONDITIONAL([HAVE_FREEBSD], [test "x${have_freebsd}" = "xyes"])
98 94
99AC_SUBST([default_engine])
100AC_DEFINE_UNQUOTED([DEFAULT_ENGINE], ["$default_engine"], ["Default engine according to host"])
101
102
103EFL_COMPILER_FLAG([-Wall -Wextra -Wpointer-arith -Wno-missing-field-initializers -fvisibility=hidden -fdata-sections -ffunction-sections]) 95EFL_COMPILER_FLAG([-Wall -Wextra -Wpointer-arith -Wno-missing-field-initializers -fvisibility=hidden -fdata-sections -ffunction-sections])
104EFL_LINKER_FLAG([-fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -fno-strict-aliasing -Wl,--as-needed -Wl,--no-copy-dt-needed-entries]) 96EFL_LINKER_FLAG([-fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -fno-strict-aliasing -Wl,--as-needed -Wl,--no-copy-dt-needed-entries])
105 97