Re: XForms: autoconf/automake patch

From: Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr)
Date: Thu Apr 24 2003 - 12:42:07 EDT

  • Next message: Angus Leeming: "Re: XForms: autoconf/automake patch"

    # To subscribers of the xforms list from Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr> :

    >>>>> "Angus" == Angus Leeming <angus.leeming@btopenworld.com> writes:

    >> Are you sure? I think that configure makes sure this does not
    >> happen when the file is not changed.

    Angus> It appears that you are wrong about this. The timestamp changes
    Angus> each time I run configure.

    Angus> Perhaps we could have AAA-tmp.h.in which generates AAA-tmp.h
    Angus> and then copy this to AAA.h only if the two files differ?

    Angus> It seems a little convoluted however.

    I am mostly sure that autoconf does something special for at least
    config.h. Indeed, I can see:

    config.status: creating lib/config.h
    config.status: lib/config.h is unchanged

    So, can we put AAA.h in AC_CONFIG_HEADERS and put nice #undef for
    FL_VERSION and friends? In this case, we should use AC_DEFINE instead
    of AC_SUBST for our variables.

    It seems strange at first, but I think it should work...

    JMarc

    _________________________________________________
    To unsubscribe, send the message "unsubscribe" to
    xforms-request@bob.usuhs.mil or see
    http://bob.usuhs.mil/mailserv/xforms.html
    XForms Home Page: http://world.std.com/~xforms
    List Archive: http://bob.usuhs.mil/mailserv/list-archives/
    Development: http://savannah.nongnu.org/files/?group=xforms



    This archive was generated by hypermail 2b29 : Thu Apr 24 2003 - 12:43:26 EDT