Mercurial > mxe-octave
annotate src/pstoedit-2-gs.patch @ 3338:1e9695b83a80
imported patch msvc-gl2ps-doc
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Fri, 29 Nov 2013 18:46:47 -0500 |
parents | 38ee52ac978e |
children | 7bccd055043e |
rev | line source |
---|---|
3123
38ee52ac978e
Don't error pstoedit's configure script if GS is not found.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
1 diff -ur pstoedit-3.61-orig/configure.ac pstoedit-3.61/configure.ac |
38ee52ac978e
Don't error pstoedit's configure script if GS is not found.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
2 --- pstoedit-3.61-orig/configure.ac 2012-08-28 06:46:41 -0400 |
38ee52ac978e
Don't error pstoedit's configure script if GS is not found.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
3 +++ pstoedit-3.61/configure.ac 2013-07-05 23:29:38 -0400 |
38ee52ac978e
Don't error pstoedit's configure script if GS is not found.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
4 @@ -53,12 +53,12 @@ |
38ee52ac978e
Don't error pstoedit's configure script if GS is not found.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
5 dnl Check Ghostscript |
38ee52ac978e
Don't error pstoedit's configure script if GS is not found.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
6 GS="" |
38ee52ac978e
Don't error pstoedit's configure script if GS is not found.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
7 AC_PATH_PROG(GS,gs) |
38ee52ac978e
Don't error pstoedit's configure script if GS is not found.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
8 -if test -z "${GS}"; then |
38ee52ac978e
Don't error pstoedit's configure script if GS is not found.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
9 - AC_MSG_ERROR([** Cannot find ghostscript. If it is already installed, Check PATH.]) |
38ee52ac978e
Don't error pstoedit's configure script if GS is not found.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
10 -else |
38ee52ac978e
Don't error pstoedit's configure script if GS is not found.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
11 -dnl Strip off // to / that causes troubles. |
38ee52ac978e
Don't error pstoedit's configure script if GS is not found.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
12 - GS=`echo $GS | sed -e 's/\/\//\//g'` |
38ee52ac978e
Don't error pstoedit's configure script if GS is not found.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
13 -fi |
38ee52ac978e
Don't error pstoedit's configure script if GS is not found.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
14 +dnl if test -z "${GS}"; then |
38ee52ac978e
Don't error pstoedit's configure script if GS is not found.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
15 +dnl AC_MSG_ERROR([** Cannot find ghostscript. If it is already installed, Check PATH.]) |
38ee52ac978e
Don't error pstoedit's configure script if GS is not found.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
16 +dnl else |
38ee52ac978e
Don't error pstoedit's configure script if GS is not found.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
17 +dnl dnl Strip off // to / that causes troubles. |
38ee52ac978e
Don't error pstoedit's configure script if GS is not found.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
18 +dnl GS=`echo $GS | sed -e 's/\/\//\//g'` |
38ee52ac978e
Don't error pstoedit's configure script if GS is not found.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
19 +dnl fi |
38ee52ac978e
Don't error pstoedit's configure script if GS is not found.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
20 |
38ee52ac978e
Don't error pstoedit's configure script if GS is not found.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
21 PKG_PROG_PKG_CONFIG |
38ee52ac978e
Don't error pstoedit's configure script if GS is not found.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
22 |