From 25f1ea12693a5ae24c879e7d01d695e3dde5c623 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 16 Nov 2007 11:48:59 +0100 Subject: r25999: libreplace: add AC_LIBREPLACE_STLD and AC_LIBREPLACE_STLD_FLAGS metze (This used to be commit c7b0b4c21e1fc4093c9109e046f23c19489e7400) --- source4/lib/replace/libreplace_ld.m4 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/source4/lib/replace/libreplace_ld.m4 b/source4/lib/replace/libreplace_ld.m4 index 8bac16094e..46ddfb4ed6 100644 --- a/source4/lib/replace/libreplace_ld.m4 +++ b/source4/lib/replace/libreplace_ld.m4 @@ -3,6 +3,21 @@ # http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html # +AC_DEFUN([AC_LIBREPLACE_STLD], +[ + AC_PATH_PROG(PROG_AR, ar) + + STLD=${PROG_AR} + + AC_SUBST(STLD) +]) + +AC_DEFUN([AC_LIBREPLACE_STLD_FLAGS], +[ + STLD_FLAGS="-rcs" + AC_SUBST(STLD_FLAGS) +]) + AC_DEFUN([AC_LD_EXPORT_DYNAMIC], [ saved_LDFLAGS="$LDFLAGS" -- cgit