NSS is in the pkg-config package 'microb-engine-nss' on maemo, not 'nss' or

Mon, 03 Dec 2007 14:40:46 +0000

author
Will Thompson <resiak@pidgin.im>
date
Mon, 03 Dec 2007 14:40:46 +0000
changeset 21832
0f9c51f91e66
parent 21831
2321f8634304
child 21833
9aeafe0524c9

NSS is in the pkg-config package 'microb-engine-nss' on maemo, not 'nss' or
'mozilla-nss'. (microb-engine-nss will only be tried if the other two names
are not found.)

configure.ac file | annotate | diff | comparison | revisions
--- a/configure.ac	Sat Dec 01 23:42:21 2007 +0000
+++ b/configure.ac	Mon Dec 03 14:40:46 2007 +0000
@@ -1659,16 +1659,24 @@
 			])
 			mozilla_nspr="mozilla-nspr"
 			mozilla_nss="mozilla-nss"
-		else
-			if `$PKG_CONFIG --exists nss`; then
-				PKG_CHECK_MODULES(NSS, nss, [
-					have_nss="yes"
-				], [
-					AC_MSG_RESULT(no)
-				])
-				mozilla_nspr="nspr"
-				mozilla_nss="nss"
-			fi
+		elif `$PKG_CONFIG --exists nss`; then
+			PKG_CHECK_MODULES(NSS, nss, [
+				have_nss="yes"
+			], [
+				AC_MSG_RESULT(no)
+				have_nss="no"
+			])
+			mozilla_nspr="nspr"
+			mozilla_nss="nss"
+		elif `$PKG_CONFIG --exists microb-engine-nss`; then
+			PKG_CHECK_MODULES(NSS, microb-engine-nss, [
+				have_nss="yes"
+			], [
+				AC_MSG_RESULT(no)
+				have_nss="no"
+			])
+			mozilla_nspr="mozilla-nspr"
+			mozilla_nss="microb-engine-nss"
 		fi
 
 		if test "x$have_nss" = "xyes"; then

mercurial