--- ntp-4.2.0/configure.in.lib64 2004-09-30 08:49:08.535401000 -0400 +++ ntp-4.2.0/configure.in 2004-09-30 09:07:57.730184839 -0400 @@ -2583,7 +2583,7 @@ AC_ARG_WITH(openssl-libdir, case "$ans" in no) ;; yes) # Look in: - ans="/usr/lib /usr/lib/openssl /usr/local/lib /usr/local/ssl/lib" + ans="/usr/lib64 /usr/lib /usr/lib/openssl /usr/local/lib64 /usr/local/lib /usr/local/ssl/lib" ;; *) # Look where they said ;; @@ -2597,6 +2597,11 @@ case "$ans" in *-*-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.a -a -f $i/libssl.a && break ;;