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:
5
configure
vendored
5
configure
vendored
@@ -33548,6 +33548,11 @@ if test "$wxUSE_GUI" = "yes"; then
|
|||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
|
|
||||||
|
else
|
||||||
|
cat >>confdefs.h <<\_ACEOF
|
||||||
|
#define wxUSE_GUI 0
|
||||||
|
_ACEOF
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
@@ -4509,6 +4509,8 @@ if test "$wxUSE_GUI" = "yes"; then
|
|||||||
dnl need the dcs, pens, brushes, ...), this just can't be done now
|
dnl need the dcs, pens, brushes, ...), this just can't be done now
|
||||||
dnl 4. menu stuff: wxMenu, wxMenuBar, wxMenuItem
|
dnl 4. menu stuff: wxMenu, wxMenuBar, wxMenuItem
|
||||||
dnl 5. misc stuff: timers, settings, message box
|
dnl 5. misc stuff: timers, settings, message box
|
||||||
|
else
|
||||||
|
AC_DEFINE(wxUSE_GUI, 0)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user