[Spice-devel] [PATCH spice-server] build: Optimise headers check
Frediano Ziglio
fziglio at redhat.com
Mon Dec 12 11:19:58 UTC 2016
Check multiple headers using a single m4 macro.
The resulting script is reduced.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
configure.ac | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index c978b92..a78b4ec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,9 +49,7 @@ AM_PROG_CC_C_O
AC_C_BIGENDIAN
PKG_PROG_PKG_CONFIG
-AC_CHECK_HEADERS([sys/time.h])
-AC_CHECK_HEADERS([execinfo.h])
-AC_CHECK_HEADERS([linux/sockios.h])
+AC_CHECK_HEADERS([sys/time.h execinfo.h linux/sockios.h])
AC_FUNC_ALLOCA
SPICE_LT_VERSION=m4_format("%d:%d:%d", SPICE_CURRENT, SPICE_REVISION, SPICE_AGE)
--
2.9.3
More information about the Spice-devel
mailing list