summaryrefslogtreecommitdiff
path: root/Build/source/utils/configure
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/configure')
-rwxr-xr-xBuild/source/utils/configure33
1 files changed, 23 insertions, 10 deletions
diff --git a/Build/source/utils/configure b/Build/source/utils/configure
index ebae40dfc43..bb9f6185a68 100755
--- a/Build/source/utils/configure
+++ b/Build/source/utils/configure
@@ -1537,8 +1537,7 @@ Optional Features:
do not run mktextfm if TFM file missing
--disable-mkocp-default do not run mkocp if OCP file missing
--disable-mkofm-default do not run mkofm if OFM file missing
- --disable-mktexfmt-default
- do not run mktexfmt if format file missing
+ --enable-mktexfmt-default run mktexfmt if format file missing
--enable-mktextex-default run mktextex if TeX source missing
--enable-maintainer-mode enable make rules and dependencies not useful
(and sometimes confusing) to the casual installer
@@ -2191,13 +2190,28 @@ esac
ac_configure_args="$ac_configure_args '--enable-cxx-runtime-hack'" ;;
esac
- case $enable_shared in
- yes | no) : ;;
+fi
+case $enable_shared in
+ no) : ;;
+ yes ) if test "x$enable_native_texlive_build" = xyes; then
+ { { $as_echo "$as_me:$LINENO: error: you can not use a shared Kpathsea library for a native TeX Live build" >&5
+$as_echo "$as_me: error: you can not use a shared Kpathsea library for a native TeX Live build" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+ ;;
*) enable_shared=no
- ac_configure_args="$ac_configure_args '--disable-shared'" ;;
+ ac_configure_args="$ac_configure_args '--disable-shared'" ;;
+esac
+
+case $enable_texlive_build in
+ yes) : ;;
+ no) { { $as_echo "$as_me:$LINENO: error: you can not configure the TeX Live tree with \`--disable-texlive-build'" >&5
+$as_echo "$as_me: error: you can not configure the TeX Live tree with \`--disable-texlive-build'" >&2;}
+ { (exit 1); exit 1; }; } ;;
+ *) enable_texlive_build=yes
+ ac_configure_args="$ac_configure_args '--enable-texlive-build'" ;;
esac
-fi
# Check whether --enable-multiplatform was given.
if test "${enable_multiplatform+set}" = set; then
enableval=$enable_multiplatform;
@@ -3210,9 +3224,8 @@ $as_echo "$as_me: Assuming installed \`kpathsea' headers and library" >&6;}
ac_configure_args="$ac_configure_args '--with-system-kpathsea=$with_system_kpathsea'"
fi
-## texk/kpathsea/ac/web2c.ac: configure.ac fragment for the TeX Live
-## subdirectory texk/kpathsea.
-## configure defaults for mktexfmt & Co.
+## texk/kpathsea/ac/web2c.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/
+## configure options for mktextmf-default & Co
# Check whether --enable-mktexmf-default was given.
if test "${enable_mktexmf_default+set}" = set; then
enableval=$enable_mktexmf_default;
@@ -3259,7 +3272,7 @@ if test "${enable_mktexfmt_default+set}" = set; then
fi
case $enable_mktexfmt_default in
yes|no) : ;;
- *) enable_mktexfmt_default=yes ;;
+ *) enable_mktexfmt_default=no ;;
esac
# Check whether --enable-mktextex-default was given.
if test "${enable_mktextex_default+set}" = set; then