Skip to content

Commit

Permalink
- Add configure option to disable OMNotebook (for OSX builds)
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13052 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Sep 26, 2012
1 parent 7275705 commit 3c1063d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ AC_SUBST(LD_LAPACK)
AC_SUBST(PYTHON_INTERFACE)
AC_SUBST(WITH_SUNDIALS)
AC_SUBST(WITH_IPOPT)
AC_SUBST(OMNOTEBOOK)

FINAL_MESSAGES="\nConfigured OpenModelica successfully using the following options:"

Expand Down Expand Up @@ -553,6 +554,17 @@ if test -n "$QMAKE"; then
else
AC_MSG_RESULT($with_qwt)
fi

AC_MSG_CHECKING([if the user wants OMNotebook])
AC_ARG_ENABLE(omnotebook, [ --enable-omnotebook[=yes] OMNotebook is a notebook for Modelica],[test "xno" = x"$enableval" && OMNOTEBOOK=""],[OMNOTEBOOK="omnotebook"])
if test -z "$OMNOTEBOOK" ; then
AC_MSG_RESULT([no])
FINAL_MESSAGES="$FINAL_MESSAGES\nBuild OMNotebook: No"
else
AC_MSG_RESULT([yes])
FINAL_MESSAGES="$FINAL_MESSAGES\nBuild OMNotebook: Yes"
fi

fi

if test -n "$QMAKE"; then
Expand Down

0 comments on commit 3c1063d

Please sign in to comment.