Kaydet (Commit) 8517dc95 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

If we don't want lpsolve we don't want lpsolve

Change-Id: I6038faf296831da0855eb7cd3628c5c6978d4cb3
üst eff1d991
...@@ -9560,8 +9560,9 @@ else ...@@ -9560,8 +9560,9 @@ else
fi fi
AC_SUBST(ENABLE_LPSOLVE) AC_SUBST(ENABLE_LPSOLVE)
AC_MSG_CHECKING([which lpsolve to use]) if test "$ENABLE_LPSOLVE" = TRUE; then
if test "$with_system_lpsolve" = "yes"; then AC_MSG_CHECKING([which lpsolve to use])
if test "$with_system_lpsolve" = "yes"; then
AC_MSG_RESULT([external]) AC_MSG_RESULT([external])
SYSTEM_LPSOLVE=TRUE SYSTEM_LPSOLVE=TRUE
AC_CHECK_HEADER(lpsolve/lp_lib.h, [], AC_CHECK_HEADER(lpsolve/lp_lib.h, [],
...@@ -9574,10 +9575,11 @@ if test "$with_system_lpsolve" = "yes"; then ...@@ -9574,10 +9575,11 @@ if test "$with_system_lpsolve" = "yes"; then
[ AC_MSG_ERROR(lpsolve library not found or too old.)], []) [ AC_MSG_ERROR(lpsolve library not found or too old.)], [])
LIBS=$save_LIBS LIBS=$save_LIBS
libo_MINGW_CHECK_DLL([lpsolve55]) libo_MINGW_CHECK_DLL([lpsolve55])
else else
AC_MSG_RESULT([internal]) AC_MSG_RESULT([internal])
SYSTEM_LPSOLVE= SYSTEM_LPSOLVE=
BUILD_TYPE="$BUILD_TYPE LPSOLVE" BUILD_TYPE="$BUILD_TYPE LPSOLVE"
fi
fi fi
AC_SUBST(SYSTEM_LPSOLVE) AC_SUBST(SYSTEM_LPSOLVE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment