[sane-devel] ENABLE_LOCKING

Paul Smedley paul at smedley.info
Mon Jul 25 00:49:03 UTC 2005


Hi all,

On OS/2 - enable_locking gets enabled by configure, however as far as I
can tell, this is only used in sanei_access.c, and then, only by the
plustek backend - and the code doesn't work on OS/2.

I know that I can run configure with a switch to disable locking, but can
configure be changed such that ENABLE_LOCKING is not set on os/2..

I could also workaround this by patching sanei_access.c with something
like:
#ifdef HAVE_OS2_H
#  undef ENABLE_LOCKING
#endif /* HAVE_OS2_H */

Any thoughts on how to accomplish with configure?

Cheers,

Paul.



More information about the sane-devel mailing list