* Corrected the joystick.h detection stuff in configure.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@104
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
fi
GTK_JOYSTICK=""
-if test "$ac_cv_header_linux_joystick_h" != ""; then
+if test "$ac_cv_header_linux_joystick_h" = "yes"; then
GTK_JOYSTICK="gtk/joystick.cpp"
fi
dnl As it needs Linux 2.1.x for the moment: check whether the file exists (GL).
AC_CHECK_HEADER(linux/joystick.h)
GTK_JOYSTICK=""
-if test "$ac_cv_header_linux_joystick_h" != ""; then
+if test "$ac_cv_header_linux_joystick_h" = "yes"; then
GTK_JOYSTICK="gtk/joystick.cpp"
fi
AC_SUBST(GTK_JOYSTICK)
#endif
#include "wx/wx.h"
+#include "wx/thread.h"
wxMutex::wxMutex()
{
// Static variables
/////////////////////////////////////////////////////////////////////////////
-#include "thread.h"
+#include "wx/thread.h"
static pthread_t p_mainid;
wxMutex wxMainMutex; // controls access to all GUI functions
// Static variables
/////////////////////////////////////////////////////////////////////////////
+#include "wx/thread.h"
+
static int p_mainid;
wxMutex wxMainMutex;
#endif
#include "wx/wx.h"
+#include "wx/thread.h"
wxMutex::wxMutex()
{
// Static variables
/////////////////////////////////////////////////////////////////////////////
-#include "thread.h"
+#include "wx/thread.h"
static pthread_t p_mainid;
wxMutex wxMainMutex; // controls access to all GUI functions
// Static variables
/////////////////////////////////////////////////////////////////////////////
+#include "wx/thread.h"
+
static int p_mainid;
wxMutex wxMainMutex;