update debian/changelog
[qemu] / configure
index 54c7146..76a211c 100755 (executable)
--- a/configure
+++ b/configure
@@ -1518,6 +1518,21 @@ if compile_prog "" "" ; then
   eventfd=yes
 fi
 
+# check if mq_open is supported
+mq_open=no
+cat > $TMPC << EOF
+#include <mqueue.h>
+
+int main(void)
+{
+    mqd_t mq = mq_open("", 0);
+    return 0;
+}
+EOF
+if compile_prog "" "" ; then
+  mq_open=yes
+fi
+
 # Check if tools are available to build documentation.
 if test "$docs" != "no" ; then
   if test -x "`which texi2html 2>/dev/null`" -a \
@@ -1863,6 +1878,9 @@ fi
 if test "$eventfd" = "yes" ; then
   echo "CONFIG_EVENTFD=y" >> $config_host_mak
 fi
+if test "$mq_open" = "yes" ; then
+  echo "CONFIG_MQ=y" >> $config_host_mak
+fi
 if test "$inotify" = "yes" ; then
   echo "CONFIG_INOTIFY=y" >> $config_host_mak
 fi