Skip to content

Commit

Permalink
* Install Python runtime only if configured by user
Browse files Browse the repository at this point in the history
        Fix for ticket #24
  • Loading branch information
yoogx committed Jan 29, 2015
1 parent e72c152 commit d91a84b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -328,11 +328,13 @@ AC_ARG_ENABLE(python,
[if [[ "$enableval" = "yes" ]]; then
PYTHON_PRJ=ocarina-python.gpr
PYTHON_TARGET=python_tree
PYTHON_RUNTIME=python
fi],
[])

AC_SUBST(PYTHON_PRJ)
AC_SUBST(PYTHON_TARGET)
AC_SUBST(PYTHON_RUNTIME)

##########################################
# Some version control stuff
Expand Down
2 changes: 1 addition & 1 deletion resources/runtime/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SUBDIRS = cheddar aadl_xml python
SUBDIRS = cheddar aadl_xml ${PYTHON_RUNTIME}

@DEBUG_FALSE@DEBUG_FLAG = --disable-debug
@DEBUG_TRUE@DEBUG_FLAG = --enable-debug
Expand Down

0 comments on commit d91a84b

Please sign in to comment.