summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/utils/biber/ChangeLog5
-rwxr-xr-xBuild/source/utils/biber/configure6
-rw-r--r--Build/source/utils/biber/configure.ac6
3 files changed, 11 insertions, 6 deletions
diff --git a/Build/source/utils/biber/ChangeLog b/Build/source/utils/biber/ChangeLog
index a7dfa102e06..4dc77968ab0 100644
--- a/Build/source/utils/biber/ChangeLog
+++ b/Build/source/utils/biber/ChangeLog
@@ -1,3 +1,8 @@
+2011-03-22 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * configure.ac: Correctly distinguish `biber' and `biber.exe' on
+ Cygwin. Problem reported by Ken Brown <kbrow1i@gmail.com>.
+
2011-03-17 Peter Breitenlohner <peb@mppmu.mpg.de>
* ac: new directory, required for the TeX Live build system.
diff --git a/Build/source/utils/biber/configure b/Build/source/utils/biber/configure
index 98ece073ca7..06f34ee1d1f 100755
--- a/Build/source/utils/biber/configure
+++ b/Build/source/utils/biber/configure
@@ -3511,10 +3511,10 @@ $as_echo "$TL_PLATFORM" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a biber binary" >&5
$as_echo_n "checking for a biber binary... " >&6; }
biber_bin="bin/$TL_PLATFORM/biber"
-if test -r "$srcdir/$biber_bin"; then
+if test -n "$ac_exeext" && test -r "$srcdir/$biber_bin$ac_exeext"; then
+ BIBER_BINARY="$biber_bin$ac_exeext"
+elif test -r "$srcdir/$biber_bin"; then
BIBER_BINARY="$biber_bin"
-elif test -r "$srcdir/$biber_bin.exe"; then
- BIBER_BINARY="$biber_bin.exe"
else
BIBER_BINARY=
fi
diff --git a/Build/source/utils/biber/configure.ac b/Build/source/utils/biber/configure.ac
index 3848cd95828..497e70e1d62 100644
--- a/Build/source/utils/biber/configure.ac
+++ b/Build/source/utils/biber/configure.ac
@@ -25,10 +25,10 @@ KPSE_TL_PLATFORM
dnl Check if we have an executable for this platform.
AC_MSG_CHECKING([for a biber binary])
biber_bin="bin/$TL_PLATFORM/biber"
-if test -r "$srcdir/$biber_bin"; then
+if test -n "$ac_exeext" && test -r "$srcdir/$biber_bin$ac_exeext"; then
+ BIBER_BINARY="$biber_bin$ac_exeext"
+elif test -r "$srcdir/$biber_bin"; then
BIBER_BINARY="$biber_bin"
-elif test -r "$srcdir/$biber_bin.exe"; then
- BIBER_BINARY="$biber_bin.exe"
else
BIBER_BINARY=
fi