summaryrefslogtreecommitdiff
path: root/Build/source/texk/configure
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/configure')
-rwxr-xr-xBuild/source/texk/configure24
1 files changed, 21 insertions, 3 deletions
diff --git a/Build/source/texk/configure b/Build/source/texk/configure
index 7dfd4229ca7..17f1b7b25c5 100755
--- a/Build/source/texk/configure
+++ b/Build/source/texk/configure
@@ -696,6 +696,7 @@ with_gs
enable_dvipos
enable_dvipsk
enable_dvisvgm
+with_system_libgs
enable_gsftopk
enable_lacheck
enable_lcdf_typetools
@@ -1525,6 +1526,8 @@ Optional Packages:
--with-editor=CMD invoke CMD from the `e' option [vi +%d %s]
--without-mf-x-toolkit do not use X toolkit for METAFONT
--with-gs=/PATH/TO/gs Hard-wire the location of GhostScript
+ --with-system-libgs build dvisvgm with installed gs headers and library
+ [default: no, may require CPPFLAGS and LDFLAGS]
--with-xdvi-x-toolkit=KIT
Use toolkit KIT (motif/xaw/xaw3d/neXtaw) for xdvi
[default: Motif if available, else Xaw]
@@ -2139,10 +2142,10 @@ case $enable_libtool_hack in #(
: ;; #(
*) :
case $host_os in #(
- linux* | solaris*) :
- enable_libtool_hack=yes ;; #(
+ do-not-match) :
+ enable_libtool_hack=no ;; #(
*) :
- enable_libtool_hack=no ;;
+ enable_libtool_hack=yes ;;
esac
ac_configure_args="$ac_configure_args '--enable-libtool-hack=$enable_libtool_hack'" ;;
esac
@@ -2949,6 +2952,21 @@ test "x$enable_dvisvgm" = xno || {
need_zlib=yes
}
+## texk/dvisvgm/ac/dvisvgm.ac: configure.ac fragment for the TeX Live subdirectory texk/dvisvgm/
+## configure options for dvisvgm
+
+# Check whether --with-system-libgs was given.
+if test "${with_system_libgs+set}" = set; then :
+ withval=$with_system_libgs;
+fi
+
+
+## texk/dvisvgm/ac/libgs.ac: configure.ac fragment for the TeX Live subdirectory texk/dvisvgm/
+## configure checks for dvisvgm and libgs
+if test "x$enable_native_texlive_build:$with_system_libgs" = xyes:yes; then
+ as_fn_error "you can not use system libraries for a native TeX Live build" "$LINENO" 5
+fi
+
## texk/gsftopk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/gsftopk/
## configure options and TL libraries required for gsftopk