From f4e11e9ddbecd5ec0a50246c891a3c696be526a9 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 17 Feb 2006 19:19:25 +0000 Subject: r13546: NSS soname merge from trunk (This used to be commit 380d89d148548b4658f705e900d874094a123359) --- source3/configure.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'source3') diff --git a/source3/configure.in b/source3/configure.in index 6ec2b3808f..48563ed970 100644 --- a/source3/configure.in +++ b/source3/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 -- cgit