Add clang++ to AC_PROG_CXX

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

 



Hi.

I wonder if the attached patch is not in order now that Clang is well
established compiler.

-- 
VZ

diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4
index ad40527..c7a10c1 100644
--- a/lib/autoconf/c.m4
+++ b/lib/autoconf/c.m4
@@ -704,7 +704,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 clang++ aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC])],
 		   g++)
   fi
 fi

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux