[sane-devel] Sane-CVS on OS/2
Frank Zago
fzago at austin.rr.com
Mon Jun 17 06:55:52 BST 2002
Franz Bakan wrote:
> Hi,
>
> Three minor problems at the moment with CVS-Code:
> 1.
> #ifndef HAVE_STRNCASECMP
> /* OS/2 needs this */
> # define strncasecmp(a, b, c) strnicmp(a, b, c)
> #endif
>
> is now missing in config.h
Hi Franz,
I guess I did it. I did a little clean up in config.h.in a while ago.
Henning told me that kind of stuff would happen.
Add
if test "`uname`" = "OS2"; then
AC_DEFINE(strncasecmp, strnicmp, [Define for OS/2 only])
fi
around line 284 in configure.in . I don't know what's the uname of OS2,
so fix that too.
Then run
autoheader
autoconf
Regards,
Frank.
More information about the sane-devel
mailing list