summaryrefslogtreecommitdiff
path: root/legacy/evil/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2011-10-07 07:54:58 +0000
committerVincent Torri <vincent.torri@gmail.com>2011-10-07 07:54:58 +0000
commitdd1f4931f52f16eabd0d87a400aa9b9e1fb202e9 (patch)
treeb093d3ae62d247c9ef34141fe969b9ed369f7fa7 /legacy/evil/configure.ac
parent984159e37aed3cbce41862b02f2b89010d15b50d (diff)
Evil: fix recent autotools changes. Based on Shinwoo Kim's patch.
SVN revision: 63910
Diffstat (limited to '')
-rw-r--r--legacy/evil/configure.ac10
1 files changed, 5 insertions, 5 deletions
diff --git a/legacy/evil/configure.ac b/legacy/evil/configure.ac
index 8c2a021c00..c00ef6aaa2 100644
--- a/legacy/evil/configure.ac
+++ b/legacy/evil/configure.ac
@@ -69,15 +69,19 @@ EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
69### Checks for libraries 69### Checks for libraries
70 70
71win32_libs="" 71win32_libs=""
72win32_dl_libs=""
72case "$host_os" in 73case "$host_os" in
73 mingw32ce*) 74 mingw32ce*)
74 win32_libs="-lws2" 75 win32_libs="-lws2"
76 win32_dl_libs="-ltoolhelp"
75 ;; 77 ;;
76 *) 78 *)
77 win32_libs="-lole32 -lws2_32 -lsecur32" 79 win32_libs="-lole32 -lws2_32 -lsecur32"
80 win32_dl_libs="-lpsapi"
78 ;; 81 ;;
79esac 82esac
80AC_SUBST(win32_libs) 83AC_SUBST([win32_libs])
84AC_SUBST([win32_dl_libs])
81 85
82EFL_CHECK_MPATROL([have_mpatrol="yes"], [have_mpatrol="no"]) 86EFL_CHECK_MPATROL([have_mpatrol="yes"], [have_mpatrol="no"])
83 87
@@ -99,25 +103,21 @@ AC_C___ATTRIBUTE__
99win32_cppflags="-DEFL_EVIL_BUILD" 103win32_cppflags="-DEFL_EVIL_BUILD"
100win32_cflags="-Wall -Wextra -Wshadow -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls" 104win32_cflags="-Wall -Wextra -Wshadow -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls"
101win32_cxxflags="" 105win32_cxxflags=""
102win32_libs=""
103have_wince="no" 106have_wince="no"
104case "$host_os" in 107case "$host_os" in
105 mingw32ce*) 108 mingw32ce*)
106 have_wince="yes" 109 have_wince="yes"
107 win32_cppflags="${win32_cppflags} -D_WIN32_WCE=0x0420" 110 win32_cppflags="${win32_cppflags} -D_WIN32_WCE=0x0420"
108 win32_libs="-ltoolhelp"
109 ;; 111 ;;
110 *) 112 *)
111 have_wince="no" 113 have_wince="no"
112 win32_cxxflags="-fno-rtti -fno-exceptions" 114 win32_cxxflags="-fno-rtti -fno-exceptions"
113 win32_cppflags="${win32_cppflags} -D_WIN32_WINNT=0x0501 -DSECURITY_WIN32" 115 win32_cppflags="${win32_cppflags} -D_WIN32_WINNT=0x0501 -DSECURITY_WIN32"
114 win32_libs="-lpsapi"
115 ;; 116 ;;
116esac 117esac
117AC_SUBST([win32_cppflags]) 118AC_SUBST([win32_cppflags])
118AC_SUBST([win32_cflags]) 119AC_SUBST([win32_cflags])
119AC_SUBST([win32_cxxflags]) 120AC_SUBST([win32_cxxflags])
120AC_SUBST([win32_libs])
121 121
122AM_CONDITIONAL(EVIL_HAVE_WINCE, test "x${have_wince}" = "xyes") 122AM_CONDITIONAL(EVIL_HAVE_WINCE, test "x${have_wince}" = "xyes")
123 123