splice=yes
fi
+ # check if eventfd is supported
+ eventfd=no
+ cat > $TMPC << EOF
+ #include <sys/eventfd.h>
+
+ int main(void)
+ {
+ int efd = eventfd(0, 0);
+ return 0;
+ }
+ EOF
+ if compile_prog "" "" ; then
+ eventfd=yes
+ fi
+
# Check if tools are available to build documentation.
-if test "$build_docs" = "yes" -a \( ! -x "`which texi2html 2>/dev/null`" -o ! -x "`which pod2man 2>/dev/null`" \) ; then
- build_docs="no"
+if test "$docs" != "no" ; then
+ if test -x "`which texi2html 2>/dev/null`" -a \
+ -x "`which pod2man 2>/dev/null`" ; then
+ docs=yes
+ else
+ if test "$docs" = "yes" ; then
+ feature_not_found "docs"
+ fi
+ docs=no
+ fi
fi
# Search for bsawp_32 function