summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2017-08-01 22:04:26 +0200
committerJafar Al-Gharaibeh <jafar@atcorp.com>2017-08-02 17:01:17 +0200
commitf9e755241ad462e32ba0170b9110df7a107d5927 (patch)
treeeb18e0ead7ba706d61ffd44d04bfda956fbe3675 /configure.ac
parentMerge pull request #860 from opensourcerouting/non-recursive (diff)
downloadfrr-f9e755241ad462e32ba0170b9110df7a107d5927.tar.xz
frr-f9e755241ad462e32ba0170b9110df7a107d5927.zip
config: If we don't have crypt but we have ssl crypto, use it
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 8cc70f8a9..1f6ea14d4 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1377,7 +1377,8 @@ AC_SUBST(VTYSH)
AC_SUBST(CURSES)
AC_SUBST(OSPFCLIENT)
AC_SUBST(OSPFAPI)
-AC_CHECK_LIB(crypt, crypt)
+AC_CHECK_LIB(crypt, crypt, [],
+ [AC_CHECK_LIB(crypto, DES_crypt)])
AC_CHECK_LIB(resolv, res_init)
dnl ---------------------------