(svn r14888) -Change/Fix: don't make makedepend look in whatever's included for headers; it takes ages *and* it will not find all headers anyways as they are placed in locations where only the compiler can easily find them

This commit is contained in:
rubidium 2009-01-07 13:25:10 +00:00
parent 41129edc78
commit 958e2cb9e4

View File

@ -1385,7 +1385,7 @@ make_cflags_and_ldflags() {
# Btw, this almost always comes from outside the configure, so it is
# not something we can control.
if [ "$with_makedepend" != "0" ]; then
cflags_makedep="` echo "$CFLAGS" | sed 's~ /~ -~g'`"
cflags_makedep="` echo "$CFLAGS" | sed 's~ /~ -~g;s~-I[ ]*[^ ]*~~g'`"
else
makedepend=""
fi