From 270f7be54f608b469ad1bcd927fc19a6d8f7ccad Mon Sep 17 00:00:00 2001 From: Alexander Traud Date: Wed, 25 Nov 2015 17:42:31 +0100 Subject: Build System: Support include-what-you-use. ASTERISK-25591 #close Change-Id: I8d3efa0826142ece9cbed2fd0d46f3b607fee6ae --- configure.ac | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 7f69430b7..021d0d167 100644 --- a/configure.ac +++ b/configure.ac @@ -218,17 +218,13 @@ if test ! x"${UNAME}" = xNo; then fi AC_SUBST(PBX_OSREV) -AH_TOP( -#ifndef ASTERISK_AUTOCONFIG_H +AH_TOP([#ifndef ASTERISK_AUTOCONFIG_H #define ASTERISK_AUTOCONFIG_H +/* IWYU pragma: private, include "asterisk.h" */ -#include "asterisk/buildopts.h" +#include "asterisk/buildopts.h" /* IWYU pragma: export */]) -) - -AH_BOTTOM( -#endif -) +AH_BOTTOM([#endif /* ASTERISK_AUTOCONFIG_H */]) # cross-compile checks if test "${cross_compiling}" = "yes"; -- cgit v1.2.3