summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvipdfmx/configure
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/xdvipdfmx/configure')
-rwxr-xr-xBuild/source/texk/xdvipdfmx/configure47
1 files changed, 47 insertions, 0 deletions
diff --git a/Build/source/texk/xdvipdfmx/configure b/Build/source/texk/xdvipdfmx/configure
index cda840b9bae..6aa442472e9 100755
--- a/Build/source/texk/xdvipdfmx/configure
+++ b/Build/source/texk/xdvipdfmx/configure
@@ -17452,6 +17452,28 @@ $as_echo "$kpse_cv_have_truetype_format" >&6; }
if test "x$kpse_cv_have_truetype_format" = xyes; then
:
else
+ if test "x$enable_build" = xno; then
+ { $as_echo "$as_me:$LINENO: WARNING: building xdvipdfmx has been disabled and would fail because
+Required file formats not found in Kpathsea header files.
+
+This version of xdvipdfmx requires that kpathsea and its headers be available.
+If you are sure they are installed and in a standard place, maybe you need a
+newer version of kpathsea? You also might try setting the environment
+variable CPPFLAGS (or CFLAGS) with -I pointing to the directory containing
+the file \"kpathsea/kpathsea.h\"
+
+" >&5
+$as_echo "$as_me: WARNING: building xdvipdfmx has been disabled and would fail because
+Required file formats not found in Kpathsea header files.
+
+This version of xdvipdfmx requires that kpathsea and its headers be available.
+If you are sure they are installed and in a standard place, maybe you need a
+newer version of kpathsea? You also might try setting the environment
+variable CPPFLAGS (or CFLAGS) with -I pointing to the directory containing
+the file \"kpathsea/kpathsea.h\"
+
+" >&2;}
+else
{ { $as_echo "$as_me:$LINENO: error: Required file formats not found in Kpathsea header files.
This version of xdvipdfmx requires that kpathsea and its headers be available.
@@ -17473,6 +17495,9 @@ the file \"kpathsea/kpathsea.h\"
{ (exit 1); exit 1; }; }
fi
+
+fi
+
{ $as_echo "$as_me:$LINENO: checking whether xbasename is declared" >&5
$as_echo_n "checking whether xbasename is declared... " >&6; }
if test "${ac_cv_have_decl_xbasename+set}" = set; then
@@ -17530,12 +17555,21 @@ $as_echo "$ac_cv_have_decl_xbasename" >&6; }
if test "x$ac_cv_have_decl_xbasename" = x""yes; then
:
else
+ if test "x$enable_build" = xno; then
+ { $as_echo "$as_me:$LINENO: WARNING: building xdvipdfmx has been disabled and would fail because
+This version of xdvipdfmx requires xbasename in libkpathsea." >&5
+$as_echo "$as_me: WARNING: building xdvipdfmx has been disabled and would fail because
+This version of xdvipdfmx requires xbasename in libkpathsea." >&2;}
+else
{ { $as_echo "$as_me:$LINENO: error: This version of xdvipdfmx requires xbasename in libkpathsea." >&5
$as_echo "$as_me: error: This version of xdvipdfmx requires xbasename in 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; }
@@ -18228,6 +18262,16 @@ fi
done
else
+ if test "x$enable_build" = xno; then
+ { $as_echo "$as_me:$LINENO: WARNING: building xdvipdfmx has been disabled and would fail because
+This version of xdvipdfmx requires that FreeType2 and its headers be available.
+You can use the --with-freetype2-includes and/or --with-freetype2-libdir options
+to indicate the location of the installed freetype2 library and headers." >&5
+$as_echo "$as_me: WARNING: building xdvipdfmx has been disabled and would fail because
+This version of xdvipdfmx requires that FreeType2 and its headers be available.
+You can use the --with-freetype2-includes and/or --with-freetype2-libdir options
+to indicate the location of the installed freetype2 library and headers." >&2;}
+else
{ { $as_echo "$as_me:$LINENO: error: This version of xdvipdfmx requires that FreeType2 and its headers be available.
You can use the --with-freetype2-includes and/or --with-freetype2-libdir options
to indicate the location of the installed freetype2 library and headers." >&5
@@ -18238,6 +18282,9 @@ to indicate the location of the installed freetype2 library and headers." >&2;}
fi
+fi
+
+
CPPFLAGS=$kpse_save_CPPFLAGS
LIBS=$kpse_save_LIBS