From: Petri H. <phi...@us...> - 2017-07-18 09:32:46
|
# HG changeset patch # User Petri Hintukainen <phi...@us...> # Date 1493633208 -10800 # Node ID a6d020a8101cb27cb50cfcf44d33d8dc3f8fd5fb # Branch default # Parent 6ffb69ecd5402ef480398da70998f4295c7013ea Do not build gxine_client for windows diff --git a/configure.ac b/configure.ac --- a/configure.ac +++ b/configure.ac @@ -2,6 +2,7 @@ AC_INIT([gxine], [0.5.908]) AC_CONFIG_SRCDIR([src/main.c]) +AC_CANONICAL_HOST AC_CONFIG_HEADERS([include/config.h]) AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip]) AM_MAINTAINER_MODE @@ -37,6 +38,18 @@ AC_SUBST(LIBTOOL_DEPS) AC_LD_ASNEEDED +dnl +dnl Windows +dnl + +case "$host_os" in + *mingw32*) + WIN32_SYS=mingw32 + ;; +esac + +AM_CONDITIONAL([WIN32], [test x"$WIN32_SYS" = x"mingw32"]) + dnl --------------------------------------------- dnl Checks for typedefs, structures, and compiler characteristics. dnl --------------------------------------------- --git a/src/Makefile.am b/src/Makefile.am --- a/src/Makefile.am +++ b/src/Makefile.am @@ -11,7 +11,10 @@ $(NSPR_CFLAGS) \ -DLOCALEDIR=\"$(localedir)\" -bin_PROGRAMS = gxine gxine_client +bin_PROGRAMS = gxine +if !WIN32 +bin_PROGRAMS += gxine_client +endif noinst_PROGRAMS = mktrans |