Skip to content

Commit

Permalink
- Add flag so we can --disable-python-interface
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@11581 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Mar 28, 2012
1 parent 6683e28 commit b3bc4aa
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion configure.in
Expand Up @@ -40,6 +40,7 @@ AC_SUBST(OPENMP_CFLAGS)
AC_SUBST(MAKE)
AC_SUBST(LIBREADLINE)
AC_SUBST(LD_LAPACK)
AC_SUBST(PYTHON_INTERFACE)

if test -z "$MAKE"; then
MAKE=make
Expand Down Expand Up @@ -142,13 +143,22 @@ rmlinc=$rmlhome/include/plain/

AC_MSG_CHECKING([if the user wants RML -trace support])
RML_TRACE=",-ftrace"
AC_ARG_ENABLE(rml-trace, [--enable-rml-trace[[=no]] RML -trace support],[test "xno" = x"$enableval" && RML_TRACE=""])
AC_ARG_ENABLE(rml-trace, [--enable-rml-trace[[=yes]] RML -trace support],[test "xno" = x"$enableval" && RML_TRACE=""])
if test -z "$RML_TRACE" ; then
AC_MSG_RESULT([no])
else
AC_MSG_RESULT([yes])
fi

AC_MSG_CHECKING([if the user wants to use the Python interface])
PYTHON_INTERFACE="yes"
AC_ARG_ENABLE(python-interface, [--enable-python-interface[[=yes]] Python interface to omc],[test "xno" = x"$enableval" && PYTHON_INTERFACE=""])
if test -z "$PYTHON_INTERFACE" ; then
AC_MSG_RESULT([no])
else
AC_MSG_RESULT([yes])
fi

AC_MSG_CHECKING([for antlr.Tool support])
omc_antlr_jar=build/share/omc/java/antlr-3.1.3.jar
mkdir -p build/share/omc/java
Expand Down

0 comments on commit b3bc4aa

Please sign in to comment.