summaryrefslogtreecommitdiff
path: root/Build/source/libs/configure
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/configure')
-rwxr-xr-xBuild/source/libs/configure46
1 files changed, 46 insertions, 0 deletions
diff --git a/Build/source/libs/configure b/Build/source/libs/configure
index 66a29f51b99..8d735c28a4f 100755
--- a/Build/source/libs/configure
+++ b/Build/source/libs/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
@@ -864,6 +867,7 @@ potrace
gd
freetype2
libpng
+paper
lua52
zlib'
@@ -1673,6 +1677,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
@@ -5166,6 +5174,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
@@ -6311,6 +6349,14 @@ if test -x $srcdir/libpng/configure; then
fi
fi
+if test -x $srcdir/paper/configure; then
+ test "x$with_system_paper" != xyes && test "x$need_paper" = xyes && MAKE_SUBDIRS="paper $MAKE_SUBDIRS"
+ CONF_SUBDIRS="paper $CONF_SUBDIRS"
+ if false; then
+ subdirs="$subdirs paper"
+
+ fi
+fi
if test -x $srcdir/lua52/configure; then
test "x$with_system_lua52" != xyes && test "x$need_lua52" = xyes && MAKE_SUBDIRS="lua52 $MAKE_SUBDIRS"
CONF_SUBDIRS="lua52 $CONF_SUBDIRS"