]> Savannah Git Hosting - gnulib.git/commitdiff
absolute-header: Add support for clang.
authorBruno Haible <bruno@clisp.org>
Sun, 16 Aug 2020 16:54:44 +0000 (18:54 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 16 Aug 2020 16:55:05 +0000 (18:55 +0200)
* modules/absolute-header (Makefile.am): Include '__clang__' in the
HAVE_INCLUDE_NEXT expression.

ChangeLog
modules/absolute-header

index 8ea16c832fe31dd05cd5b9cab4dd0396342e5a5d..c5f7fc5421a1820f2d3788c632a0cb543428f9ec 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2020-08-16  Bruno Haible  <bruno@clisp.org>
+
+       absolute-header: Add support for clang.
+       * modules/absolute-header (Makefile.am): Include '__clang__' in the
+       HAVE_INCLUDE_NEXT expression.
+
 2020-08-16  Bruno Haible  <bruno@clisp.org>
 
        Fix "warning: implicitly declaring library function 'strcasecmp'".
index 491d3d27dfe47098194be393a7a1ad02cf57c011..18663481321cc0915c9992a8616d1438dbfdd8ca 100644 (file)
@@ -12,7 +12,7 @@ Makefile.am:
 # Use this preprocessor expression to decide whether #include_next works.
 # Do not rely on a 'configure'-time test for this, since the expression
 # might appear in an installed header, which is used by some other compiler.
-HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
+HAVE_INCLUDE_NEXT = (__GNUC__ || __clang__ || 60000000 <= __DECC_VER)
 
 Include: