automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AM_PROG_AS default to $CC directly


From: Kevin Ryde
Subject: AM_PROG_AS default to $CC directly
Date: Mon, 30 Sep 2002 09:32:20 +1000
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (i386-debian-linux-gnu)

I'd like to propose the following.  The test/set style follows
autoconf recommendations.

        * m4/as.m4 (AM_PROG_AS): Let CCAS and CCASFLAGS default to the actual
        values of $CC and $CFLAGS (as opposed to $(CC) and $(CFLAGS)), so
        configure tests can use them.  Add AC_ARG_VAR.

I guess anyone relying on "make CC=foo" to also change CCAS will be
disappointed, but if CCAS is to have an independent existence then
it's probably a good thing for it to not be changed by "make CC=foo".

Attachment: as.m4.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]