diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-11-16 10:14:48 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:45:30 +0100 |
commit | 0aa43592cbcdd3caeaca97e18c1057b0b69cefaf (patch) | |
tree | 85e986c6dc70b2d6edfd56c609aa409bd2288aee /source4/lib/replace/libreplace_ld.m4 | |
parent | 676bb230fcb310e56ef6cc9f15e257ffca4304ba (diff) | |
download | samba-0aa43592cbcdd3caeaca97e18c1057b0b69cefaf.tar.gz samba-0aa43592cbcdd3caeaca97e18c1057b0b69cefaf.tar.bz2 samba-0aa43592cbcdd3caeaca97e18c1057b0b69cefaf.zip |
r25988: libreplace: add AC_LIBREPLACE_SHLD
metze
(This used to be commit 2abae42d70903710d1a289d945fa08c1d94ceb80)
Diffstat (limited to 'source4/lib/replace/libreplace_ld.m4')
-rw-r--r-- | source4/lib/replace/libreplace_ld.m4 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source4/lib/replace/libreplace_ld.m4 b/source4/lib/replace/libreplace_ld.m4 index e78450bc1b..cef0089cd1 100644 --- a/source4/lib/replace/libreplace_ld.m4 +++ b/source4/lib/replace/libreplace_ld.m4 @@ -78,6 +78,19 @@ esac AC_SUBST(PICFLAG) ]) +AC_DEFUN([AC_LIBREPLACE_SHLD], +[ + SHLD="${CC}" + + case "$host_os" in + *irix*) + SHLD="${PROG_LD}" + ;; + esac + + AC_SUBST(SHLD) +]) + AC_DEFUN([AC_LIBREPLACE_SHLD_FLAGS], [ SHLD_FLAGS="-shared" |