--- ntp-4.2.4/configure.ac.orig 2007-01-07 08:51:16.000000000 +0100 +++ ntp-4.2.4/configure.ac 2007-01-07 08:57:02.000000000 +0100 @@ -3023,7 +3023,7 @@ case "$ans" in no) ;; yes) # Look in: - ans="/usr/lib /usr/lib/openssl /usr/sfw/lib /usr/local/lib /usr/local/ssl/lib" + ans="/usr/lib64 /usr/lib /usr/lib/openssl /usr/sfw/lib /usr/local/lib /usr/local/ssl/lib" ;; *) # Look where they said ;; @@ -3037,6 +3037,11 @@ *-*-darwin*) test -f $i/libcrypto.dylib -a -f $i/libssl.dylib && break ;; + *-*-linux*) + saved_LIBS="$LIBS" + LIBS="$LIBS $i/libcrypto.a $i/libssl.a" + AC_TRY_LINK([], [], [LIBS="$saved_LIBS"; break], [LIBS="$saved_LIBS"]) + ;; *) test -f $i/libcrypto.so -a -f $i/libssl.so && break test -f $i/libcrypto.a -a -f $i/libssl.a && break