diff options
Diffstat (limited to 'Build/source/libs/configure')
-rwxr-xr-x | Build/source/libs/configure | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Build/source/libs/configure b/Build/source/libs/configure index 50f5e195abc..5e0b15d13cc 100755 --- a/Build/source/libs/configure +++ b/Build/source/libs/configure @@ -4661,6 +4661,20 @@ $as_echo "$as_me: Assuming installed \`poppler' headers and library" >&6;} fi ac_configure_args="$ac_configure_args '--with-system-poppler=$with_system_poppler'" fi +if test "x$with_system_poppler" = xyes; then + if test "x$with_system_zlib" = x; then + { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5 +$as_echo "$as_me: -> installed \`zlib' headers and library" >&6;} + with_system_zlib=yes + ac_configure_args="$ac_configure_args '--with-system-zlib'" + elif test "x$with_system_zlib" != xyes; then + as_fn_error $? "Sorry, \`--with-system-poppler' requires \`--with-system-zlib'" "$LINENO" 5 + fi +fi + +test "x$need_poppler" = xyes && { + need_zlib=yes +} ## libs/gd/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/gd/ |