--- ./configure Wed Feb 26 01:07:16 2003 +++ ../tcpdump-3.7.2/./configure Fri Apr 25 10:29:14 2003 @@ -4334,9 +4334,11 @@ echo "configure:4335: checking for SSLeay" >&5 ac_cv_ssleay_path=no incdir=no -for dir in /usr /usr/local /usr/local/ssl /usr/pkg; do - if test -d $dir/lib -a -f $dir/lib/libcrypto.a; then +for dir in /usr ${ROOT}/usr/freeware /usr/local /usr/local/ssl /usr/pkg; do + if test -d $dir/${ABILIB:-lib} -a -f $dir/${ABILIB:-lib}/libcrypto.a; then ac_cv_ssleay_path=$dir + elif test -d $dir/${ABILIB:-lib} -a -f $dir/${ABILIB:-lib}/libcrypto.so; then + ac_cv_ssleay_path=$dir fi if test -d $dir/include/openssl -a -f $dir/include/openssl/des.h; then incdir="-I$dir/include" @@ -4351,7 +4353,7 @@ echo "$ac_t""$ac_cv_ssleay_path" 1>&6 if test "$ac_cv_ssleay_path" != no; then V_INCLS="$V_INCLS $incdir" - LDFLAGS="-L$dir/lib $LDFLAGS" + LDFLAGS="-L$dir/${ABILIB:-lib} $LDFLAGS" if test -f $ac_cv_ssleay_path/lib/libRSAglue.a; then LIBS="$LIBS -lRSAglue" fi @@ -4419,7 +4421,7 @@ cat > conftest.$ac_ext < +#include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:4426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } @@ -4459,7 +4461,7 @@ #line 4460 "configure" #include "confdefs.h" -#include +#include main() { unsigned char key[] = {0x01,0x23,0x45,0x67,0x12}; @@ -4514,7 +4516,7 @@ cat > conftest.$ac_ext < +#include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:4521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }