summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-02-17 19:19:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:12 -0500
commit380d89d148548b4658f705e900d874094a123359 (patch)
treee6ceeffb118355da70e2f4f2877829b8898887fc /source
parentf79f4dc4c58a6172bf69d37469fdd8de05a812df (diff)
downloadsamba-380d89d148548b4658f705e900d874094a123359.tar.gz
samba-380d89d148548b4658f705e900d874094a123359.tar.xz
samba-380d89d148548b4658f705e900d874094a123359.zip
r13546: NSS soname merge from trunk
Diffstat (limited to 'source')
-rw-r--r--source/configure.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/configure.in b/source/configure.in
index 6ec2b3808f5..48563ed970b 100644
--- a/source/configure.in
+++ b/source/configure.in
@@ -206,7 +206,7 @@ dnl Unique-to-Samba variables we'll be playing with.
AC_SUBST(SHELL)
AC_SUBST(LDSHFLAGS)
AC_SUBST(SONAMEFLAG)
-AC_SUBST(SONAMEVERSIONSUFFIX)
+AC_SUBST(NSSSONAMEVERSIONSUFFIX)
AC_SUBST(SHLD)
AC_SUBST(HOST_OS)
AC_SUBST(PICFLAGS)
@@ -1422,7 +1422,7 @@ BLDSHARED="false"
HOST_OS="$host_os"
LDSHFLAGS="-shared"
SONAMEFLAG="#"
-SONAMEVERSIONSUFFIX=""
+NSSSONAMEVERSIONSUFFIX=""
SHLD="\${CC} \${CFLAGS}"
PICFLAGS=""
PICSUFFIX="po"
@@ -1447,7 +1447,7 @@ if test "$enable_shared" = "yes"; then
DYNEXP="-Wl,--export-dynamic"
PICFLAGS="-fPIC"
SONAMEFLAG="-Wl,-soname="
- SONAMEVERSIONSUFFIX=".2"
+ NSSSONAMEVERSIONSUFFIX=".2"
AC_DEFINE(STAT_ST_BLOCKSIZE,512)
;;
*solaris*) AC_DEFINE(SUNOS5,1,[Whether the host os is solaris])
@@ -1456,6 +1456,8 @@ if test "$enable_shared" = "yes"; then
SONAMEFLAG="-h "
if test "${GCC}" = "yes"; then
PICFLAGS="-fPIC"
+ SONAMEFLAG="-Wl,-soname="
+ NSSSONAMEVERSIONSUFFIX=".1"
if test "${ac_cv_prog_gnu_ld}" = "yes"; then
DYNEXP="-Wl,-E"
fi