blob: c3e44fe86a24de5b431002fa4869cf167b6752b7 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001From 5ef8b85bc98f3bd9a15d5f47e24d3e23ae27c265 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Mon, 18 Jan 2016 01:00:30 -0500
4Subject: [PATCH] configure.ac: do not check local png source
5
6In oe-core, it did not need to compile local libpng
7source in ghostscript, so do not check local png
8source, and directly check the existance of shared
9libpng library.
10
11Upstream-Status: Inappropriate [OE-Core specific]
12
13Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
14---
15 configure.ac | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
17
18diff --git a/configure.ac b/configure.ac
Patrick Williamsc0f7c042017-02-23 20:41:17 -060019index bf6d3f5..01df03f 100644
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050020--- a/configure.ac
21+++ b/configure.ac
Patrick Williamsc0f7c042017-02-23 20:41:17 -060022@@ -930,11 +930,11 @@ AC_SUBST(ZLIBDIR)
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050023 AC_SUBST(FT_SYS_ZLIB)
24
25 dnl png for the png output device; it also requires zlib
26-LIBPNGDIR=src
27+LIBPNGDIR=$srcdir/libpng
28 PNGDEVS=''
Patrick Williamsc0f7c042017-02-23 20:41:17 -060029 PNGDEVS_ALL='png48 png16m pnggray pngmono pngmonod png256 png16 pngalpha'
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050030 AC_MSG_CHECKING([for local png library source])
31-if test -f $srcdir/libpng/pngread.c; then
32+if false; then
33 AC_MSG_RESULT([yes])
34 SHARE_LIBPNG=0
35 LIBPNGDIR=$srcdir/libpng
36--
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600372.8.1
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050038