Skip to content

Commit

Permalink
Fix OMC path for --without-omc
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed May 11, 2015
1 parent 47bae7a commit 8c0132b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Expand Up @@ -228,12 +228,12 @@ if test "$OMC" = "no" ; then
AC_MSG_ERROR([cross-compilation attempt detected, but no omc executable was given])
fi
AC_MSG_RESULT([building it through bootstrapping (you might end up unable to recompile omc if you modify source code)])
OMC="$ac_pwd$ac_dir_suffix/$OMBUILDDIR/bin/omc"
OMC="$OMBUILDDIR/bin/omc"
elif "$OMC" +version > /dev/null 2>&1; then
AC_MSG_RESULT([$OMC])
else
AC_MSG_RESULT([failed (tried $OMC). Building it through bootstrapping (you might end up unable to recompile omc if you modify source code).])
OMC="$ac_pwd$ac_dir_suffix/$OMBUILDDIR/bin/omc"
OMC="$OMBUILDDIR/bin/omc"
fi

dnl Checks for libraries.
Expand Down

0 comments on commit 8c0132b

Please sign in to comment.