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
This commit is contained in:
Gilles Depeyrot
2001-07-08 18:58:53 +00:00
parent 5051902e56
commit 6abe4b6540
2 changed files with 13 additions and 5 deletions

10
configure vendored
View File

@@ -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

View File

@@ -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