From d91a84bd2dbbb7cce08f1669398ccd84d0172766 Mon Sep 17 00:00:00 2001 From: yoogx Date: Thu, 29 Jan 2015 16:38:25 +0100 Subject: [PATCH] * Install Python runtime only if configured by user Fix for ticket #24 --- configure.ac | 2 ++ resources/runtime/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2857b74e..84e76133 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/resources/runtime/Makefile.am b/resources/runtime/Makefile.am index ce24dea1..4bedc037 100644 --- a/resources/runtime/Makefile.am +++ b/resources/runtime/Makefile.am @@ -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 -- GitLab