autoconf-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Autoconf source repository branch, master, updated. v2.69-158-


From: Paul Eggert
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.69-158-g739cdc8
Date: Tue, 15 Mar 2016 16:34:38 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=739cdc82b5325402231f3f5e1a38f681fcbd1db2

The branch, master has been updated
       via  739cdc82b5325402231f3f5e1a38f681fcbd1db2 (commit)
      from  12aec07e44e2a37f4081a7a40dba51574999613b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 739cdc82b5325402231f3f5e1a38f681fcbd1db2
Author: Paul Eggert <address@hidden>
Date:   Tue Mar 15 09:34:11 2016 -0700

    Also try clang
    
    Problem reported by Václav Zeman in:
    http://lists.gnu.org/archive/html/autoconf/2012-10/msg00000.html
    * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_OBJC): Also try clang.
    (AC_PROG_CXX): Also try clang++.
    These are at the end of the existing lists, to avoid compatibility
    issues in older installations.

-----------------------------------------------------------------------

Summary of changes:
 lib/autoconf/c.m4 |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4
index 933955f..9a9fbd3 100644
--- a/lib/autoconf/c.m4
+++ b/lib/autoconf/c.m4
@@ -457,6 +457,9 @@ fi
 if test -z "$CC"; then
   AC_CHECK_TOOLS(CC, cl.exe)
 fi
+if test -z "$CC"; then
+  AC_CHECK_TOOL(CC, clang)
+fi
 ])
 
 test -z "$CC" && AC_MSG_FAILURE([no acceptable C compiler found in \$PATH])
@@ -704,7 +707,7 @@ if test -z "$CXX"; then
   else
     AC_CHECK_TOOLS(CXX,
                   [m4_default([$1],
-                              [g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC 
xlC_r xlC])],
+                              [g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC 
xlC_r xlC clang++])],
                   g++)
   fi
 fi
@@ -883,7 +886,7 @@ _AC_ARG_VAR_LIBS()dnl
 _AC_ARG_VAR_CPPFLAGS()dnl
 _AC_ARG_VAR_PRECIOUS([OBJC])dnl
 AC_CHECK_TOOLS(OBJC,
-              [m4_default([$1], [gcc objcc objc cc CC])],
+              [m4_default([$1], [gcc objcc objc cc CC clang])],
               gcc)
 # Provide some information about the compiler.
 _AS_ECHO_LOG([checking for _AC_LANG compiler version])


hooks/post-receive
-- 
GNU Autoconf source repository



reply via email to

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