From 1e643a62378e01e34f6eb46400dc8260e96927d4 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 16 Aug 2020 18:54:44 +0200 Subject: [PATCH] absolute-header: Add support for clang. * modules/absolute-header (Makefile.am): Include '__clang__' in the HAVE_INCLUDE_NEXT expression. --- ChangeLog | 6 ++++++ modules/absolute-header | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8ea16c832f..c5f7fc5421 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2020-08-16 Bruno Haible + + absolute-header: Add support for clang. + * modules/absolute-header (Makefile.am): Include '__clang__' in the + HAVE_INCLUDE_NEXT expression. + 2020-08-16 Bruno Haible Fix "warning: implicitly declaring library function 'strcasecmp'". diff --git a/modules/absolute-header b/modules/absolute-header index 491d3d27df..1866348132 100644 --- a/modules/absolute-header +++ b/modules/absolute-header @@ -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: -- 2.39.5