Skip to content

Commit

Permalink
Remove RML references from configure
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22968 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Oct 27, 2014
1 parent 708c137 commit 253cb47
Showing 1 changed file with 0 additions and 52 deletions.
52 changes: 0 additions & 52 deletions configure.in
Expand Up @@ -3,9 +3,6 @@ dnl Process this file with autoconf to produce a configure script.
AC_PREREQ([2.63])
AC_INIT([OpenModelica],[dev],[https://trac.openmodelica.org/OpenModelica],[openmodelica],[https://openmodelica.org])
AC_SUBST(date)
AC_SUBST(rmlc_bin)
AC_SUBST(rmlhome)
AC_SUBST(rmlinc)
AC_SUBST(omc_antlr_jar)
AC_SUBST(antlrinc)
AC_SUBST(antlrlib)
Expand Down Expand Up @@ -43,7 +40,6 @@ AC_SUBST(IPOPT_LDFLAGS)
AC_SUBST(IPOPT_CFLAGS)
AC_SUBST(QMAKE)
AC_SUBST(EXE)
AC_SUBST(RML_TRACE)
AC_SUBST(SOURCE_REVISION)
AC_SUBST(LIBF2C)
AC_SUBST(OMSHELL_TERMINAL)
Expand Down Expand Up @@ -217,54 +213,6 @@ else
OMC="$ac_pwd$ac_dir_suffix/build/bin/omc"
fi

AC_ARG_WITH(rml, [ --with-rml=[no] (use =no if you are using experimental bootstrapping)],[WANT_RML="$withval";OMCTARGET=omc-rml],[WANT_RML="yes";OMCTARGET=omc-rml])

if test "$WANT_RML" != "no"; then
AC_MSG_CHECKING([for \$RMLHOME])
if test ! -z "$RMLHOME" ; then
rmlhome=$RMLHOME
AC_MSG_RESULT([$RMLHOME])

AC_MSG_CHECKING([for rmlc])
if test -x $rmlhome/bin/rmlc ; then
rmlc_bin=$rmlhome/bin/rmlc
AC_MSG_RESULT([yes])
else
AC_MSG_ERROR([rmlc not found in \$rmlhome/bin])
fi

else
AC_MSG_RESULT([no])
AC_PATH_PROG(RMLC,rmlc)
if test -z $RMLC ; then
AC_MSG_ERROR([RML not installed])
fi
rmlhome=`dirname \`dirname $RMLC\``
rmlc_bin=$RMLC
fi

AC_MSG_CHECKING([for rml includefiles in $rmlhome])
if test ! -f "$rmlhome/include/plain/rml.h" ; then
AC_MSG_ERROR([rml headers not found])
AC_MSG_RESULT([no])
else
AC_MSG_RESULT([yes])
fi
rmlinc=$rmlhome/include/plain/

AC_MSG_CHECKING([if the user wants RML -trace support])
RML_TRACE=",-ftrace"
AC_ARG_ENABLE(rml-trace, [ --disable-rml-trace RML -trace support (enabled by default)],[test "xno" = x"$enableval" && RML_TRACE=""])
if test -z "$RML_TRACE" ; then
AC_MSG_RESULT([no])
else
AC_MSG_RESULT([yes])
fi
else
rmlhome=CONFIGUREDWITHOUTRMLDONTTRYTHISMAKEFILETARGETAGAIN
OMCTARGET=omc-bootstrapped
fi

dnl Checks for libraries.

if test ! "Darwin" = `uname`; then
Expand Down

0 comments on commit 253cb47

Please sign in to comment.