From 731f26bf51765f86f12cbac8e27f11fccc9a2096 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Sun, 16 Sep 2018 22:19:09 +0200 Subject: [PATCH] Make configure work with older clang versions Apparently clang-3.4 did not have -Wreserved-id-macro --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 89a914983..08c6963b8 100644 --- a/configure.ac +++ b/configure.ac @@ -213,8 +213,10 @@ cat <config.h.tmp #define CCACHE_CONFIG_H #ifdef __clang__ #pragma clang diagnostic push +#if __clang_major__ >= 4 #pragma clang diagnostic ignored "-Wreserved-id-macro" #endif +#endif EOF cat config.h >>config.h.tmp -- 2.47.2