summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-02-15 12:16:19 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-02-15 12:16:19 +0000
commit75932961bc13ae5c32a3b01f870b68a3ee0339b5 (patch)
tree2f3e76aec436f338dc602414e045e3223cb46db8 /Build
parente38aa1c20001cca438c00dac4f5c0886d142f215 (diff)
Building for Windows does not require 'ln -s'
git-svn-id: svn://tug.org/texlive/trunk@29119 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/ChangeLog5
-rw-r--r--Build/source/README.config6
-rwxr-xr-xBuild/source/configure2
-rw-r--r--Build/source/configure.ac2
4 files changed, 12 insertions, 3 deletions
diff --git a/Build/source/ChangeLog b/Build/source/ChangeLog
index 2a4e9c685e7..bf21637f73d 100644
--- a/Build/source/ChangeLog
+++ b/Build/source/ChangeLog
@@ -1,3 +1,8 @@
+2013-02-15 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * configure.ac: Building for Windows does not require 'ln -s'.
+ * README.config: Document '--without-ln-s'.
+
2013-02-08 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am (mandir, infodir): Change texmf => texmf-dist.
diff --git a/Build/source/README.config b/Build/source/README.config
index 9557c63584c..0f8c9c39603 100644
--- a/Build/source/README.config
+++ b/Build/source/README.config
@@ -1,4 +1,4 @@
-Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
+Copyright (C) 2009-2013 Peter Breitenlohner <tex-live@tug.org>
You may freely use, modify and/or distribute this file.
Configure options for the TeX Live (TL) build system
@@ -110,6 +110,10 @@ Enable the use of less verbose build rules. When using GNU make or another
always specify 'V=1' on the make command line to get more respectively 'V=0'
to get less verbosity.
+1.11. --without-ln-s
+--------------------
+Required to build for a Unix-like system without working 'ln -s'. But note
+that 'make install' will not create anything useful and might even fail.
2. Configure options for program packages
=========================================
diff --git a/Build/source/configure b/Build/source/configure
index 17ee656303b..fb3d24113b8 100755
--- a/Build/source/configure
+++ b/Build/source/configure
@@ -20038,7 +20038,7 @@ fi
if test "${with_ln_s+set}" = set; then :
withval=$with_ln_s;
fi
-if test "x$LN_S" != "xln -s" && test "x$with_ln_s" != xno; then
+if test "x$LN_S" != "xln -s" && test "x$kpse_cv_have_win32" = xno && 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
diff --git a/Build/source/configure.ac b/Build/source/configure.ac
index 52ae4108c81..c9e3833bf41 100644
--- a/Build/source/configure.ac
+++ b/Build/source/configure.ac
@@ -69,7 +69,7 @@ AC_PROG_LN_S
AC_ARG_WITH([ln-s],
AS_HELP_STRING([--without-ln-s],
[do build even if `ln -s' does not work]))[]dnl
-if test "x$LN_S" != "xln -s" && test "x$with_ln_s" != xno; then
+if test "x$LN_S" != "xln -s" && test "x$kpse_cv_have_win32" = xno && test "x$with_ln_s" != xno; then
AC_MSG_ERROR([You could use `--without-ln-s' to build without working `ln -s'])
fi