Configure script

Carson Gaspar carson at taltos.org
Sat Jan 26 10:06:22 EST 2002


See the list archives for the previous discussion of this issue. The short 
form:

- Currently, it's hardcoded in configure.ac It used to be first (blech) and 
now it's last (slightly less nasty)
- The OpenSSH maintainers don't want to just remove it, since idiots will 
then be unable to compile OpenSSH
- I proposed a patch that implements a much better search algorithm for 
external libraries, and it was never merged in. If I recall correctly, I 
proposed that:

If --with-foo=/bar was specified, look in /bar. If it's not there, fail. If 
it is there, prepend -I/bar/include to CPPFLAGS and -L/bar/lib (and 
-R/bar/lib if appropriate) to LDFLAGS, and -lfoo to LIBS.
If --with-foo was specified (or is on by default), try with the current 
CPPFLAGS and LDFLAGS. If it works, add -lfoo to LIBS. If it doesn't work, 
look in /usr/local. If it works, append -I/usr/local/include to CPPFLAGS, 
and -L/usr/local/lib (and -R/usr/local/lib if appropriate) to LDFLAGS and 
-lfoo to LIBS. If you haven't found it yet, fail.

-- 
Carson Gaspar - carson at taltos.org
Queen Trapped in a Butch Body




More information about the openssh-unix-dev mailing list