]> git.pld-linux.org Git - packages/nss.git/blobdiff - nss-config.in
up to 3.29.3
[packages/nss.git] / nss-config.in
index 51fb056725ac12c0217bfd478841a5080c170702..e1196a81a18c1c46e5965ffe475134c136b5a00f 100644 (file)
@@ -33,6 +33,7 @@ fi
 lib_ssl=yes
 lib_smime=yes
 lib_nss=yes
+lib_nssutil=yes
 
 while test $# -gt 0; do
   case "$1" in
@@ -83,6 +84,9 @@ while test $# -gt 0; do
     nss)
       lib_nss=yes
       ;;
+    nssutil)
+      lib_nssutil=yes
+      ;;
     *)
       usage 1 1>&2
       ;;
@@ -92,13 +96,13 @@ done
 
 # Set variables that may be dependent upon other variables
 if test -z "$exec_prefix"; then
-    exec_prefix=`pkg-config --variable=exec_prefix nss`
+    exec_prefix=@exec_prefix@
 fi
 if test -z "$includedir"; then
-    includedir=`pkg-config --variable=includedir nss`
+    includedir=@includedir@
 fi
 if test -z "$libdir"; then
-    libdir=`pkg-config --variable=libdir nss`
+    libdir=@libdir@
 fi
 
 if test "$echo_prefix" = "yes"; then
@@ -122,7 +126,6 @@ if test "$echo_cflags" = "yes"; then
 fi
 
 if test "$echo_libs" = "yes"; then
-      libdirs="-Wl,-rpath-link,$libdir -L$libdir"
       if test -n "$lib_ssl"; then
        libdirs="$libdirs -lssl${major_version}"
       fi
@@ -132,6 +135,9 @@ if test "$echo_libs" = "yes"; then
       if test -n "$lib_nss"; then
        libdirs="$libdirs -lnss${major_version}"
       fi
+      if test -n "$lib_nssutil"; then
+       libdirs="$libdirs -lnssutil${major_version}"
+      fi
       echo $libdirs
 fi      
 
This page took 0.026712 seconds and 4 git commands to generate.