From: Gilles Depeyrot Date: Sun, 8 Jul 2001 18:58:53 +0000 (+0000) Subject: configure without popup windows under Mac OS X X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6abe4b6540e432863d2e83d11f67e61bcf1b16ab configure without popup windows under Mac OS X git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/configure b/configure index c61f8d8653..16cdb7dfa3 100755 --- a/configure +++ b/configure @@ -17114,11 +17114,15 @@ EOF fi if test "$wxUSE_POPUPWIN" = "yes"; then - cat >> confdefs.h <<\EOF + if test "$wxUSE_MAC" = 1; then + echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2 + else + cat >> confdefs.h <<\EOF #define wxUSE_POPUPWIN 1 EOF - USES_CONTROLS=1 + USES_CONTROLS=1 + fi fi if test "$USES_CONTROLS" = 1; then @@ -17471,7 +17475,7 @@ SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:17475: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "configure:17479: checking whether ${MAKE-make} sets \${MAKE}" >&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 diff --git a/configure.in b/configure.in index c1523424e6..233e04b7bd 100644 --- a/configure.in +++ b/configure.in @@ -4209,8 +4209,12 @@ if test "$wxUSE_TREECTRL" = "yes"; then fi if test "$wxUSE_POPUPWIN" = "yes"; then - AC_DEFINE(wxUSE_POPUPWIN) - USES_CONTROLS=1 + if test "$wxUSE_MAC" = 1; then + AC_MSG_WARN(Popup window is not yet supported under Mac OS) + else + AC_DEFINE(wxUSE_POPUPWIN) + USES_CONTROLS=1 + fi fi if test "$USES_CONTROLS" = 1; then