Bug 77 - Configure Script contains /usr/local/lib /usr/local/include FLAGS
Summary: Configure Script contains /usr/local/lib /usr/local/include FLAGS
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: -current
Hardware: All Solaris
: P5 trivial
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-25 08:19 AEDT by Doug Chimento
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments
Remove /usr/local as implicit include/library search path (4.68 KB, patch)
2003-05-15 18:21 AEST, Damien Miller
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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