Merged revisions 46506 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Mon, 30 Oct 2006 21:11:37 +0000 (21:11 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 30 Oct 2006 21:11:37 +0000 (21:11 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46506 | file | 2006-10-30 16:09:13 -0500 (Mon, 30 Oct 2006) | 2 lines

Don't explicitly link in crypt as it is not used on some platforms.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46507 65c4cc65-6c06-0410-ace0-fbb531ad65f3

configure
configure.ac

index b13b488..97453b3 100755 (executable)
--- a/configure
+++ b/configure
@@ -24336,7 +24336,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
    fi
index 0cc4ac5..17f0959 100644 (file)
@@ -632,7 +632,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
    fi