Skip to content

Commit

Permalink
Add searching for libqwt
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed May 5, 2015
1 parent 687e1d9 commit 0997d2e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions m4/omhome.m4
Expand Up @@ -70,3 +70,12 @@ if test -z "$USINGPRESETBUILDDIR"; then
AC_LANG_POP([C])
fi
])

define(FIND_LIBOMQWT, [
if test -z "$USINGPRESETBUILDDIR"; then
SAVED_LDFLAGS=$LDFLAGS
LDFLAGS="$LDFLAGS -L$OPENMODELICAHOME/lib/$host_short/omc -lomqwt"
AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [], [AC_MSG_ERROR([OpenModelica version of qwt not found.])])
LDFLAGS=$SAVED_LDFLAGS
fi
])

0 comments on commit 0997d2e

Please sign in to comment.