-if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
- if test "$WXGTK12" = 1 ; then
- AC_DEFINE(wxUSE_DRAG_AND_DROP)
- SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
- else
- AC_MSG_WARN(drag and drop is only supported under GTK 1.2)
- fi
- if test "$WXWINE" = 1 ; then
- AC_MSG_WARN(drag and drop is only supported under WINE)
- fi
+if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
+ if test "$wxUSE_GTK" = 1; then
+ if test "$WXGTK12" != 1; then
+ AC_MSG_WARN([Drag and drop is only supported under wxGTK 2.1])
+ fi
+ fi
+
+ if test "$wxUSE_MOTIF" = 1; then
+ AC_MSG_WARN([Drag and drop is not yet supported under Motif])
+ fi
+
+ if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
+ AC_DEFINE(wxUSE_DRAG_AND_DROP)
+ SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
+ fi