summaryrefslogtreecommitdiff
path: root/Build/source/libs
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs')
-rw-r--r--Build/source/libs/Makefile.in2
-rwxr-xr-xBuild/source/libs/configure24
2 files changed, 23 insertions, 3 deletions
diff --git a/Build/source/libs/Makefile.in b/Build/source/libs/Makefile.in
index 42b54777d7e..76de6207491 100644
--- a/Build/source/libs/Makefile.in
+++ b/Build/source/libs/Makefile.in
@@ -92,6 +92,8 @@ am__aclocal_m4_deps = $(top_srcdir)/../m4/kpse-common.m4 \
$(top_srcdir)/../texk/dvipos/ac/withenable.ac \
$(top_srcdir)/../texk/dvipsk/ac/withenable.ac \
$(top_srcdir)/../texk/dvisvgm/ac/withenable.ac \
+ $(top_srcdir)/../texk/dvisvgm/ac/dvisvgm.ac \
+ $(top_srcdir)/../texk/dvisvgm/ac/libgs.ac \
$(top_srcdir)/../texk/gsftopk/ac/withenable.ac \
$(top_srcdir)/../texk/lacheck/ac/withenable.ac \
$(top_srcdir)/../texk/lcdf-typetools/ac/withenable.ac \
diff --git a/Build/source/libs/configure b/Build/source/libs/configure
index 95c8891dff3..ea3a06465b7 100755
--- a/Build/source/libs/configure
+++ b/Build/source/libs/configure
@@ -696,6 +696,7 @@ with_gs
enable_dvipos
enable_dvipsk
enable_dvisvgm
+with_system_libgs
enable_gsftopk
enable_lacheck
enable_lcdf_typetools
@@ -1505,6 +1506,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]
@@ -2119,10 +2122,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
@@ -2929,6 +2932,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