diff --git a/configure b/configure index f4b67ea3b2..57e2d57e00 100755 --- a/configure +++ b/configure @@ -1005,7 +1005,9 @@ if test "$aio" = "yes" ; then aio=no cat > $TMPC << EOF #include -int main(void) { pthread_mutex_t lock; return 0; } +#include +int main(void) { struct sigevent s; pthread_mutex_t lock; + return sigqueue(0, 0, s.sigev_value); } EOF if $cc $ARCH_CFLAGS -o $TMPE $AIOLIBS $TMPC 2> /dev/null ; then aio=yes