From 0aa43592cbcdd3caeaca97e18c1057b0b69cefaf Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 16 Nov 2007 10:14:48 +0100 Subject: r25988: libreplace: add AC_LIBREPLACE_SHLD metze (This used to be commit 2abae42d70903710d1a289d945fa08c1d94ceb80) --- source4/lib/replace/libreplace_ld.m4 | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'source4/lib/replace') 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" -- cgit