prefix=@prefix@
+major_version=@MOD_MAJOR_VERSION@
+minor_version=@MOD_MINOR_VERSION@
+patch_version=@MOD_PATCH_VERSION@
+
usage()
{
cat <<EOF
echo_libdir=yes
;;
--version)
- echo @VERSION@
+ echo ${major_version}.${minor_version}.${patch_version}
;;
--cflags)
echo_cflags=yes
# 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
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