summaryrefslogtreecommitdiff
path: root/legacy/evil/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2009-04-18 18:32:58 +0000
committerVincent Torri <vincent.torri@gmail.com>2009-04-18 18:32:58 +0000
commitb9972c4f6ae23f6395a9adda1aa66de4b533ad84 (patch)
tree9fcd09588318610597ae4d167dd863c6c833ef7f /legacy/evil/configure.ac
parenta807d836e657ba5b71be188e7d20c2461ccfbd5d (diff)
* configure.ac:
* src/lib/Makefile.am: put c++ flags in a variable and use gcc when linking the Windows CE code. SVN revision: 40180
Diffstat (limited to 'legacy/evil/configure.ac')
-rw-r--r--legacy/evil/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/legacy/evil/configure.ac b/legacy/evil/configure.ac
index 37b7edeeac..f31f994518 100644
--- a/legacy/evil/configure.ac
+++ b/legacy/evil/configure.ac
@@ -76,6 +76,7 @@ AC_C___ATTRIBUTE__
76 76
77win32_cppflags="-DEFL_EVIL_BUILD" 77win32_cppflags="-DEFL_EVIL_BUILD"
78win32_cflags="" 78win32_cflags=""
79win32_cxxflags=""
79have_wince="no" 80have_wince="no"
80have_mingw32ce="no" 81have_mingw32ce="no"
81have_cegcc="no" 82have_cegcc="no"
@@ -93,11 +94,13 @@ case "$host_os" in
93 ;; 94 ;;
94 *) 95 *)
95 have_wince="no" 96 have_wince="no"
97 win32_cxxflags="-fno-rtti -fno-exceptions"
96 win32_cppflags="${win32_cppflags} -D_WIN32_WINNT=0x0500 -DSECURITY_WIN32" 98 win32_cppflags="${win32_cppflags} -D_WIN32_WINNT=0x0500 -DSECURITY_WIN32"
97 ;; 99 ;;
98esac 100esac
99AC_SUBST(win32_cppflags) 101AC_SUBST(win32_cppflags)
100AC_SUBST(win32_cflags) 102AC_SUBST(win32_cflags)
103AC_SUBST(win32_cxxflags)
101 104
102AM_CONDITIONAL(EVIL_HAVE_WINCE, test "x${have_wince}" = "xyes") 105AM_CONDITIONAL(EVIL_HAVE_WINCE, test "x${have_wince}" = "xyes")
103AM_CONDITIONAL(EVIL_HAVE_MINGW32CE, test "x${have_mingw32ce}" = "xyes") 106AM_CONDITIONAL(EVIL_HAVE_MINGW32CE, test "x${have_mingw32ce}" = "xyes")