annotate src/gnu-linux-ghostscript-configure.patch @ 3653:3085b1b955dd

make native ghostscript build work; include ghostscript patches in dist file
author John W. Eaton <jwe@octave.org>
date Tue, 08 Jul 2014 10:08:07 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3653
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 diff -ur a/base/configure.ac b/base/configure.ac
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 --- a/base/configure.ac 2013-02-14 02:58:13.000000000 -0500
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3 +++ b/base/configure.ac 2014-07-08 09:44:59.470110783 -0400
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 @@ -819,46 +819,11 @@
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 AC_SUBST(LIBPNGDIR)
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 #AC_SUBST(PNGDEVS)
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 -WHICHLCMS=
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 -
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 -AC_ARG_WITH([lcms], AC_HELP_STRING([--with-lcms],
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 - [try to use LittleCMS 1.x instead of the default of LittleCMS 2.x]))
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 -
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 -if test x$with_lcms != xyes; then
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 - AC_MSG_CHECKING([for local lcms2 library source])
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 - LCMS2DIR=lcms2
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 - if test -f $LCMS2DIR/include/lcms2.h; then
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 - AC_MSG_RESULT([yes])
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 - SHARELCMS=0
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 - WHICHLCMS=lcms2
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 - else
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 - AC_MSG_RESULT([no])
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 - AC_MSG_CHECKING([for system lcms2 library])
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 - AC_CHECK_LIB(lcms2, cmsGetTransformOutputFormat, [
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 - AC_CHECK_HEADERS([lcms2.h], [LCMS2DIR="";SHARELCMS=1;WHICHLCMS=lcms2])
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 - ])
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 - if test x$WHICHLCMS = x; then
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 - AC_MSG_WARN([lcms2 not found, or too old])
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 - fi
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 - fi
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30 -fi
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31 -
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
32 -if test x$WHICHLCMS = x; then
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
33 - AC_MSG_CHECKING([for local lcms library source])
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34 - LCMSDIR=lcms
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
35 - SHARELCMS=0
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
36 - if test -f $LCMSDIR/include/lcms.h; then
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
37 - AC_MSG_RESULT([yes])
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
38 - SHARELCMS=0
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
39 - WHICHLCMS=lcms
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
40 - else
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
41 -
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
42 - AC_MSG_ERROR([LittleCMS source not found!])
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
43 - #AC_CHECK_LIB(lcms, cmsCreateXYZProfile, [
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
44 - # AC_CHECK_HEADERS([lcms.h], [SHARELCMS=1;LCMSDIR=""])
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
45 - # ])
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
46 - fi
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
47 -fi
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
48 +AC_MSG_NOTICE([unconditionally using installed lcms library])
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
49 +SHARELCMS=1
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
50 +WHICHLCMS=lcms2
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
51 +LCMSDIR=
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
52 +LCMS2DIR=
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
53
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
54 AC_SUBST(SHARELCMS)
3085b1b955dd make native ghostscript build work; include ghostscript patches in dist file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
55 AC_SUBST(WHICHLCMS)