2006.01.09 14:02 "[Tiff] bug: The macro STRIP_SIZE_DEFAULT has a "blank" value", by Norihiko Murase

2006.01.11 06:29 "Re: [Tiff] bug: The macro STRIP_SIZE_DEFAULT has a "blank" value", by Norihiko Murase

Hi, thank you for replying.

First, the configure script is *REALLY* Bourne Shell (/bin/sh) script because the 1-st line of this script is

    #! /bin/sh

Therefore, whether bash is installed or not is NOT relative to this, except the case where /bin/sh is actually bash. It is probable that /bin/sh is actually bash on MinGW and Cygwin.

Second, the '==' comparison primary is NOT supported by Bourne Shell (/bin/sh) on the following systems:

    FreeBSD 4.11-RELEASE
    FreeBSD 5.0-RELEASE
    SunOS 5.8 (sparc)
    SunOS 5.9 (i386)

Nothing on the '==' primary could I find in the manual test(1) of these 4 systems.

In executing the following line:

    [ "5" == "5" ]
Bourne Shell complains with the error message such as
    [: 5: unexpected operator
    test: unknown operator ==

I attach the result on the FreeBSD 4.11-RELEASE box. ----------(FreeBSD 4.11-RELEASE)---------- Script started on Wed Jan 11 13:56:23 2006

%
% uname -a

FreeBSD ***** 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Tue May  3 02:00:46 JST 2005     root@*****:/usr/src/sys/compile/*****  i386

%
% /bin/sh
$
$ type test
test is a shell builtin
$ type [
[ is a shell builtin
$ echo 'test'
test
$ echo $?
0
$ [ "5" == "5" ]
[: 5: unexpected operator
$ echo $?
2
$ [ "5" = "5" ]
$ echo $?
0
$
$ exit
%
% exit
exit

Script done on Wed Jan 11 13:58:24 2006 ----------(FreeBSD 4.11-RELEASE)----------

Actually, the following error message was printed in executing the configure script on the FreeBSD box.

            checking for GLUT library... no
      ---> test: x: unexpected operator
            configure: creating ./config.status

Anyway,

Thanks for the bug report. I have made sure that the fix is in libtiff CVS for the next release.

thank you very much. I hope that you remember to re-create the configure script after modifying configure.ac.

Thanks,

---
Norihiko Murase
  The University of Aizu
E-mail: skeleten [AT] shillest.net
        s1080224 [AT] u-aizu.ac.jp