Patch to rerun configure when needed

From: Petter Reinholdtsen (pere@hungry.com)
Date: Sun Feb 27 2000 - 08:24:45 PST

  • Next message: Petter Reinholdtsen: "Second and last code freeze snapshot (20000227)"

    The following patch relative to the current CVS snapshot should rerun
    configure when needed. Will it work on all platforms? Should I check
    it into CVS before 1.0.2?

    Index: Makefile.in
    ===================================================================
    RCS file: /cvsroot/external/sane/Makefile.in,v
    retrieving revision 1.1.1.1
    diff -u -r1.1.1.1 Makefile.in
    --- Makefile.in 1999/08/09 18:05:39 1.1.1.1
    +++ Makefile.in 2000/02/27 16:24:20
    @@ -34,8 +34,19 @@

     SUBDIRS = lib sanei backend frontend doc tools

    -all: all-recursive
    +all: config all-recursive

    +config: Makefile include/sane/config.h
    +include/sane/config.h: include/sane/config.h.in config.cache configure
    + @./config.status
    +
    +Makefile: Makefile.in config.cache configure
    + @echo $< newer then '$@'. Rerunning configure.
    + @./config.status --recheck
    + @./config.status
    + @echo
    + @echo $< was newer than '$@'. You need to run '$(MAKE)' again.
    + @exit 1

     install: install-recursive
            $(MKDIR) $(includedir)/sane

    -- 
    ##>  Petter Reinholdtsen  <##  |  pere@td.org.uit.no
    

    -- 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 : Sun Feb 27 2000 - 08:22:14 PST