configure: merge AC_CHECK_HEADERS calls
authorMax Horn <max@quendi.de>
Wed, 12 Dec 2012 20:33:54 +0000 (21:33 +0100)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Wed, 12 Dec 2012 21:12:43 +0000 (08:12 +1100)
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@quendi.de>
configure.ac

index abc1640..022cba8 100644 (file)
@@ -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