]> git.saurik.com Git - wxWidgets.git/blobdiff - configure
Disable wxFileSystemWatcher in configure if threads are disabled.
[wxWidgets.git] / configure
index 3bc2801cd3d05ed58f03452c70088b0e3a4c3c66..026622784e409fdcf9d21a37f8130bebf17a0335 100755 (executable)
--- a/configure
+++ b/configure
@@ -43755,6 +43755,12 @@ _ACEOF
         else
             wxUSE_FSWATCHER=no
         fi
+    else
+        if test "$wxUSE_THREADS" != "yes"; then
+            { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
+echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
+            wxUSE_FSWATCHER=no
+        fi
     fi
 
     if test "$wxUSE_FSWATCHER" = "yes"; then