summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2011-02-24 15:56:58 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2011-02-24 15:56:58 +0000
commit260f70e0afacabcda74a713d81b98f47e2d9060c (patch)
treed4dbc9fb8c0b44878d0831549349a296b0e7f423
parent9af8013cc950d1de0423d96e02de2054b64cabca (diff)
downloaddbus-260f70e0afacabcda74a713d81b98f47e2d9060c.tar.gz
Modernize setup of libtool for Windows
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 1b414292..e8ac2aa2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,8 +9,6 @@ m4_define([dbus_version],
AC_INIT([dbus],[dbus_version],[https://bugs.freedesktop.org/enter_bug.cgi?product=dbus],[dbus])
AC_CANONICAL_HOST
-AC_LIBTOOL_WIN32_DLL
-AC_LIBTOOL_RC
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
@@ -74,6 +72,10 @@ AC_PROG_MKDIR_P
COMPILER_COVERAGE
COMPILER_OPTIMISATIONS
+# Initialize libtool
+LT_INIT([win32-dll])
+LT_LANG([Windows Resource])
+
# Set some internal variables depending on the platform for later use.
dbus_win=no
dbus_cygwin=no