diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-11-16 11:50:11 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:45:34 +0100 |
commit | a5b8d7884187dc275fc6117a204953a0c11573a1 (patch) | |
tree | 29b6165d0f05e933585b40c760bee7cc04cf5394 /source4/build/m4 | |
parent | 25f1ea12693a5ae24c879e7d01d695e3dde5c623 (diff) | |
download | samba-a5b8d7884187dc275fc6117a204953a0c11573a1.tar.gz samba-a5b8d7884187dc275fc6117a204953a0c11573a1.tar.bz2 samba-a5b8d7884187dc275fc6117a204953a0c11573a1.zip |
r26000: build: use AC_LIBREPLACE_STLD_* macros
metze
(This used to be commit 03a55961481e724acfc4e098cbe8f997986b61e2)
Diffstat (limited to 'source4/build/m4')
-rw-r--r-- | source4/build/m4/check_ld.m4 | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source4/build/m4/check_ld.m4 b/source4/build/m4/check_ld.m4 index ddda7e193b..88d3e49e0c 100644 --- a/source4/build/m4/check_ld.m4 +++ b/source4/build/m4/check_ld.m4 @@ -10,18 +10,13 @@ AC_PATH_PROG(PROG_LD,ld) LD=${PROG_LD} AC_PROG_LD_GNU LD="" -AC_PATH_PROG(PROG_AR, ar) -AC_SUBST(STLD) -AC_SUBST(STLD_FLAGS) AC_SUBST(BLDSHARED) AC_SUBST(LD) AC_SUBST(LDFLAGS) # Assume non-shared by default and override below # these are the defaults, good for lots of systems -STLD=${PROG_AR} -STLD_FLAGS="-rcs" BLDSHARED="false" LD="${CC}" PICFLAG="" @@ -94,6 +89,9 @@ AC_MSG_RESULT([$LDFLAGS]) AC_SUBST(HOSTLD) +AC_LIBREPLACE_STLD +AC_LIBREPLACE_STLD_FLAGS + AC_MSG_CHECKING([STLD]) AC_MSG_RESULT([$STLD]) AC_MSG_CHECKING([STLD_FLAGS]) |