]> git.pld-linux.org Git - packages/nss.git/blobdiff - nss-config.in
- updated to 3.53.1
[packages/nss.git] / nss-config.in
index c6a60c7fa5c067d7f0573430466f30a063412c32..e1196a81a18c1c46e5965ffe475134c136b5a00f 100644 (file)
@@ -2,6 +2,10 @@
 
 prefix=@prefix@
 
+major_version=@MOD_MAJOR_VERSION@
+minor_version=@MOD_MINOR_VERSION@
+patch_version=@MOD_PATCH_VERSION@
+
 usage()
 {
        cat <<EOF
@@ -29,6 +33,7 @@ fi
 lib_ssl=yes
 lib_smime=yes
 lib_nss=yes
+lib_nssutil=yes
 
 while test $# -gt 0; do
   case "$1" in
@@ -62,7 +67,7 @@ while test $# -gt 0; do
       echo_libdir=yes
       ;;
     --version)
-      echo @version@
+      echo ${major_version}.${minor_version}.${patch_version}
       ;;
     --cflags)
       echo_cflags=yes
@@ -79,6 +84,9 @@ while test $# -gt 0; do
     nss)
       lib_nss=yes
       ;;
+    nssutil)
+      lib_nssutil=yes
+      ;;
     *)
       usage 1 1>&2
       ;;
@@ -118,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
@@ -128,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.125441 seconds and 4 git commands to generate.