chiark / gitweb /
speaker beforepoll() now gets to modify the timeout. This allows
[disorder] / configure.ac
index 0f9258ccd6a02c94885bea4699ce839989128322..482505dcec9988bf7de1725d58a48a5cde1fb339 100644 (file)
@@ -44,24 +44,27 @@ fi
 AC_MSG_CHECKING([for a known target platform])
 case "$host" in
 *empeg* )
+  AC_MSG_RESULT([empeg car stereo])
   AC_DEFINE([EMPEG_HOST],[1],[define if host is an empeg car stereo])
   # work around broken toolchain
   AC_CHECK_LIB([gpg-error], [gpg_strerror])
+  AC_CHECK_LIB([pthread], [pthread_create])
+  # lib/queue.c really wants to be split into server and non-server bits
+  AC_CHECK_LIB([dl], [dlopen])
   want_server=no
-  AC_MSG_RESULT([empeg car stereo])
  ;;
 *linux* | *Linux* )
-  want_server=yes
   AC_MSG_RESULT([Linux])
+  want_server=yes
   ;;
 *-apple-darwin* )
+  AC_MSG_RESULT([Mac OS X])
   want_server=no
   COREAUDIO="-framework CoreAudio"
-  AC_MSG_RESULT([Mac OS X])
   ;;
 * )
-  want_server=no
   AC_MSG_RESULT([unknown, winging it])
+  want_server=no
   ;;
 esac
 AC_SUBST([COREAUDIO])