automake-commit
[Top][All Lists]
Advanced

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

[automake-commit] branch master updated: configure: skip kcc on case-ins


From: Karl Berry
Subject: [automake-commit] branch master updated: configure: skip kcc on case-insensitive filesystems; add clang++.
Date: Sun, 12 Dec 2021 21:08:13 -0500

This is an automated email from the git hooks/post-receive script.

karl pushed a commit to branch master
in repository automake.

View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=5112a1fe820379585f648e238a3c6c94ff3a787d

The following commit(s) were added to refs/heads/master by this push:
     new 5112a1f  configure: skip kcc on case-insensitive filesystems; add 
clang++.
5112a1f is described below

commit 5112a1fe820379585f648e238a3c6c94ff3a787d
Author: Mike Frysinger <vapier@gentoo.org>
AuthorDate: Sun Dec 12 18:08:06 2021 -0800

    configure: skip kcc on case-insensitive filesystems; add clang++.
    
    This change fixes https://bugs.gnu.org/21336.
    
    * configure.ac: Skip KCC check on case-insensitive filesystems; on
    macOS 10.10 and later, a kerberos tool named "kcc" is installed.
    Add clang++ to the C++ search list, as with current autoconf.
---
 configure.ac | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 5a00bd2..6be3ba7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -444,11 +444,13 @@ AS_IF([test x"$GCC" = x"yes"], [am_CC_is_GNU=yes], 
[am_CC_is_GNU=no])
 # to a C++ compiler as expected (see automake bugs #11893 and #10766).
 # Similarly, we must avoid looking for 'RCC', as that can point to the
 # Qt4 "Resource Compiler": <http://doc.qt.digia.com/4.2/rcc.html>
+# And we avoid looking for 'KCC' as that can be a kerberos tool under
+# macOS systems.
 if test -f /bIn/rMdIr || test -f /uSr/bIn/rMdIr; then
   # Case-insensitive file system, don't look for CC.
-  am_CC= am_RCC=
+  am_CC= am_RCC= am_KCC=
 else
-  am_CC=CC am_RCC=RCC
+  am_CC=CC am_RCC=RCC am_KCC=KCC
 fi
 
 # The list of C++ compilers here has been copied, pasted and edited
@@ -456,7 +458,7 @@ fi
 # Keep it in sync, or better again, find out a way to avoid this code
 # duplication.
 _AM_COMPILER_CAN_FAIL([AC_PROG_CXX(dnl
-  [aCC $am_CC FCC KCC $am_RCC xlC_r xlC c++ cxx cc++ gpp g++])],
+  [aCC $am_CC FCC $am_KCC $am_RCC xlC_r xlC c++ cxx cc++ gpp g++ clang++])],
   [CXX=false; _AM_SKIP_COMP_TESTS([C++])])
 
 AS_IF([test x"$GXX" = x"yes"], [am_CXX_is_GNU=yes], [am_CXX_is_GNU=no])



reply via email to

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