define wxUSE_GUI as 0 when --disable-gui is used

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-01-15 20:35:19 +00:00
parent 72bb50de24
commit 881bfcd609
2 changed files with 21 additions and 14 deletions

9
configure vendored
View File

@@ -33543,12 +33543,17 @@ fi
if test "$wxUSE_GUI" = "yes"; then
cat >>confdefs.h <<\_ACEOF
cat >>confdefs.h <<\_ACEOF
#define wxUSE_GUI 1
_ACEOF
fi
else
cat >>confdefs.h <<\_ACEOF
#define wxUSE_GUI 0
_ACEOF
fi
if test "$wxUSE_UNIX" = "yes"; then