From aa8099e50f24543dfc7f97fd3af60a6a5650e4d8 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Mon, 30 Oct 2006 21:09:13 +0000 Subject: [PATCH] Don't explicitly link in crypt as it is not used on some platforms. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46506 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index e5ab641629..e2ea44edbf 100755 --- a/configure +++ b/configure @@ -23140,7 +23140,7 @@ fi if test "${ac_cv_lib_pq_PQexec}" = "yes"; then - PGSQL_LIB="-L${PGSQL_libdir} -lpq -lz -lcrypt" + PGSQL_LIB="-L${PGSQL_libdir} -lpq -lz" PGSQL_INCLUDE="-I${PGSQL_includedir}" PBX_PGSQL=1 elif test ! -z "${PGSQL_MANDATORY}"; diff --git a/configure.ac b/configure.ac index 868f9e7f66..aa06832334 100644 --- a/configure.ac +++ b/configure.ac @@ -665,7 +665,7 @@ if test "${PG_CONFIG}" != No; then [Define to indicate the PostgreSQL library]), [], -L${PGSQL_libdir} -lz) if test "${ac_cv_lib_pq_PQexec}" = "yes"; then - PGSQL_LIB="-L${PGSQL_libdir} -lpq -lz -lcrypt" + PGSQL_LIB="-L${PGSQL_libdir} -lpq -lz" PGSQL_INCLUDE="-I${PGSQL_includedir}" PBX_PGSQL=1 elif test ! -z "${PGSQL_MANDATORY}";