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

@@ -17,14 +17,14 @@
<!-- automatically update generated files -->
<fragment format='autoconf'>
@COND_USE_STC_1@$(srcdir)/include/wx/stc/stc.h: \
@COND_USE_STC_1@$(srcdir)/src/stc/scintilla/include/Scintilla.iface \
@COND_USE_STC_1@$(srcdir)/src/stc/stc.cpp.in \
@COND_USE_STC_1@$(srcdir)/src/stc/stc.h.in \
@COND_USE_STC_1@$(srcdir)/src/stc/gen_iface.py
@COND_USE_STC_1@ cd $(srcdir)/src/stc &amp;&amp; ./gen_iface.py
@COND_USE_STC_1@monolib_stc.o monodll_stc.o stcdll_stc.o stclib_stc.o: \
@COND_USE_STC_1@ $(srcdir)/include/wx/stc/stc.h
@COND_PYTHON@@COND_USE_STC_1@$(srcdir)/include/wx/stc/stc.h: \
@COND_PYTHON@@COND_USE_STC_1@$(srcdir)/src/stc/scintilla/include/Scintilla.iface \
@COND_PYTHON@@COND_USE_STC_1@$(srcdir)/src/stc/stc.cpp.in \
@COND_PYTHON@@COND_USE_STC_1@$(srcdir)/src/stc/stc.h.in \
@COND_PYTHON@@COND_USE_STC_1@$(srcdir)/src/stc/gen_iface.py
@COND_PYTHON@@COND_USE_STC_1@ cd $(srcdir)/src/stc &amp;&amp; ./gen_iface.py
@COND_PYTHON@@COND_USE_STC_1@monolib_stc.o monodll_stc.o stcdll_stc.o stclib_stc.o: \
@COND_PYTHON@@COND_USE_STC_1@ $(srcdir)/include/wx/stc/stc.h
</fragment>
<lib id="wxscintilla" template="3rdparty_lib"