[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 09/21] Simplify the conditional inclusion of the contrib director
From: |
John Darrington |
Subject: |
[PATCH 09/21] Simplify the conditional inclusion of the contrib directory. |
Date: |
Sun, 12 Jan 2014 12:00:22 +0100 |
* Makefile.in, configure.ac: Ensure that CONTRIB is correctly
included (or not) when building outside the source tree.
---
Makefile.in | 4 ++--
configure.ac | 10 ++--------
2 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index d6bad91..637141d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -620,13 +620,13 @@ include $(GLSRCDIR)/ijs.mak
@LCUPSINCLUDE@
@LCUPSIINCLUDE@
include $(GLSRCDIR)/devs.mak
-include $(GLSRCDIR)/contrib.mak
address@hidden@ $(GLSRCDIR)/contrib.mak
address@hidden@ $(CONTRIBDIR)/contrib.mak
include $(GLSRCDIR)/unix-aux.mak
include $(GLSRCDIR)/unixlink.mak
include $(GLSRCDIR)/unix-dll.mak
include $(GLSRCDIR)/unix-end.mak
include $(GLSRCDIR)/unixinst.mak
address@hidden@
@CUPSINCLUDE@
# Clean up after the autotools scripts
diff --git a/configure.ac b/configure.ac
index e351afd..4b89c19 100644
--- a/configure.ac
+++ b/configure.ac
@@ -142,7 +142,7 @@ dnl --------------------------------------------------
AC_ARG_ENABLE([contrib], AC_HELP_STRING([--disable-contrib],
[Do not include contributed drivers]))
-CONTRIBINCLUDE="include contrib/contrib.mak"
+CONTRIBINCLUDE="include"
INSTALL_CONTRIB="install-contrib-extras"
case `uname` in
@@ -150,16 +150,10 @@ case `uname` in
AC_MSG_WARN([disabling contrib devices])
enable_contrib=no
;;
- *)
-# This is just an arbitrary file in contrib to check
- if !(test -f contrib/gdevbjc_.c); then
- enable_contrib=no
- fi
- ;;
esac
if test x$enable_contrib = xno; then
- CONTRIBINCLUDE=""
+ CONTRIBINCLUDE="#"
INSTALL_CONTRIB=""
CFLAGS="$CFLAGS -DNOCONTRIB"
fi
--
1.7.10.4
- Cross-compilation fails for Ghostscript 09.05, John Darrington, 2014/01/03
- Re: Cross-compilation fails for Ghostscript 09.05, Didier Link, 2014/01/05
- Re: Cross-compilation fails for Ghostscript 09.05, John Darrington, 2014/01/05
- Re: Cross-compilation fails for Ghostscript 09.05, John Darrington, 2014/01/12
- [no subject], John Darrington, 2014/01/12
- [PATCH 02/21] Makefile.in (top_srcdir): New variable, John Darrington, 2014/01/12
- [PATCH 06/21] configure: Fix endianess test while cross-compiling, John Darrington, 2014/01/12
- [PATCH 07/21] Fix test for fontconfig when cross building, John Darrington, 2014/01/12
- [PATCH 09/21] Simplify the conditional inclusion of the contrib directory.,
John Darrington <=
- [PATCH 08/21] configure.ac, Makefile.in: Use CC_FOR_BUILD for native compilation., John Darrington, 2014/01/12
- [PATCH 04/21] Fix crash on startup if the configuration file is missing., John Darrington, 2014/01/12
- [PATCH 13/21] Improve reliability of freetype library (esp. wrt cross-building), John Darrington, 2014/01/12
- [PATCH 05/21] base/lib.mak: Fix broken build dependency, John Darrington, 2014/01/12
- [PATCH 10/21] Fix test for dbus when cross building, John Darrington, 2014/01/12
- [PATCH 11/21] Fix incorrect determination of host/build OS, John Darrington, 2014/01/12
- [PATCH 17/21] Avoid redundancy in package version number/string, John Darrington, 2014/01/12
- [PATCH 16/21] Remove the code running ./configure from autogen.sh - I am of the opinion, that the bootstrap process and the configuration should be kept seperate. It should be possible to bootstrap without configuring., John Darrington, 2014/01/12
- [PATCH 20/21] Remove 'exe' suffix from GS variable., John Darrington, 2014/01/12
- [PATCH 21/21] Do install contrib drivers if the --disable-contrib option was chosen., John Darrington, 2014/01/12