[sane-devel] How can I check for libieee1284 present?

Henning Meier-Geinitz henning@meier-geinitz.de
Thu, 27 Jun 2002 17:55:42 +0200


On Thu, Jun 27, 2002 at 03:50:44PM +0400, Max Vorobiev wrote:

> How can I check for presents of libieee1284 at compilation stage from
> backend code? Header ieee1284.h doesn't have any specific defines and
> I didn't find any ones in config.h from sane distributive.

You can't. Currently, it works the other way round: backends that
depend on libieee are disabled if it isn't present.

If your backend does something usefull even if libieee is not present,
we can change the code in acinclude.m4 to add a macro to config.h.
Maybe "HAVE_IEEE1284"?