]> git.saurik.com Git - wxWidgets.git/blobdiff - configure.in
wxX11 might compile now.
[wxWidgets.git] / configure.in
index cea0d9ecfb700dcc1693b8f5e916ac9988727342..fa1ee8a609a611c4bd081524e09ff871ebeb5dd7 100644 (file)
@@ -4059,10 +4059,17 @@ if test "$wxUSE_IPC" = "yes"; then
 fi
 
 if test "$wxUSE_CLIPBOARD" = "yes"; then
-    AC_DEFINE(wxUSE_CLIPBOARD)
+    if test "$wxUSE_X11" = 1; then
+        AC_MSG_WARN([Clipboard not yet supported under X11... disabled])
+        wxUSE_CLIPBOARD=no
+    fi
+
+    if test "$wxUSE_CLIPBOARD" = "yes"; then
+        AC_DEFINE(wxUSE_CLIPBOARD)
 
-    dnl required by clipboard code in configuration check
-    AC_DEFINE(wxUSE_DATAOBJ)
+        dnl required by clipboard code in configuration check
+        AC_DEFINE(wxUSE_DATAOBJ)
+    fi
 fi
 
 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
@@ -4332,7 +4339,11 @@ if test "$wxUSE_TOOLTIPS" = "yes"; then
             if test "$wxUSE_UNIVERSAL" = "yes"; then
                 AC_MSG_WARN([wxTooltip not supported yet in wxUNIVERSAL... disabled])
             else
-                AC_DEFINE(wxUSE_TOOLTIPS)
+                if test "$wxUSE_X11" = "1"; then
+                    AC_MSG_WARN([wxTooltip not supported yet under X11... disabled])
+                else
+                    AC_DEFINE(wxUSE_TOOLTIPS)
+                fi
             fi
         fi
     fi