[libdvdcss-devel] [PATCH 6/7] build: Drop unused MSVC special casing

Jean-Baptiste Kempf jb at videolan.org
Sun Nov 16 20:41:52 CET 2014


Please don't.

We use MSVC from autotools.

On 16 Nov, Diego Biurrun wrote :
> 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
> 
> _______________________________________________
> libdvdcss-devel mailing list
> libdvdcss-devel at videolan.org
> https://mailman.videolan.org/listinfo/libdvdcss-devel

-- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the libdvdcss-devel mailing list