From f4025c4b5ddb84603d396edf5de66c24803a4b75 Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Sat, 9 Jan 2010 13:40:28 +0100 Subject: [PATCH] Limit signalfd.h header check to linux platforms --- configure.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index b1f9062b..c1824957 100644 --- a/configure.in +++ b/configure.in @@ -93,7 +93,11 @@ if test x$use_itunes = xtrue; then PKG_CHECK_MODULES(LIBPLIST, [ libplist >= 0.16 ]) fi -AC_CHECK_HEADER(sys/signalfd.h, , AC_MSG_ERROR([signalfd required; glibc 2.9+ recommended])) +case "$host" in + *linux*) + AC_CHECK_HEADER(sys/signalfd.h, , AC_MSG_ERROR([signalfd required; glibc 2.9+ recommended])) + ;; +esac AC_CHECK_SIZEOF(void *)