summaryrefslogtreecommitdiff
path: root/legacy/evil/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2008-10-29 08:04:52 +0000
committerVincent Torri <vincent.torri@gmail.com>2008-10-29 08:04:52 +0000
commit52ea343c44639fc1fa89caf3f8a0c0855917e315 (patch)
tree5f7b3fa56179f85ec708da61935794aa05dcbfbb /legacy/evil/configure.ac
parentff536078bee0f5f099c26e1392f74f6b7f56791a (diff)
* configure.ac:
define _WIN32_WCE with the cegcc compiler too useless EVIL_HAVE_WINCE define * src/bin/evil_test_memcpy.c: use _WIN32_WCE insead of EVIL_HAVE_WINCE * src/lib/Evil.h: try another definition of open(). Need feedback. * src/lib/evil_private.h: * src/lib/evil_util.c: add private error message when GetLastMessage must be called * src/lib/Makefile.am: * src/lib/evil_link_ce.c: * src/lib/evil_link_xp.cpp: * src/lib/evil_unistd.c: * src/lib/evil_unistd.cpp: move specific link code (readlink and symlink) outside evil_unistd to evil_link_ce.c for Windows CE and evil_link_xp.cpp for Windows XP. This allow the Windows CE code not depend on c++ code anymore and above all, not statically link libstdc++ on that platform. I need feedback on Windows XP, btw :) SVN revision: 37295
Diffstat (limited to 'legacy/evil/configure.ac')
-rw-r--r--legacy/evil/configure.ac5
1 files changed, 1 insertions, 4 deletions
diff --git a/legacy/evil/configure.ac b/legacy/evil/configure.ac
index 2ed16984c6..a913e178d8 100644
--- a/legacy/evil/configure.ac
+++ b/legacy/evil/configure.ac
@@ -82,6 +82,7 @@ case "$host_os" in
82 cegcc*) 82 cegcc*)
83 have_wince="yes" 83 have_wince="yes"
84 win32_cflags="-mwin32" 84 win32_cflags="-mwin32"
85 win32_cppflags="${win32_cppflags} -D_WIN32_WCE=0x0420"
85 ;; 86 ;;
86 mingw32ce*) 87 mingw32ce*)
87 have_wince="yes" 88 have_wince="yes"
@@ -96,10 +97,6 @@ esac
96AC_SUBST(win32_cppflags) 97AC_SUBST(win32_cppflags)
97AC_SUBST(win32_cflags) 98AC_SUBST(win32_cflags)
98 99
99if test "x${have_wince}" = "xyes" ; then
100 AC_DEFINE(EVIL_HAVE_WINCE, 1, [Define to mention that Windows CE is the target])
101fi
102
103AM_CONDITIONAL(EVIL_HAVE_WINCE, test "x${have_wince}" = "xyes") 100AM_CONDITIONAL(EVIL_HAVE_WINCE, test "x${have_wince}" = "xyes")
104AM_CONDITIONAL(EVIL_HAVE_MINGW32CE, test "x${have_mingw32ce}" = "xyes") 101AM_CONDITIONAL(EVIL_HAVE_MINGW32CE, test "x${have_mingw32ce}" = "xyes")
105 102