summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
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 <pthread.h>
-int main(void) { pthread_mutex_t lock; return 0; }
+#include <signal.h>
+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