5 major_version
=@MOD_MAJOR_VERSION@
6 minor_version
=@MOD_MINOR_VERSION@
7 patch_version
=@MOD_PATCH_VERSION@
12 Usage: nss-config [OPTIONS] [LIBRARIES]
29 if test $# -eq 0; then
38 while test $# -gt 0; do
40 -*=*) optarg
=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
70 echo ${major_version}.${minor_version}.${patch_version}
97 # Set variables that may be dependent upon other variables
98 if test -z "$exec_prefix"; then
101 if test -z "$includedir"; then
102 includedir
=@includedir@
104 if test -z "$libdir"; then
105 libdir
=${exec_prefix}/lib
108 if test "$echo_prefix" = "yes"; then
112 if test "$echo_exec_prefix" = "yes"; then
116 if test "$echo_includedir" = "yes"; then
120 if test "$echo_libdir" = "yes"; then
124 if test "$echo_cflags" = "yes"; then
128 if test "$echo_libs" = "yes"; then
130 if test `uname` != Darwin
; then
131 libdirs
="-Wl,-rpath-link,$libdir $libdirs"
133 if test -n "$lib_ssl"; then
134 libdirs
="$libdirs -lssl${major_version}"
136 if test -n "$lib_smime"; then
137 libdirs
="$libdirs -lsmime${major_version}"
139 if test -n "$lib_nss"; then
140 libdirs
="$libdirs -lnss${major_version}"
142 if test -n "$lib_nssutil"; then
143 libdirs
="$libdirs -lnssutil${major_version}"