aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-06-19 01:00:12 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-06-19 01:00:12 +0800
commitb2adefb1d3a57a697163a8662b96061f1fdd55cb (patch)
treea2286506b85be87a080beceeee271bb26bcf99b6 /configure.in
parent150129e1036b501edf06c7d6ef25a05917156119 (diff)
downloadgsoc2013-evolution-b2adefb1d3a57a697163a8662b96061f1fdd55cb.tar.gz
gsoc2013-evolution-b2adefb1d3a57a697163a8662b96061f1fdd55cb.tar.zst
gsoc2013-evolution-b2adefb1d3a57a697163a8662b96061f1fdd55cb.zip
check for libsoftokn3 if we couldn't link the first time
2002-06-18 JP Rosevear <jpr@ximian.com> * configure.in: check for libsoftokn3 if we couldn't link the first time svn path=/trunk/; revision=17220
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 461c019b5e..fe35450375 100644
--- a/configure.in
+++ b/configure.in
@@ -938,6 +938,11 @@ if test "x${enable_nss}" = "xyes"; then
[
LDFLAGS="$LDFLAGS -L$with_nspr_libs $nsprlibs -L$with_nss_libs $nsslibs"
AC_TRY_LINK_FUNC(NSS_Init, moz_nss_libs="yes", moz_nss_libs="no")
+ if test "$moz_nss_libs" = no; then
+ nsslibs="-lssl3 -lsmime3 -lnss3 -lsoftokn3"
+ LDFLAGS="$LDFLAGS -L$with_nspr_libs $nsprlibs -L$with_nss_libs $nsslibs"
+ AC_TRY_LINK_FUNC(NSS_Init, moz_nss_libs="yes", moz_nss_libs="no")
+ fi
LDFLAGS="$LDFLAGS_save"
])
if test "$moz_nss_libs" != no; then