summaryrefslogtreecommitdiff
path: root/portsToCome/texlive/reinstate-setting-HAVE_LIBGS-for-non-TL-builds.patch
blob: 77f7d8fe9103a22c20edf6adeddac41bb4b8177e (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
From 767d7c5d99eb43da411880e16f88e4541449c296 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Tue, 7 May 2019 18:01:50 +0000
Subject: [PATCH] reinstate setting HAVE_LIBGS for non-TL builds

git-svn-id: svn://tug.org/texlive/trunk/Build/source@51034 c570f23f-e606-0410-a88d-b1316a301751
---
 texk/dvisvgm/ChangeLog    | 5 +++++
 texk/dvisvgm/configure    | 3 +++
 texk/dvisvgm/configure.ac | 3 +++
 3 files changed, 11 insertions(+)

diff --git a/texk/dvisvgm/ChangeLog b/texk/dvisvgm/ChangeLog
index 4e1705357..42df6fc30 100644
--- a/texk/dvisvgm/ChangeLog
+++ b/texk/dvisvgm/ChangeLog
@@ -1,3 +1,8 @@
+2019-05-07  Karl Berry  <karl@tug.org>
+
+	* configure.ac (HAVE_LIBGS): reinstate setting for non-TL builds.
+	From Ken Brown, tlbuild 21 Apr 2019 12:15:51.
+
 2019-03-26  Karl Berry  <karl@freefriends.org>
 
 	* dvisvgm-src/libs/ff-woff/Makefile.am (AM_CFLAGS): add ZLIB_INCLUDES.
diff --git a/texk/dvisvgm/configure b/texk/dvisvgm/configure
index 20fff9281..e8bc77431 100755
--- a/texk/dvisvgm/configure
+++ b/texk/dvisvgm/configure
@@ -21960,6 +21960,9 @@ else
 fi
 
 
+if test "x$have_libgs" = xyes; then
+  HAVE_LIBGS=1
+fi
 if test "x$have_libgs" = "xno"; then :
   # Ghostscript not found, check for dlopen
 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
diff --git a/texk/dvisvgm/configure.ac b/texk/dvisvgm/configure.ac
index 8fc20ba28..387fc501a 100644
--- a/texk/dvisvgm/configure.ac
+++ b/texk/dvisvgm/configure.ac
@@ -62,6 +62,9 @@ have_libgs=yes
 AC_CHECK_HEADER([ghostscript/iapi.h],
 	[AC_CHECK_LIB(gs, gsapi_revision,, [have_libgs=no])],
 	[have_libgs=no])
+if test "x$have_libgs" = xyes; then
+  HAVE_LIBGS=1
+fi
 AS_IF([test "x$have_libgs" = "xno"],
 	# Ghostscript not found, check for dlopen
 	[AC_CHECK_LIB(dl, dlopen,,
-- 
2.21.0