summaryrefslogtreecommitdiff
path: root/legacy/evil/configure.ac
diff options
context:
space:
mode:
authordoursse <doursse>2008-03-13 17:46:53 +0000
committerdoursse <doursse@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2008-03-13 17:46:53 +0000
commit743cff2cedfaf873bb502726db8dc39e22649b55 (patch)
tree51f8d150c6faa79f6358d737c918c51cbae45098 /legacy/evil/configure.ac
parent1ca9a3d4a598cce6882dcc6547db5c8658afc284 (diff)
Fix dlopen for cegcc and minor fix and doc:
* INSTALL: * README: additional notes for compilations with cegcc or mingw32ce * configure.ac: use 'win32' instead of 'cegcc' or 'mingw' * src/lib/dlfcn/dlfcn.c (dlopen): cegcc does not support LOAD_WITH_ALTERED_SEARCH_PATH. Use LoadLibrary instead of LoadLibraryEx in that case. SVN revision: 34014
Diffstat (limited to 'legacy/evil/configure.ac')
-rw-r--r--legacy/evil/configure.ac14
1 files changed, 8 insertions, 6 deletions
diff --git a/legacy/evil/configure.ac b/legacy/evil/configure.ac
index faed1b3a30..27393195ca 100644
--- a/legacy/evil/configure.ac
+++ b/legacy/evil/configure.ac
@@ -8,21 +8,23 @@ AC_CANONICAL_HOST
8dnl If the host is not windows, we exit, 8dnl If the host is not windows, we exit,
9dnl otherwise, we set the correct flags 9dnl otherwise, we set the correct flags
10dnl for each platform. 10dnl for each platform.
11mingw_libs="" 11win32_libs=""
12cegcc_cflags="" 12win32_cflags=""
13case "$host_os" in 13case "$host_os" in
14 mingw|mingw32) 14 mingw|mingw32)
15 mingw_libs="-lole32 -luuid -lws2_32" 15 win32_libs="-lole32 -luuid -lws2_32"
16 ;; 16 ;;
17 cegcc) 17 cegcc)
18 cegcc_cflags="-mwin32" 18 win32_cflags="-mwin32"
19 win32_libs="-lws2"
20 ;;
21 mingw32ce)
22 win32_libs="-lws2"
19 ;; 23 ;;
20 *) 24 *)
21 AC_MSG_ERROR([OS must be Windows. Exiting...]) 25 AC_MSG_ERROR([OS must be Windows. Exiting...])
22 ;; 26 ;;
23esac 27esac
24win32_cflags="${cegcc_cflags}"
25win32_libs="${mingw_libs}"
26AC_SUBST(win32_cflags) 28AC_SUBST(win32_cflags)
27AC_SUBST(win32_libs) 29AC_SUBST(win32_libs)
28 30