[evolution-data-server] Add MANUAL_NSPR_LIBS, too, to LDFLAGS for duration of one test



commit 17acabb44cfed7e5bf30dd74379a7db8fbb308fc
Author: Tor Lillqvist <tml iki fi>
Date:   Tue Nov 10 20:57:29 2009 +0200

    Add MANUAL_NSPR_LIBS, too, to LDFLAGS for duration of one test

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 402caeb..c0d52e0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -636,9 +636,9 @@ dnl check if pkg-config files exist (which are only shipped by distributions, no
 			LIBS="$nsslibs $nsprlibs"
 			dnl Test to protect from giving libtool an -L , which results in failure (used below,too)
 			if test -n "${with_nss_libs}"; then
-				LDFLAGS="$LDFLAGS -L$with_nss_libs"
+				LDFLAGS="$LDFLAGS -L$with_nss_libs $MANUAL_NSPR_LIBS"
 			else
-				LDFLAGS="$LDFLAGS $LDFLAGS_NSPR"
+				LDFLAGS="$LDFLAGS $LDFLAGS_NSPR $MANUAL_NSPR_LIBS"
 			fi
 
 			AC_LINK_IFELSE([AC_LANG_CALL([],[NSS_Init])],



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]