------- Comment #3 from ebotcazou at gcc dot gnu dot org 2006-01-10 14:28 ------- I was a bit terse: -I is ignored for $(prefix)/include. See the entry for --with-local-prefix in http://gcc.gnu.org/install/configure.html .
If you don't want /usr/local/include to be searched, "configure it away" by specifying --with-local-prefix. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25645