Re: Building frozen pre-1.0.4

From: Kazuya Fukuda (fukuda@pjs.nevt.nec.co.jp)
Date: Mon Dec 18 2000 - 20:36:19 PST

  • Next message: John Coppens: "Re: Snapscan.... Help!"

    Hi
    > Henning Meier-Geinitz wrote:
    >
    > > > sharp.c and nec.c use shm.c, which is only available on System V (and
    > > > clone) platforms.
    > >
    > > We can detect the availibility of shm.h in configure and check in
    > > nec.c/sharp.c. If both backends depend on shm (no alternative), they
    > > can be excluded from compilation. Is OS/2 using the normal configure
    > > script?
    >
    > Both the Sharp and the NEC backend can be compiled without needing shm.h
    > and friends. For the Sharp backend, it's enough to undefine USE_FORK;
    > the NEC backend is slightly more complicated (#ifndef NOTUSE_PCIN500 --
    > Kazuya should know, what NOTUSE_PCIN500 means).
    >
    in nec.c

    1)
    /* USE_FORKL fork a special reader process
    */
    #ifndef NOTUSE_PCIN500
    #define USE_FORK
    #endif
    is wrong.(USE_FORK is always defined.) #ifndef NOTUSE_PCIN500 and #endif
    are not neccesary.(Only #define USE_FORK is neccesary. Just same as sharp.c)

    after delete #ifndef or #endif
    It's enough to undefine USE_FORK;

    2)
    or remove #define USE_FORK

    --kazuya

    --
    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 : Mon Dec 18 2000 - 20:29:58 PST