--- configure.orig Fri Jan 7 14:37:18 2005 +++ configure Sun Feb 13 14:34:25 2005 @@ -33,7 +33,7 @@ echo echo "Checking for openssl ..." -for i in $LIBDIRS /lib /usr/lib /usr/local/lib /opt/local/lib \ +for i in ${PREFIX}/lib $LIBDIRS /lib /usr/lib /usr/local/lib /opt/local/lib \ /*ssl /usr/*ssl /opt/*ssl /usr/local/*ssl /opt/local/*ssl \ /*ssl/lib /usr/*ssl/lib /opt/*ssl/lib /usr/local/*ssl/lib /opt/local/*ssl/lib . do @@ -61,7 +61,7 @@ fi done -for i in /usr/local/include /*ssl/include /usr/include \ +for i in ${PREFIX}/include /usr/local/include /*ssl/include /usr/include \ /opt/*ssl/include /usr/*ssl/include /usr/local/*ssl/include . do if [ "X" = "X$SSL_IPATH" ]; then @@ -127,7 +127,7 @@ XLIBPATHS="" XIPATHS="" -SYS=`uname -o` +SYS=`uname -o 2>/dev/null` if [ "$SYS" = "Cygwin" ]; then echo "Cygwin detected, enabling compability options ..." XDEFINES="-DCYGWIN" @@ -159,7 +159,7 @@ XLIBS="$XLIBS -lresolv" fi -for i in /usr/man /usr/share/man /usr/local/man /usr/local/share/man ; do +for i in ${PREFIX}/man /usr/man /usr/share/man /usr/local/man /usr/local/share/man ; do if [ -d $i ]; then MANDIR=$i fi