From e26eea97872f856d35463834d42b86e58b144f58 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 24 Apr 2006 09:34:22 +0000 Subject: r15190: Disable sonames for the BSDs and solaris as they don't take more then one version number (0 rather then 0.0.1) (This used to be commit cb0fbee3eaca67e430df3266c6ce07c0a9248a60) --- source4/build/m4/rewrite.m4 | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'source4') diff --git a/source4/build/m4/rewrite.m4 b/source4/build/m4/rewrite.m4 index 5bb02835bf..9771dabfa6 100644 --- a/source4/build/m4/rewrite.m4 +++ b/source4/build/m4/rewrite.m4 @@ -112,11 +112,10 @@ BLDMERGED="true" # these are the defaults, good for lots of systems HOST_OS="$host_os" LDSHFLAGS="-shared" -SONAMEFLAG="#" +SONAMEFLAG="" SHLD="\${CC}" PICFLAG="" PICSUFFIX="po" -POBAD_CC="#" SHLIBEXT="so" AC_MSG_CHECKING([ability to build shared libraries]) @@ -134,7 +133,6 @@ case "$host_os" in *solaris*) AC_DEFINE(SUNOS5,1,[Whether the host os is solaris]) BLDSHARED="true" LDSHFLAGS="-G" - SONAMEFLAG="-h " if test "${GCC}" = "yes"; then PICFLAG="-fPIC" if test "${ac_cv_prog_gnu_ld}" = "yes"; then @@ -145,7 +143,6 @@ case "$host_os" in ## ${CFLAGS} added for building 64-bit shared ## libs using Sun's Compiler LDSHFLAGS="-G \${CFLAGS}" - POBAD_CC="" PICSUFFIX="po.o" fi AC_DEFINE(STAT_ST_BLOCKSIZE,512,[The size of a block]) @@ -153,21 +150,18 @@ case "$host_os" in *sunos*) AC_DEFINE(SUNOS4,1,[Whether the host os is sunos4]) BLDSHARED="true" LDSHFLAGS="-G" - SONAMEFLAG="-Wl,-h," PICFLAG="-KPIC" # Is this correct for SunOS AC_DEFINE(STAT_ST_BLOCKSIZE,512) ;; *netbsd* | *freebsd*) BLDSHARED="true" LDSHFLAGS="-shared" DYNEXP="-Wl,--export-dynamic" - SONAMEFLAG="-Wl,-soname," PICFLAG="-fPIC -DPIC" AC_DEFINE(STAT_ST_BLOCKSIZE,512,[The size of a block]) ;; *openbsd*) BLDSHARED="true" LDSHFLAGS="-shared" DYNEXP="-Wl,-Bdynamic" - SONAMEFLAG="-Wl,-soname," PICFLAG="-fPIC" AC_DEFINE(STAT_ST_BLOCKSIZE,512,[The size of a block]) ;; -- cgit