summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-11-16 10:15:26 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:45:30 +0100
commit17f5426395bab287802f9d9d234f049313a3fa07 (patch)
tree4a4490583386389cdd8870c8701bae0622b1a65a /source4
parent0aa43592cbcdd3caeaca97e18c1057b0b69cefaf (diff)
downloadsamba-17f5426395bab287802f9d9d234f049313a3fa07.tar.gz
samba-17f5426395bab287802f9d9d234f049313a3fa07.tar.bz2
samba-17f5426395bab287802f9d9d234f049313a3fa07.zip
r25989: build: use AC_LIBREPLACE_SHLD
metze (This used to be commit 54f0ad64a611695ca6d8bfd643f3846021bac637)
Diffstat (limited to 'source4')
-rw-r--r--source4/build/m4/check_ld.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/build/m4/check_ld.m4 b/source4/build/m4/check_ld.m4
index ffbda0466a..c53cf5465b 100644
--- a/source4/build/m4/check_ld.m4
+++ b/source4/build/m4/check_ld.m4
@@ -17,7 +17,6 @@ AC_SUBST(STLD_FLAGS)
AC_SUBST(BLDSHARED)
AC_SUBST(LD)
AC_SUBST(LDFLAGS)
-AC_SUBST(SHLD)
# Assume non-shared by default and override below
# these are the defaults, good for lots of systems
@@ -25,7 +24,6 @@ STLD=${PROG_AR}
STLD_FLAGS="-rcs"
BLDSHARED="false"
LD="${CC}"
-SHLD="${CC}"
PICFLAG=""
# allow for --with-hostld=gcc
@@ -68,7 +66,6 @@ case "$host_os" in
;;
*irix*)
BLDSHARED="true"
- SHLD="${PROG_LD}"
;;
*aix*)
BLDSHARED="true"
@@ -112,6 +109,7 @@ AC_LD_PICFLAG
AC_LD_EXPORT_DYNAMIC
AC_LD_SHLIBEXT
AC_LD_SONAMEFLAG
+AC_LIBREPLACE_SHLD
AC_LIBREPLACE_SHLD_FLAGS
AC_LIBREPLACE_MDLD
AC_LIBREPLACE_MDLD_FLAGS