autoconf: Print GCC include path directly and be more robust using it
authorDan Nicholson <dbn.lists@gmail.com>
Fri, 7 Mar 2008 19:48:09 +0000 (11:48 -0800)
committerDan Nicholson <dbn.lists@gmail.com>
Fri, 7 Mar 2008 19:48:09 +0000 (11:48 -0800)
commitdb7fc6311086b512f63ba74d7ab6cda47b662839
tree5f238ce2207d20884dc05bfdc81892935a02aa91
parent1e6943cf5592186c3721dfefbdcf1a519a79bd8f
autoconf: Print GCC include path directly and be more robust using it

Rather than constructing the GCC include path from `-print-search-dirs',
we can get the path directly from `-print-file-name=include'. This is
used in the Linux kernel build, for example. If no output is returned
from the command, then we don't append a -I path the the makedepend
options.
configure.ac