[patch #9943] Update ax_prog_cxx_for_build.m4

Max Horn <[email protected]> Wed, 17 Jun 2020 04:58:10 -0400 (EDT)
Newsgroups gmane.comp.sysutils.autoconf.archive-maintainers
Message-ID <[email protected]>
URL:
  <https://savannah.gnu.org/patch/?9943>

                 Summary: Update ax_prog_cxx_for_build.m4
                 Project: GNU Autoconf Archive
            Submitted by: fingolfin
            Submitted on: Wed 17 Jun 2020 10:58:09 AM CEST
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

... to match changes made to ax_prog_cc_for_build.m4 recently.

- save/restore GXX
- honor `./configure --build=BUILD`
- use AC_LANG_PUSH and AC_LANG_POP to save and restore global variables
  used for running tests like ac_compile and ac_link
- use pushdef/popdef to save and restore ac_tool_prefix, cross_compiling
  and am_cv_CXX_dependencies_compiler_type (not sure if we need the latter
  but this mimicks what AX_PROG_CC_FOR_BUILD does)




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 17 Jun 2020 10:58:09 AM CEST  Name:
0001-Update-ax_prog_cxx_for_build.m4.patch  Size: 3KiB   By: fingolfin

<http://savannah.gnu.org/patch/download.php?file_id=49296>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?9943>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/