[tlbuild] TL'11 build schedule

Peter Breitenlohner peb at mppmu.mpg.de
Tue Mar 22 09:57:09 CET 2011

On Mon, 21 Mar 2011, Ken Brown wrote:

> The biber integration doesn't work in Cygwin because of the .exe magic that 
> Cygwin uses:
> checking for a biber binary... bin/i386-cygwin/biber
> [...]
> make[3]: Entering directory `/tmp/tl2011/source/Work/utils/biber'
> make[3]: *** No rule to make target `bin/i386-cygwin/biber', needed by 
> `all-am'.  Stop.
> The problem is that the biber binary is named biber.exe, but when configure 
> tests for bin/i386-cygwin/biber/biber, the test succeeds because of the .exe 
> magic.  So BIBER_BINARY is set to the non-existent file 
> bin/i386-cygwin/biber.  The following fixes it for Cygwin (and I hope still 
> does the right thing on other platforms):
> --- utils/biber/configure.ac      2011-03-18 09:37:58.940569900 -0400
> +++ utils/biber/configure.ac        2011-03-21 15:25:40.771040800 -0400
> @@ -24,11 +24,9 @@
> dnl Check if we have an executable for this platform.
> AC_MSG_CHECKING([for a biber binary])
> -biber_bin="bin/$TL_PLATFORM/biber"
> +biber_bin="bin/$TL_PLATFORM/biber${ac_exeext}"
> if test -r "$srcdir/$biber_bin"; then
>   BIBER_BINARY="$biber_bin"
> -elif test -r "$srcdir/$biber_bin.exe"; then
> -  BIBER_BINARY="$biber_bin.exe"
> else
> fi

Hi Ken,

that's more or less what Karl originally had.  But at that time the cygwin
binary was named biber (and later renamed biber.exe).  Thus I'd prefer a
solution that works for both names. According to my tests "test -r foo"
detects foo.exe but not vice versa.  Thus testing first with and then
without .exe should do it, e.g.:

   if test -n "$ac_exeext" && test -r "$srcdir/$biber_bin.exe"; then
   elif test -r "$srcdir/$biber_bin"; then

Could you please test this (with the binary named biber or biber.exe)


More information about the tlbuild mailing list