]> git.pld-linux.org Git - packages/nss.git/blobdiff - nss-config.in
- updated to 3.11.5
[packages/nss.git] / nss-config.in
index b5799a3163528af2dbf180aa44ce31467faac5a5..9692ad5e1cd4523736ff2da6c06f74a6824adf41 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
@@ -62,7 +66,7 @@ while test $# -gt 0; do
       echo_libdir=yes
       ;;
     --version)
-      echo @VERSION@
+      echo ${major_version}.${minor_version}.${patch_version}
       ;;
     --cflags)
       echo_cflags=yes
@@ -88,13 +92,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
@@ -118,7 +122,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
This page took 0.477829 seconds and 4 git commands to generate.