changeset 3123:38ee52ac978e

Don't error pstoedit's configure script if GS is not found.
author Michael Goffioul <michael.goffioul@gmail.com>
date Sat, 06 Jul 2013 00:05:27 -0400
parents c2864508b524
children 824f84572d1e
files src/pstoedit-2-gs.patch
diffstat 1 files changed, 22 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pstoedit-2-gs.patch	Sat Jul 06 00:05:27 2013 -0400
@@ -0,0 +1,22 @@
+diff -ur pstoedit-3.61-orig/configure.ac pstoedit-3.61/configure.ac
+--- pstoedit-3.61-orig/configure.ac	2012-08-28 06:46:41 -0400
++++ pstoedit-3.61/configure.ac	2013-07-05 23:29:38 -0400
+@@ -53,12 +53,12 @@
+ dnl Check Ghostscript
+ GS=""
+ AC_PATH_PROG(GS,gs)
+-if test -z "${GS}"; then
+-   AC_MSG_ERROR([** Cannot find ghostscript. If it is already installed, Check PATH.])
+-else
+-dnl Strip off // to / that causes troubles.
+-   GS=`echo $GS | sed -e 's/\/\//\//g'`	
+-fi
++dnl if test -z "${GS}"; then
++dnl    AC_MSG_ERROR([** Cannot find ghostscript. If it is already installed, Check PATH.])
++dnl else
++dnl dnl Strip off // to / that causes troubles.
++dnl    GS=`echo $GS | sed -e 's/\/\//\//g'`	
++dnl fi
+ 
+ PKG_PROG_PKG_CONFIG
+