configure.ac contains the LDFLAGS and CPPFLAGS enviroment which explicity set to -R/usr/local/lib -L/usr/local/lib and -L/usr/local/include. The user has no option to disable these flag settings.
Created attachment 298 [details] Remove /usr/local as implicit include/library search path I am afraid that removing /usr/local will increase the number of support queries, OTOH I see your point. This patch would need to be tested widely.
This has recently been fixed: - (tim) [configure.ac] Remove hard coded -L/usr/local/lib and -I/usr/local/include. Users can do LDFLAGS="-L/usr/local/lib" \ CPPFLAGS="-I/usr/local/include" ./configure if needed.
Mass change of RESOLVED bugs to CLOSED