summaryrefslogtreecommitdiff
path: root/legacy/evil/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2008-10-28 08:59:12 +0000
committerVincent Torri <vincent.torri@gmail.com>2008-10-28 08:59:12 +0000
commit9a0b7ebd1805753468369a9f6e8ba75a674cf8bf (patch)
treeddde4943f46ee16f05b6faa600dd31f71ffafd3e /legacy/evil/configure.ac
parent09c1768c9902fe786e7438dcd2f458452e1b9d05 (diff)
* configure.ac:
add c++ compiler checks remove linking against libuid.a as it's not an import lib. * src/bin/Makefile.am: * src/bin/evil_suite.c: * src/bin/evil_test_link.c: * src/bin/evil_test_link.h: add unit test for links. Must be improved. * src/lib/Makefile.am: add unistd.cpp and uuid.c use -fno-exceptions when compiling c++ code * src/lib/evil_unistd.c: * src/lib/evil_unistd.cpp: use C++ api to manage links on Windows XP. Can be considered as heavy but it's cleaner as the internals can change later. I might consider to compile Windows CE code with only C compiler as with mingw32ce, libstdc++ is statically linked to the DLL / app (legacy of mingw stuff), to reduce a bit the DLL size. * src/lib/evil_private.h: declare _evil_error_display() as C function (otherwise linker not happy) * src/lib/evil_stdlib.c: use RegCreateKeyEx() instead of RegOpenKeyEx in getenv(). fix an _evil_error_display() call. * src/lib/evil_util.c: add more error messages * src/lib/evil_uuid.c: define IID_IPersistFile (for links on Windows XP) * src/lib/evil_unistd.h: fix doc SVN revision: 37267
Diffstat (limited to 'legacy/evil/configure.ac')
-rw-r--r--legacy/evil/configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/evil/configure.ac b/legacy/evil/configure.ac
index aefc957ac0..2ed16984c6 100644
--- a/legacy/evil/configure.ac
+++ b/legacy/evil/configure.ac
@@ -18,7 +18,6 @@ esac
18AM_INIT_AUTOMAKE(1.6 dist-bzip2) 18AM_INIT_AUTOMAKE(1.6 dist-bzip2)
19 19
20AC_LIBTOOL_WIN32_DLL 20AC_LIBTOOL_WIN32_DLL
21define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
22define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl 21define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
23AC_PROG_LIBTOOL 22AC_PROG_LIBTOOL
24 23
@@ -35,7 +34,7 @@ AC_SUBST(version_info)
35win32_libs="" 34win32_libs=""
36case "$host_os" in 35case "$host_os" in
37 mingw | mingw32 | mingw32msvc) 36 mingw | mingw32 | mingw32msvc)
38 win32_libs="-lole32 -luuid -lws2_32 -lsecur32" 37 win32_libs="-lole32 -lws2_32 -lsecur32"
39 ;; 38 ;;
40 cegcc*) 39 cegcc*)
41 win32_libs="-lws2" 40 win32_libs="-lws2"
@@ -55,6 +54,7 @@ AC_CHECK_HEADERS_ONCE([errno.h])
55 54
56### Checks for programs 55### Checks for programs
57AM_PROG_AS 56AM_PROG_AS
57AC_PROG_CXX
58AC_LANG(C) 58AC_LANG(C)
59AC_PROG_CPP 59AC_PROG_CPP
60AC_PROG_CC 60AC_PROG_CC