]> git.saurik.com Git - wxWidgets.git/blobdiff - configure
Unicode compilation fix
[wxWidgets.git] / configure
index f7e7b26977733a4bacd7473f9731ee6316b9e0dd..ea0ae1fdfb02068a383eece9e7d5e14a85e9c6a3 100755 (executable)
--- a/configure
+++ b/configure
@@ -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