added --enable-aboutdlg

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-10-08 12:21:57 +00:00
parent d12f1282d4
commit 319c5ed4d2
2 changed files with 58 additions and 0 deletions

51
configure vendored
View File

@@ -1092,6 +1092,7 @@ Optional Features:
--enable-tipwindow use wxTipWindow class
--enable-popupwin use wxPopUpWindow class
--enable-commondlg use all common dialogs
--enable-aboutdlg use wxAboutBox
--enable-choicedlg use wxChoiceDialog
--enable-coldlg use wxColourDialog
--enable-filedlg use wxFileDialog
@@ -2274,6 +2275,7 @@ if test $DEBUG_CONFIGURE = 1; then
DEFAULT_wxUSE_URL=no
DEFAULT_wxUSE_VARIANT=no
DEFAULT_wxUSE_ABOUTDLG=no
DEFAULT_wxUSE_COMMONDLGS=no
DEFAULT_wxUSE_CHOICEDLG=no
DEFAULT_wxUSE_COLOURDLG=no
@@ -2489,6 +2491,7 @@ else
DEFAULT_wxUSE_URL=yes
DEFAULT_wxUSE_VARIANT=yes
DEFAULT_wxUSE_ABOUTDLG=yes
DEFAULT_wxUSE_COMMONDLGS=yes
DEFAULT_wxUSE_CHOICEDLG=yes
DEFAULT_wxUSE_COLOURDLG=yes
@@ -10039,6 +10042,47 @@ echo "${ECHO_T}no" >&6
fi
enablestring=
echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
no_cache=0
# Check whether --enable-aboutdlg or --disable-aboutdlg was given.
if test "${enable_aboutdlg+set}" = set; then
enableval="$enable_aboutdlg"
if test "$enableval" = yes; then
ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
else
ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
fi
else
LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
no_cache=1
fi
ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
fi;
eval "$ac_cv_use_aboutdlg"
if test "$no_cache" != 1; then
echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
fi
if test "$wxUSE_ABOUTDLG" = yes; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
enablestring=
echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
@@ -45870,6 +45914,13 @@ _ACEOF
fi
if test "$wxUSE_ABOUTDLG" = "yes"; then
cat >>confdefs.h <<\_ACEOF
#define wxUSE_ABOUTDLG 1
_ACEOF
fi
if test "$wxUSE_CHOICEDLG" = "yes"; then
cat >>confdefs.h <<\_ACEOF
#define wxUSE_CHOICEDLG 1