summaryrefslogtreecommitdiff
path: root/Build/source/utils/configure
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/configure')
-rwxr-xr-xBuild/source/utils/configure37
1 files changed, 37 insertions, 0 deletions
diff --git a/Build/source/utils/configure b/Build/source/utils/configure
index 42f5b3fa8ea..d9bf8cd4ef3 100755
--- a/Build/source/utils/configure
+++ b/Build/source/utils/configure
@@ -822,6 +822,9 @@ with_gd_includes
with_gd_libdir
with_system_freetype2
with_system_libpng
+with_system_paper
+with_paper_includes
+with_paper_libdir
with_system_zlib
with_zlib_includes
with_zlib_libdir
@@ -1669,6 +1672,10 @@ Optional Packages:
(requires freetype-config)
--with-system-libpng use installed libpng headers and library (requires
pkg-config)
+ --with-system-paper use installed paper headers and library
+ --with-paper-includes=DIR
+ paper headers installed in DIR
+ --with-paper-libdir=DIR paper library installed in DIR
--with-system-zlib use installed zlib headers and library
--with-zlib-includes=DIR
zlib headers installed in DIR
@@ -5162,6 +5169,36 @@ test "x$need_libpng" = xyes && {
need_zlib=yes
}
+## libs/paper/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/paper/
+## configure options and TL libraries required for paper
+
+# Check whether --with-system-paper was given.
+if test "${with_system_paper+set}" = set; then :
+ withval=$with_system_paper;
+fi
+
+# Check whether --with-paper-includes was given.
+if test "${with_paper_includes+set}" = set; then :
+ withval=$with_paper_includes;
+fi
+
+# Check whether --with-paper-libdir was given.
+if test "${with_paper_libdir+set}" = set; then :
+ withval=$with_paper_libdir;
+fi
+if test "x$with_system_paper" = x; then
+ if test -f $srcdir/../libs/paper/configure; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`paper' headers and library from TL tree" >&5
+$as_echo "$as_me: Assuming \`paper' headers and library from TL tree" >&6;}
+ with_system_paper=no
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`paper' headers and library" >&5
+$as_echo "$as_me: Assuming installed \`paper' headers and library" >&6;}
+ with_system_paper=yes
+ fi
+ ac_configure_args="$ac_configure_args '--with-system-paper=$with_system_paper'"
+fi
+
## libs/lua52/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/lua52/
## configure options and TL libraries required for lua52