]> git.saurik.com Git - wxWidgets.git/blobdiff - configure.in
disable wxUSE_POPUPWIN for Motif
[wxWidgets.git] / configure.in
index 5a9ac0dd1888e2f6e700db7dad705f6672da2847..eedc8ed2ab61bdb547c07e769d76c87ee21e3815 100644 (file)
@@ -4505,13 +4505,17 @@ if test "$wxUSE_POPUPWIN" = "yes"; then
     if test "$wxUSE_MAC" = 1; then
         AC_MSG_WARN([Popup window not yet supported under Mac OS X... disabled])
     else
-        AC_DEFINE(wxUSE_POPUPWIN)
+        if test "$wxUSE_MOTIF" = 1; then
+            AC_MSG_WARN([wxPopupWindow not yet supported under Motif... disabled])
+        else
+            AC_DEFINE(wxUSE_POPUPWIN)
 
-        if test "$wxUSE_TIPWINDOW" = "yes"; then
-            AC_DEFINE(wxUSE_TIPWINDOW)
-        fi
+            if test "$wxUSE_TIPWINDOW" = "yes"; then
+                AC_DEFINE(wxUSE_TIPWINDOW)
+            fi
 
-        USES_CONTROLS=1
+            USES_CONTROLS=1
+        fi
     fi
 fi