summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipng/configure
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipng/configure')
-rwxr-xr-xBuild/source/texk/dvipng/configure40
1 files changed, 39 insertions, 1 deletions
diff --git a/Build/source/texk/dvipng/configure b/Build/source/texk/dvipng/configure
index c3e450ff5f0..e4f5a7ec9cc 100755
--- a/Build/source/texk/dvipng/configure
+++ b/Build/source/texk/dvipng/configure
@@ -12902,7 +12902,7 @@ _ACEOF
fi
-## texk/dvipng/ac/dvipng.ac
+## texk/dvipng/ac/dvipng.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipng/
## configure options for dvipng
# Check whether --enable-debug was given.
if test "${enable_debug+set}" = set; then
@@ -18391,12 +18391,21 @@ cat >>confdefs.h <<\_ACEOF
_ACEOF
else
+ if test "x$enable_build" = xno; then
+ { $as_echo "$as_me:$LINENO: WARNING: building dvipng has been disabled and would fail because
+cannot find/use libpng" >&5
+$as_echo "$as_me: WARNING: building dvipng has been disabled and would fail because
+cannot find/use libpng" >&2;}
+else
{ { $as_echo "$as_me:$LINENO: error: cannot find/use libpng" >&5
$as_echo "$as_me: error: cannot find/use libpng" >&2;}
{ (exit 1); exit 1; }; }
fi
+fi
+
+
CPPFLAGS="$CPPFLAGS $GD_INCLUDES"
LIBS="$GD_LIBS $LIBS"
@@ -18492,6 +18501,14 @@ cat >>confdefs.h <<\_ACEOF
_ACEOF
else
+ if test "x$enable_build" = xno; then
+ { $as_echo "$as_me:$LINENO: WARNING: building dvipng has been disabled and would fail because
+cannot find/use libgd
+This drawing library can be downloaded at http://www.boutell.com/gd" >&5
+$as_echo "$as_me: WARNING: building dvipng has been disabled and would fail because
+cannot find/use libgd
+This drawing library can be downloaded at http://www.boutell.com/gd" >&2;}
+else
{ { $as_echo "$as_me:$LINENO: error: cannot find/use libgd
This drawing library can be downloaded at http://www.boutell.com/gd" >&5
$as_echo "$as_me: error: cannot find/use libgd
@@ -18500,6 +18517,9 @@ This drawing library can be downloaded at http://www.boutell.com/gd" >&2;}
fi
+fi
+
+
CPPFLAGS="$CPPFLAGS $KPATHSEA_INCLUDES"
LIBS="$KPATHSEA_LIBS $LIBS"
@@ -18595,12 +18615,21 @@ cat >>confdefs.h <<\_ACEOF
_ACEOF
else
+ if test "x$enable_build" = xno; then
+ { $as_echo "$as_me:$LINENO: WARNING: building dvipng has been disabled and would fail because
+cannot find/use libkpathsea" >&5
+$as_echo "$as_me: WARNING: building dvipng has been disabled and would fail because
+cannot find/use libkpathsea" >&2;}
+else
{ { $as_echo "$as_me:$LINENO: error: cannot find/use libkpathsea" >&5
$as_echo "$as_me: error: cannot find/use libkpathsea" >&2;}
{ (exit 1); exit 1; }; }
fi
+fi
+
+
{ $as_echo "$as_me:$LINENO: checking whether kpathsea declares the kpse_opentype_format" >&5
$as_echo_n "checking whether kpathsea declares the kpse_opentype_format... " >&6; }
if test "${kpse_cv_have_opentype_format+set}" = set; then
@@ -19037,11 +19066,20 @@ as_val=`eval 'as_val=${'$as_ac_Header'}
_ACEOF
else
+ if test "x$enable_build" = xno; then
+ { $as_echo "$as_me:$LINENO: WARNING: building dvipng has been disabled and would fail because
+cannot find/use $ac_header" >&5
+$as_echo "$as_me: WARNING: building dvipng has been disabled and would fail because
+cannot find/use $ac_header" >&2;}
+else
{ { $as_echo "$as_me:$LINENO: error: cannot find/use $ac_header" >&5
$as_echo "$as_me: error: cannot find/use $ac_header" >&2;}
{ (exit 1); exit 1; }; }
fi
+
+fi
+
done