summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvisvgm/configure
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-03-17 22:41:17 +0000
committerKarl Berry <karl@freefriends.org>2017-03-17 22:41:17 +0000
commitaabc0bf16b2a383d7e32ab782ff1966373e3af92 (patch)
tree20868293218f411a0480ac40f375555115f59d81 /Build/source/texk/dvisvgm/configure
parent3ead37cfb6b7fa52ee98ef2c48aaf9bc1625fad9 (diff)
always AC_SUBST LIBGS_INCLUDES and LIBGS_LIBS
git-svn-id: svn://tug.org/texlive/trunk@43533 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvisvgm/configure')
-rwxr-xr-xBuild/source/texk/dvisvgm/configure11
1 files changed, 6 insertions, 5 deletions
diff --git a/Build/source/texk/dvisvgm/configure b/Build/source/texk/dvisvgm/configure
index 420443cbee9..713d99dfa32 100755
--- a/Build/source/texk/dvisvgm/configure
+++ b/Build/source/texk/dvisvgm/configure
@@ -21807,6 +21807,8 @@ kpse_save_LIBS=$LIBS
# emacs-page
+LIBGS_INCLUDES=
+LIBGS_LIBS=
if test "x$enable_native_texlive_build" = xyes; then
# TL: always dlload libgs, must avoid shared lib ref in binary.
HAVE_LIBGS=0
@@ -21869,8 +21871,6 @@ fi
fi
if test "$HAVE_LIBGS" -eq 0; then
- LIBGS_INCLUDES=
- LIBGS_LIBS=
# Windows (native or MinGW32) has neither <dlfcn.h> nor dlopen().
if test "x$kpse_cv_have_win32" = xno; then
# FreeBSD neither has nor requires libdl.
@@ -21954,8 +21954,6 @@ $as_echo "#define DISABLE_GS 1" >>confdefs.h
LIBGS_LIBS=
fi
fi
-
-
else
# query Ghostscript version
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Ghostscript version" >&5
@@ -21994,15 +21992,18 @@ $as_echo "\"$gsversion\"" >&6; }
if test "$gsversion" -lt 831; then
# current Ghostscript API was introduced in version 8.31
# older versions are not supported
- LIBS=`echo $LIBS | sed "s/-lgs //" $LIBS`
$as_echo "#define DISABLE_GS 1" >>confdefs.h
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ghostscript version < 8.31 found; PostScript support disabled" >&5
$as_echo "$as_me: WARNING: Ghostscript version < 8.31 found; PostScript support disabled" >&2;}
+ else
+ LIBGS_LIBS=-lgs
fi
fi
+
+
if test "x$enable_build" != xno || test -f config.force; then
# Checks for more libraries.