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>
This commit is contained in:
Simon McVittie 2011-02-24 15:56:58 +00:00
parent 9af8013cc9
commit 260f70e0af

View file

@ -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