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:
Vadim Zeitlin
2009-05-08 23:12:57 +00:00
parent 5d4ee50b0a
commit d84e6f500e
4 changed files with 152 additions and 37 deletions

View File

@@ -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