]>
git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pkgs/core/nss-util/nss-util-config.in
ef8751d0ec173bc18a0cdd02a41608f46cc7446d
5 major_version
=@MOD_MAJOR_VERSION@
6 minor_version
=@MOD_MINOR_VERSION@
7 patch_version
=@MOD_PATCH_VERSION@
12 Usage: nss-util-config [OPTIONS] [LIBRARIES]
27 if test $# -eq 0; then
33 while test $# -gt 0; do
35 -*=*) optarg
=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
65 echo ${major_version}.${minor_version}.${patch_version}
80 # Set variables that may be dependent upon other variables
81 if test -z "$exec_prefix"; then
82 exec_prefix
=`pkg-config --variable=exec_prefix nss-util`
84 if test -z "$includedir"; then
85 includedir
=`pkg-config --variable=includedir nss-util`
87 if test -z "$libdir"; then
88 libdir
=`pkg-config --variable=libdir nss-util`
91 if test "$echo_prefix" = "yes"; then
95 if test "$echo_exec_prefix" = "yes"; then
99 if test "$echo_includedir" = "yes"; then
103 if test "$echo_libdir" = "yes"; then
107 if test "$echo_cflags" = "yes"; then
111 if test "$echo_libs" = "yes"; then
112 libdirs
="-Wl,-rpath-link,$libdir -L$libdir"
113 if test -n "$lib_nssutil"; then
114 libdirs
="$libdirs -lnssutil${major_version}"