Skip to content

Commit

Permalink
- Better error message
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@9581 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Aug 2, 2011
1 parent 3a509ad commit 5819dfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure
Expand Up @@ -4592,7 +4592,7 @@ if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"

else
as_fn_error $? "linking failed" "$LINENO" 5
as_fn_error $? "lpsolve linking failed using $LIBS" "$LINENO" 5
fi

LIBLPSOLVE55=$LIBS
Expand Down
2 changes: 1 addition & 1 deletion configure.in
Expand Up @@ -214,7 +214,7 @@ if test "$WANT_STATIC_LPSOLVE" = "no"; then
AC_SEARCH_LIBS(dlopen,dl)
AC_SEARCH_LIBS(sqrt,m)
AC_SEARCH_LIBS(colamd,colamd)
AC_SEARCH_LIBS(make_lp,[lpsolve55_pic lpsolve55],[],[AC_MSG_ERROR([linking failed])])
AC_SEARCH_LIBS(make_lp,[lpsolve55_pic lpsolve55],[],[AC_MSG_ERROR([lpsolve linking failed using $LIBS])])
LIBLPSOLVE55=$LIBS
LIBS=""
else
Expand Down

0 comments on commit 5819dfd

Please sign in to comment.