Changeset b0a89cc for configure


Ignore:
Timestamp:
2010-08-27T08:48:18Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
df61c35a, feb1bad
Parents:
3f10fad
Message:

Use nifty gcc -MD feature to automatically track .h dependencies of all C
files, this finally gives proper dependencies, which means the end of
getting broken binaries around headerfile changes, etc.

Sure, this may not work on obscurux with superawesomeincompatiblecc while
autoconf does, but at least BitlBee's configure script still runs in <1s.
:-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r3f10fad rb0a89cc  
    571571fi
    572572
     573case "$CC" in
     574*gcc* )
     575        echo CFLAGS+=-MD -MF .depend/\$@.d >> Makefile.settings
     576        for i in . lib protocols protocols/*/; do
     577                mkdir -p $i/.depend
     578        done
     579esac
     580
    573581if [ "$msn" = 0 ]; then
    574582        echo '#undef WITH_MSN' >> config.h
Note: See TracChangeset for help on using the changeset viewer.