summaryrefslogtreecommitdiff
path: root/legacy/evil/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2010-02-28 07:57:03 +0000
committerVincent Torri <vincent.torri@gmail.com>2010-02-28 07:57:03 +0000
commitc0f295f2de20040d5b62225cd6ec27bbb64328ca (patch)
tree9730820b6baac9c6b02dd2e7b2ffe8b695f6b091 /legacy/evil/configure.ac
parent336e1aac6c28e26c71569250de40a8eaff990bbb (diff)
* remove cegcc compiler support. Only mingw32ce is supported now
* remove some shadow declarations SVN revision: 46639
Diffstat (limited to 'legacy/evil/configure.ac')
-rw-r--r--legacy/evil/configure.ac27
1 files changed, 8 insertions, 19 deletions
diff --git a/legacy/evil/configure.ac b/legacy/evil/configure.ac
index 69771da99f..dd84f233ee 100644
--- a/legacy/evil/configure.ac
+++ b/legacy/evil/configure.ac
@@ -8,7 +8,10 @@ AC_CANONICAL_HOST
8 8
9dnl If the host is not Windows, we exit 9dnl If the host is not Windows, we exit
10case "$host_os" in 10case "$host_os" in
11 mingw* | cegcc*) 11 cegcc*)
12 AC_MSG_ERROR([ceGCC compiler is not supported anymore. Exiting...])
13 ;;
14 mingw*)
12 ;; 15 ;;
13 *) 16 *)
14 AC_MSG_ERROR([OS must be Windows. Exiting...]) 17 AC_MSG_ERROR([OS must be Windows. Exiting...])
@@ -46,15 +49,12 @@ EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
46 49
47win32_libs="" 50win32_libs=""
48case "$host_os" in 51case "$host_os" in
49 mingw | mingw32 | mingw32msvc)
50 win32_libs="-lole32 -lws2_32 -lsecur32"
51 ;;
52 cegcc*)
53 win32_libs="-lws2"
54 ;;
55 mingw32ce*) 52 mingw32ce*)
56 win32_libs="-lws2" 53 win32_libs="-lws2"
57 ;; 54 ;;
55 *)
56 win32_libs="-lole32 -lws2_32 -lsecur32"
57 ;;
58esac 58esac
59AC_SUBST(win32_libs) 59AC_SUBST(win32_libs)
60 60
@@ -76,21 +76,12 @@ AC_C_CONST
76AC_C___ATTRIBUTE__ 76AC_C___ATTRIBUTE__
77 77
78win32_cppflags="-DEFL_EVIL_BUILD" 78win32_cppflags="-DEFL_EVIL_BUILD"
79win32_cflags="" 79win32_cflags="-Wall -W -Wshadow"
80win32_cxxflags="" 80win32_cxxflags=""
81have_wince="no" 81have_wince="no"
82have_mingw32ce="no"
83have_cegcc="no"
84case "$host_os" in 82case "$host_os" in
85 cegcc*)
86 have_wince="yes"
87 have_cegcc="yes"
88 win32_cflags="-mwin32"
89 win32_cppflags="${win32_cppflags} -D_WIN32_WCE=0x0420"
90 ;;
91 mingw32ce*) 83 mingw32ce*)
92 have_wince="yes" 84 have_wince="yes"
93 have_mingw32ce="yes"
94 win32_cppflags="${win32_cppflags} -D_WIN32_WCE=0x0420" 85 win32_cppflags="${win32_cppflags} -D_WIN32_WCE=0x0420"
95 ;; 86 ;;
96 *) 87 *)
@@ -104,8 +95,6 @@ AC_SUBST(win32_cflags)
104AC_SUBST(win32_cxxflags) 95AC_SUBST(win32_cxxflags)
105 96
106AM_CONDITIONAL(EVIL_HAVE_WINCE, test "x${have_wince}" = "xyes") 97AM_CONDITIONAL(EVIL_HAVE_WINCE, test "x${have_wince}" = "xyes")
107AM_CONDITIONAL(EVIL_HAVE_MINGW32CE, test "x${have_mingw32ce}" = "xyes")
108AM_CONDITIONAL(EVIL_HAVE_CEGCC, test "x${have_cegcc}" = "xyes")
109 98
110 99
111### Checks for linker characteristics 100### Checks for linker characteristics