Bug 77

Summary: Configure Script contains /usr/local/lib /usr/local/include FLAGS
Product: Portable OpenSSH Reporter: Doug Chimento <douglas.chimento>
Component: Build systemAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED FIXED    
Severity: trivial    
Priority: P5    
Version: -current   
Hardware: All   
OS: Solaris   
Attachments:
Description Flags
Remove /usr/local as implicit include/library search path none

Description Doug Chimento 2002-01-25 08:19:46 AEDT
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.
Comment 1 Damien Miller 2003-05-15 18:21:32 AEST
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.
Comment 2 Darren Tucker 2004-01-24 19:14:31 AEDT
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.
Comment 3 Damien Miller 2004-04-14 12:24:17 AEST
Mass change of RESOLVED bugs to CLOSED