[flac-dev] [PATCH 4/5] configure: merge AC_CHECK_HEADERS calls

Max Horn max at quendi.de
Wed Dec 12 12:33:54 PST 2012


Also removed some pointless AC_SUBST invocation, which would only be
necessary if the Makefiles were using the results of the header
detection, which they are not.

Signed-off-by: Max Horn <max at quendi.de>
---
 configure.ac | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/configure.ac b/configure.ac
index abc1640..022cba8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,14 +59,7 @@ AC_C_INLINE
 AC_C_VARARRAYS
 AC_C_TYPEOF
 
-AC_CHECK_HEADERS(stdint.h)
-AC_SUBST(HAVE_STDINT_H)
-AC_CHECK_HEADERS(inttypes.h)
-AC_SUBST(HAVE_INTTYPES_H)
-AC_CHECK_HEADERS(byteswap.h)
-AC_SUBST(HAVE_BYTESWAP_H)
-
-AC_CHECK_HEADERS([sys/param.h])
+AC_CHECK_HEADERS([stdint.h inttypes.h byteswap.h sys/param.h])
 
 XIPH_C_BSWAP32
 
-- 
1.8.0.1.525.gaaf5ad5



More information about the flac-dev mailing list