[libdvdcss-devel] [PATCH 6/7] build: Drop unused MSVC special casing
Diego Biurrun
diego at biurrun.de
Sun Nov 16 20:37:13 CET 2014
MSVC does not use the autotools build system.
---
Makefile.am | 7 +------
configure.ac | 6 +-----
2 files changed, 2 insertions(+), 11 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 0469c0c..b435121 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -30,12 +30,7 @@ libdvdcss_la_SOURCES = \
src/error.c \
src/common.h
-libdvdcss_la_LDFLAGS = -version-info $(DVDCSS_LTVERSION) $(DVDCSS_LDFLAGS)
-libdvdcss_la_LIBADD =
-
-if !SYS_MSVC
-libdvdcss_la_LDFLAGS += -no-undefined
-endif
+libdvdcss_la_LDFLAGS = -version-info $(DVDCSS_LTVERSION) $(DVDCSS_LDFLAGS) -no-undefined
test_csstest_SOURCES = test/csstest.c
test_csstest_LDADD = libdvdcss.la
diff --git a/configure.ac b/configure.ac
index f37057f..f222457 100644
--- a/configure.ac
+++ b/configure.ac
@@ -111,11 +111,7 @@ case x"${host_os}" in
xos2*)
LDFLAGS="-Zbin-files"
;;
- x*msvc*)
- SYS_MSVC=1
- AC_DEFINE([_WIN32_IE], 0x0500, [Define to '0x0500' for IE 5.0 (and shell) APIs.])
- ;;
- x*mingw* | *wince* | *mingwce*)
+ x*msvc* | x*mingw* | *wince* | *mingwce*)
AC_DEFINE([_WIN32_IE], 0x0500, [Define to '0x0500' for IE 5.0 (and shell) APIs.])
;;
x*)
--
2.1.0
More information about the libdvdcss-devel
mailing list