2 +++ misc/build/nss-3.13.5/mozilla/security/nss/nss-config.in 2010-06-11 16:35:54.946870871 +0200
8 +major_version=@MOD_MAJOR_VERSION@
9 +minor_version=@MOD_MINOR_VERSION@
10 +patch_version=@MOD_PATCH_VERSION@
15 +Usage: nss-config [OPTIONS] [LIBRARIES]
18 + [--exec-prefix[=DIR]]
19 + [--includedir[=DIR]]
32 +if test $# -eq 0; then
41 +while test $# -gt 0; do
43 + -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
58 + echo_exec_prefix=yes
73 + echo ${major_version}.${minor_version}.${patch_version}
100 +# Set variables that may be dependent upon other variables
101 +if test -z "$exec_prefix"; then
102 + exec_prefix=${prefix}
104 +if test -z "$includedir"; then
105 + includedir=@includedir@
107 +if test -z "$libdir"; then
108 + libdir=${exec_prefix}/lib
111 +if test "$echo_prefix" = "yes"; then
115 +if test "$echo_exec_prefix" = "yes"; then
119 +if test "$echo_includedir" = "yes"; then
123 +if test "$echo_libdir" = "yes"; then
127 +if test "$echo_cflags" = "yes"; then
131 +if test "$echo_libs" = "yes"; then
132 + libdirs="-L$libdir"
133 + if test `uname` != Darwin; then
134 + libdirs="-Wl,-rpath-link,$libdir $libdirs"
136 + if test -n "$lib_ssl"; then
137 + libdirs="$libdirs -lssl${major_version}"
139 + if test -n "$lib_smime"; then
140 + libdirs="$libdirs -lsmime${major_version}"
142 + if test -n "$lib_nss"; then
143 + libdirs="$libdirs -lnss${major_version}"
145 + if test -n "$lib_nssutil"; then
146 + libdirs="$libdirs -lnssutil${major_version}"