summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorblueswir12009-01-17 07:49:15 +0100
committerblueswir12009-01-17 07:49:15 +0100
commitc9db92fcc1c512b9e0e9928c0f2ac7a74b9cf384 (patch)
treee2246e27cdc0e2d09474a89b68517e9379ecf7c0 /configure
parentAvoid calling qemu_mallocz with zero size (diff)
downloadqemu-c9db92fcc1c512b9e0e9928c0f2ac7a74b9cf384.tar.gz
qemu-c9db92fcc1c512b9e0e9928c0f2ac7a74b9cf384.tar.xz
qemu-c9db92fcc1c512b9e0e9928c0f2ac7a74b9cf384.zip
Use kill instead of sigqueue: re-enables AIO on OpenBSD
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6360 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure b/configure
index 57e2d57e00..6a1432a171 100755
--- a/configure
+++ b/configure
@@ -1005,9 +1005,7 @@ if test "$aio" = "yes" ; then
aio=no
cat > $TMPC << EOF
#include <pthread.h>
-#include <signal.h>
-int main(void) { struct sigevent s; pthread_mutex_t lock;
- return sigqueue(0, 0, s.sigev_value); }
+int main(void) { pthread_mutex_t lock; return 0; }
EOF
if $cc $ARCH_CFLAGS -o $TMPE $AIOLIBS $TMPC 2> /dev/null ; then
aio=yes