diff options
author | Roland Mainz <roland.mainz@nrubsig.org> | 2004-07-28 03:24:29 +0000 |
---|---|---|
committer | Roland Mainz <roland.mainz@nrubsig.org> | 2004-07-28 03:24:29 +0000 |
commit | 9c6413004f0f541c9f7d78b6a7aa52e7b34c3386 (patch) | |
tree | 4d52fb5190638fd597166073aeec4dc220c8e941 | |
parent | bb256585b0058c0effbeca9656e3288b58712fd2 (diff) |
Refix for https://freedesktop.org/bugzilla/show_bug.cgi?id=909 - Disable
build of PDF documents where GhostScript may not work at build time.
-rw-r--r-- | FreeBSD.cf | 8 | ||||
-rw-r--r-- | Imake.tmpl | 7 | ||||
-rw-r--r-- | NetBSD.cf | 6 | ||||
-rw-r--r-- | linux.cf | 9 |
4 files changed, 26 insertions, 4 deletions
@@ -1,5 +1,5 @@ XCOMM platform: $Xorg: FreeBSD.cf,v 1.3 2000/08/17 19:41:45 cpqbld Exp $ -XCOMM platform: $XdotOrg: xc/config/cf/FreeBSD.cf,v 1.7 2004/07/17 22:17:24 anholt Exp $ +XCOMM platform: $XdotOrg: xc/config/cf/FreeBSD.cf,v 1.8 2004/07/22 06:39:04 anholt Exp $ XCOMM XCOMM XCOMM @@ -71,6 +71,12 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe #define HasNCurses YES #define HasVarRun YES #define HasVarDb YES +#ifndef HasGhostScript +# define HasGhostScript YES +#endif +#ifndef BuildPDFdocs +# define BuildPDFdocs NO +#endif #if (OSMajorVersion >= 3) #define HasIssetugid YES #define HasPoll YES @@ -1,7 +1,7 @@ XCOMM ---------------------------------------------------------------------- XCOMM Makefile generated from IMAKE_TEMPLATE and INCLUDE_IMAKEFILE XCOMM $Xorg: Imake.tmpl,v 1.4 2000/08/17 19:41:46 cpqbld Exp $ -XCOMM $XdotOrg: xc/config/cf/Imake.tmpl,v 1.4 2004/06/26 16:26:18 ago Exp $ +XCOMM $XdotOrg: xc/config/cf/Imake.tmpl,v 1.5 2004/07/21 07:31:09 anholt Exp $ XCOMM XCOMM XCOMM @@ -1542,7 +1542,10 @@ TCLIBDIR = TclLibDir #ifndef HasGhostScript #define HasGhostScript NO #endif -#if HasGhostScript +#ifndef BuildPDFdocs +#define BuildPDFdocs (HasGhostScript) +#endif +#if BuildPDFdocs #define PsToPdfCmd GhostScriptCmd -q -sOutputFile=- -sDEVICE=pdfwrite -dSAFER -dNOPAUSE - #endif #if HasSentinel @@ -47,6 +47,12 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe #ifndef HasLibCrypt # define HasLibCrypt YES #endif +#ifndef HasGhostScript +# define HasGhostScript YES +#endif +#ifndef BuildPDFdocs +# define BuildPDFdocs NO +#endif #ifndef HasShm # if OSMajorVersion == 0 && OSMinorVersion == 9 && OSTeenyVersion == 2 /* @@ -1,4 +1,4 @@ -XCOMM $XdotOrg: xc/config/cf/linux.cf,v 1.8 2004/07/20 17:48:09 sandmann Exp $ +XCOMM $XdotOrg: xc/config/cf/linux.cf,v 1.9 2004/07/22 06:39:04 anholt Exp $ XCOMM platform: $Xorg: linux.cf,v 1.3 2000/08/17 19:41:47 cpqbld Exp $ @@ -79,6 +79,13 @@ XCOMM platform: $XFree86: xc/config/cf/linux.cf,v 3.220 2003/12/30 22:38:33 tsi # define LinuxCLibTeenyVersion DefaultLinuxCLibTeenyVersion #endif +#ifndef HasGhostScript +# define HasGhostScript YES +#endif +#ifndef BuildPDFdocs +# define BuildPDFdocs NO +#endif + #ifndef LinuxBinUtilsMajorVersion # define LinuxBinUtilsMajorVersion DefaultLinuxBinUtilsMajorVersion #endif |