summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ghostscript/files/do-not-check-local-libpng-source.patch
blob: 5834ffaf9ff765f5b85bc7d6ac9e62dc69b5339b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
From a954bf29a5f906b3151dffbecb5856e02e1565da Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Mon, 18 Jan 2016 01:00:30 -0500
Subject: [PATCH 03/10] configure.ac: do not check local png source

In oe-core, it did not need to compile local libpng
source in ghostscript, so do not check local png
source, and directly check the existance of shared
libpng library.

Upstream-Status: Inappropriate [OE-Core specific]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 9341930..80a60b1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1114,11 +1114,11 @@ AC_SUBST(ZLIBDIR)
 AC_SUBST(FT_SYS_ZLIB)
 
 dnl png for the png output device; it also requires zlib
-LIBPNGDIR=src
+LIBPNGDIR=$srcdir/libpng
 PNGDEVS=''
 PNGDEVS_ALL='png48 png16m pnggray pngmono pngmonod png256 png16 pngalpha'
 AC_MSG_CHECKING([for local png library source])
-if test -f $srcdir/libpng/pngread.c; then
+if false; then
         AC_MSG_RESULT([yes])
         SHARE_LIBPNG=0
         LIBPNGDIR=$srcdir/libpng
-- 
1.8.3.1