]> arthur.barton.de Git - netatalk.git/commitdiff
move libcrypto test into openssl found section
authorjnewman <jnewman>
Sat, 16 Sep 2000 20:16:49 +0000 (20:16 +0000)
committerjnewman <jnewman>
Sat, 16 Sep 2000 20:16:49 +0000 (20:16 +0000)
configure.in

index d69a9ee83ff4993b9561aaa9587ad5aebca072f6..e44532be00010a4e5f17cbf9277a5391ef805ed7 100644 (file)
@@ -39,8 +39,6 @@ dnl Replace `main' with a function in -lcom_err:
 AC_CHECK_LIB(com_err, main)
 dnl Replace `main' with a function in -lcrypt:
 AC_CHECK_LIB(crypt, main)
-dnl Replace `main' with a function in -lcrypto:
-AC_CHECK_LIB(crypto, main)
 dnl Replace `main' with a function in -ld:
 AC_CHECK_LIB(d, main)
 dnl Replace `main' with a function in -ldb:
@@ -381,6 +379,9 @@ for ssldir in "" $tryssldir /usr /usr/local/openssl /usr/lib/openssl/ /usr/local
                if test "$need_dash_r" = "yes"; then
                        LIBS="$LIBS -R$ssldir/lib -R$ssldir"
                fi
+               dnl Replace `main' with a function in -lcrypto:
+               AC_CHECK_LIB(crypto, main)
+
                LIBS="$LIBS -lcrypto"
                AC_DEFINE(OPENSSL_DHX,  1)
                AC_DEFINE(UAM_DHX,      1)