check for Python and disable automatic STC files updating which requires it if it's not available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -6915,6 +6915,13 @@ if test "$wxUSE_STC" = "yes"; then
|
||||
AC_DEFINE(wxUSE_STC)
|
||||
USE_STC=1
|
||||
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
|
||||
|
||||
dnl python is used to update src/stc.h (see build/bakefiles/scintilla.bkl)
|
||||
AC_PATH_PROG(PYTHON, python)
|
||||
if test "x$PYTHON" = "x"; then
|
||||
COND_PYTHON="#"
|
||||
fi
|
||||
AC_SUBST(COND_PYTHON)
|
||||
fi
|
||||
|
||||
if test "$wxUSE_MENUS" = "yes"; then
|
||||
|
Reference in New Issue
Block a user