AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
January 2006

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2006.01.09 14:02 "bug: The macro STRIP_SIZE_DEFAULT has a "blank" value", by Norihiko Murase
2006.01.09 16:58 "Re: bug: The macro STRIP_SIZE_DEFAULT has a "blank" value", by Bob Friesenhahn
2006.01.11 06:29 "Re: bug: The macro STRIP_SIZE_DEFAULT has a "blank" value", by Norihiko Murase
2006.01.11 16:36 "Re: bug: The macro STRIP_SIZE_DEFAULT has a "blank" value", by Bob Friesenhahn

2006.01.11 06:29 "Re: 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