From 95e6ebe3d3920ff73bf4fe75c8c6009aa0dae6df Mon Sep 17 00:00:00 2001 From: Stephen Torri Date: Sun, 20 Jul 2003 20:48:40 +0000 Subject: Changed assembly building code to take advantage of libtool. This command now works for libtool-1.4.x and libtool-1.5. Changed the commands for building the assembly files in libw32dll to match that suggested by Chris Rankin . CVS patchset: 5203 CVS date: 2003/07/20 20:48:40 --- m4/as.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'm4') diff --git a/m4/as.m4 b/m4/as.m4 index fa12f18f8..96a44e239 100644 --- a/m4/as.m4 +++ b/m4/as.m4 @@ -12,9 +12,9 @@ AC_REQUIRE([AC_PROG_CC]) : ${CCASFLAGS='$(CFLAGS)'} # Set ASCOMPILE if not already set. if test $CCAS = '$'CC; then -: ${CCASCOMPILE='$(CCAS) $(AM_ASFLAGS) $(CCASFLAGS) -c'} +: ${CCASCOMPILE='$(LIBTOOL) --mode=compile $(CCAS) $(AM_ASFLAGS) $(CCASFLAGS) -c'} else -: ${CCASCOMPILE='$(CCAS) $(AM_ASFLAGS) $(CCASFLAGS)'} +: ${CCASCOMPILE='$(LIBTOOL) --mode=compile $(CCAS) $(AM_ASFLAGS) $(CCASFLAGS)'} fi AC_SUBST(CCAS) AC_SUBST(CCASFLAGS) -- cgit v1.2.3