Commit 8ec17392 authored by Ivaylo Dimitrov's avatar Ivaylo Dimitrov

Use PYTHON env variable if present

parent 77de65cf
......@@ -19,6 +19,12 @@ AM_PROG_LIBTOOL
AC_PROG_CPP
AC_HEADER_STDC
if test "$PYTHON" == ""; then
PYTHON=python
fi
echo "Using PYTHON=$PYTHON"
AC_ARG_WITH(engine-path,
AC_HELP_STRING([--with-engine-path[=path_to_obj_build_dir]],
[Specify engine path (default=)]
......
......@@ -18,5 +18,5 @@ libhistory_la_LIBADD = \
IDL = nsIEmbedLiteHistory
EmbedHistoryListener.cpp: $(IDL).h
$(IDL).h: $(IDL).idl
python $(SDK_DIR)/sdk/bin/header.py -I$(IDL_DIR) -I. $(srcdir)/$(IDL).idl -o $(IDL).h
python $(SDK_DIR)/sdk/bin/typelib.py -I$(IDL_DIR) -I. $(srcdir)/$(IDL).idl -o $(IDL).xpt
$(PYTHON) $(SDK_DIR)/sdk/bin/header.py -I$(IDL_DIR) -I. $(srcdir)/$(IDL).idl -o $(IDL).h
$(PYTHON) $(SDK_DIR)/sdk/bin/typelib.py -I$(IDL_DIR) -I. $(srcdir)/$(IDL).idl -o $(IDL).xpt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment