Limit signalfd.h header check to linux platforms

This commit is contained in:
Julien BLACHE 2010-01-09 13:40:28 +01:00
parent 2f99797d9a
commit f4025c4b5d

View File

@ -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 *)