Re: backend includes of package files

From: Henning Meier-Geinitz (hmg-ml@gmx.de)
Date: Sat Jul 29 2000 - 06:35:10 PDT

  • Next message: Henning Meier-Geinitz: "TODO for 1.0.3"

    Hi,

    On Sat, Jul 29, 2000 at 01:58:25PM +0200, Oliver Rauch wrote:
    > I think a lot of backends do have a little bug in the #includes path.
    >
    > The include files that are part of the package should not
    > be included with <headerfile>, it should be "headerfile".

    I think you are right. It isn't usefull to search the standard directories
    (e.g. /usr/include) for the SANE header files.

    > I am not sure if the "../include/sane/..." version is needed or if "sane/..." also is ok in all cases.
    > We should use a common version for all backends!

    #include "sane/config.h" (e.g.) will suffice because the "-Iinclude" option
    to each cc compile command. See backend/Makefile.in:
    INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include

    I will pu this on the todo list and fix the mustek and the unmaintained
    backends.

    By,
      Henning

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Sat Jul 29 2000 - 06:29:54 PDT