summaryrefslogtreecommitdiff
path: root/Build/source/configure
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/configure')
-rwxr-xr-xBuild/source/configure41
1 files changed, 31 insertions, 10 deletions
diff --git a/Build/source/configure b/Build/source/configure
index c1defc0a213..c6d5eae45a9 100755
--- a/Build/source/configure
+++ b/Build/source/configure
@@ -19585,14 +19585,19 @@ if test "x$LN_S" != "xln -s" && test "x$with_ln_s" != xno; then
as_fn_error $? "You could use \`--without-ln-s' to build without working \`ln -s'" "$LINENO" 5
fi
-if test "x$mandir" = 'x${datarootdir}/man'; then
- mandir='${prefix}/texmf/doc/man'
- ac_configure_args="$ac_configure_args '--mandir=$mandir'"
-fi
-
-if test "x$infodir" = 'x${datarootdir}/info'; then
- infodir='${prefix}/texmf/doc/info'
- ac_configure_args="$ac_configure_args '--infodir=$infodir'"
+if test "x$enable_native_texlive_build" = xyes; then
+ if test "x$datarootdir" = 'x${prefix}/share'; then
+ datarootdir='${prefix}'
+ ac_configure_args="$ac_configure_args '--datarootdir=$datarootdir'"
+ fi
+ if test "x$mandir" = 'x${datarootdir}/man'; then
+ mandir='${prefix}/texmf/doc/man'
+ ac_configure_args="$ac_configure_args '--mandir=$mandir'"
+ fi
+ if test "x$infodir" = 'x${datarootdir}/info'; then
+ infodir='${prefix}/texmf/doc/info'
+ ac_configure_args="$ac_configure_args '--infodir=$infodir'"
+ fi
fi
if test "x$enable_web2c" = xyes && test "x$with_system_kpathsea" = xyes; then
@@ -23242,7 +23247,6 @@ case $kpse_src$kpse_bld in
*' '*) as_fn_error $? "Absolute source and/or build path with embedded spaces" "$LINENO" 5;;
esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: result:
- prefix: $prefix
enable_native_texlive_build: $enable_native_texlive_build
enable_shared: $enable_shared
enable_multiplatform: $enable_multiplatform
@@ -23250,10 +23254,18 @@ esac
enable_libtool_hack: $enable_libtool_hack
enable_compiler_warnings: $enable_compiler_warnings
+ prefix: $prefix
+ includedir: $includedir
+ datarootdir: $datarootdir
+ mandir: $mandir
+ infodir: $infodir
+ exec_prefix: $exec_prefix
+ bindir: $bindir
+ libdir: $libdir
+
** Next run \`make' to configure and build each library and program.
" >&5
$as_echo "
- prefix: $prefix
enable_native_texlive_build: $enable_native_texlive_build
enable_shared: $enable_shared
enable_multiplatform: $enable_multiplatform
@@ -23261,5 +23273,14 @@ $as_echo "
enable_libtool_hack: $enable_libtool_hack
enable_compiler_warnings: $enable_compiler_warnings
+ prefix: $prefix
+ includedir: $includedir
+ datarootdir: $datarootdir
+ mandir: $mandir
+ infodir: $infodir
+ exec_prefix: $exec_prefix
+ bindir: $bindir
+ libdir: $libdir
+
** Next run \`make' to configure and build each library and program.
" >&6; }