Changeset 1031


Ignore:
Timestamp:
Aug 26, 2011, 7:56:55 PM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

OS/2: Don't touch qconfig.h with no need.

This was a regression of r995 that caused a full rebuild on every
run of configure (even if no vital options were changed) which was
very annoying.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.cmd

    r1030 r1031  
    677677             * This looks like a utime() bug in Perl for OS/2 (the null timestamp
    678678             * should set the date to 01-01-1980, not too sane but would work).*/
    679             call MakeDir G.OutPath"\src\corelib\global"
    680             call charout G.OutPath"\src\corelib\global\qconfig.h", "/*dummy*/"
    681             call charout G.OutPath"\src\corelib\global\qconfig.h"
     679            if (\FileExists(G.OutPath"\src\corelib\global\qconfig.h")) then do
     680                call MakeDir G.OutPath"\src\corelib\global"
     681                call charout G.OutPath"\src\corelib\global\qconfig.h", "/*dummy*/"
     682                call charout G.OutPath"\src\corelib\global\qconfig.h"
     683            end
    682684
    683685            /* copy includes */
Note: See TracChangeset for help on using the changeset viewer.