[sane-devel] .configure warning in 1.0.14-pre1

Peter O'Gorman peter@pogma.com
Sun, 18 Apr 2004 23:00:22 +0900


Henning Meier-Geinitz wrote:

> Hi,
> 
> On Sun, Apr 18, 2004 at 10:22:31PM +0900, Peter O'Gorman wrote:
> 
>>If there were no -ansi flag, all would be well.
> 
> 
> When the release is made, that flag is disabled anyway.
> 
> I can add MacOS X to the list of operating systems where -ansi isn't
> used. It currently looks like this (ac_include.m4):
> 
>   ANSI_FLAG=-ansi
>   case "${host_os}" in  
>     solaris* | hpux* | os2* )
>       ANSI_FLAG=
>       ;;
>   esac
> 
> So how does ${host_os} look for MacOS X?

darwin
So you'll want
solaris* | hpux* | os2* | darwin* )

Expecting ansi conformant system headers is ... unusual.

Peter
-- 
Peter O'Gorman - http://www.pogma.com