update debian/changelog
[qemu] / configure
index 248cc0b..76a211c 100755 (executable)
--- a/configure
+++ b/configure
@@ -1329,6 +1329,8 @@ for pthread_lib in $PTHREADLIBS_LIST; do
   fi
 done
 
+
+
 if test "$mingw32" != yes -a "$pthread" = no; then
   echo
   echo "Error: pthread check failed"
@@ -1516,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 \
@@ -1783,6 +1800,8 @@ fi
 if test "$static" = "yes" ; then
   echo "CONFIG_STATIC=y" >> $config_host_mak
   LDFLAGS="-static $LDFLAGS"
+#scratchbox HACK - we need -lsb after -lpthread
+  LIBS="-L/scratchbox/tools/lib -lsb $LIBS"
 fi
 if test $profiler = "yes" ; then
   echo "CONFIG_PROFILER=y" >> $config_host_mak
@@ -1859,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
@@ -1927,7 +1949,7 @@ if test `expr "$target_list" : ".*softmmu.*"` != 0 ; then
   if [ "$linux" = "yes" ] ; then
       tools="qemu-nbd\$(EXESUF) qemu-io\$(EXESUF) $tools"
     if [ "$check_utests" = "yes" ]; then
-      tools="check-qint $tools"
+      tools="check-qint check-qstring check-qdict $tools"
     fi
   fi
 fi