[sr #110484] CFLAGS/CXXFLAGS and CPPFLAGS order in c.m4 ac_compile is nonstandard

Zack Weinberg <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
Update of sr#110484 (group autoconf):

                Severity:           4 - Important => 3 - Normal             
                  Status:                    None => Invalid                

    _______________________________________________________

Follow-up Comment #1:

Autoconf is consistent with GNU make's implicit rules:


make: *** No targets.  Stop.
COMPILE.c = $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
COMPILE.cc = $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c


Therefore I think it is actually Automake, and the expectations of
AX_CHECK_COMPILE_FLAG, that are incorrect here.

Please take this up with both the maintainers of Automake (see
https://www.gnu.org/software/automake/manual/html_node/Reporting-Bugs.html)
and the maintainers of GNU make (write to [email protected]).  If they both
agree that the order ought to be CPPFLAGS first, and GNU make's implicit rules
are changed, then I will change Autoconf to match.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110484>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.