0
5
0
... | ... |
@@ -54,6 +54,9 @@ |
54 | 54 |
#LX_CHECK_CPLEX |
55 | 55 |
#LX_CHECK_SOPLEX |
56 | 56 |
|
57 |
AM_CONDITIONAL([HAVE_LP], [test x"$lx_lp_found" = x"yes"]) |
|
58 |
AM_CONDITIONAL([HAVE_MIP], [test x"$lx_mip_found" = x"yes"]) |
|
59 |
|
|
57 | 60 |
dnl Disable/enable building the demo programs. |
58 | 61 |
AC_ARG_ENABLE([demo], |
59 | 62 |
AS_HELP_STRING([--enable-demo], [build the demo programs]) |
... | ... |
@@ -62,6 +62,10 @@ |
62 | 62 |
|
63 | 63 |
if test x"$lx_cplex_found" = x"yes"; then |
64 | 64 |
AC_DEFINE([HAVE_CPLEX], [1], [Define to 1 if you have CPLEX.]) |
65 |
lx_lp_found=yes |
|
66 |
AC_DEFINE([HAVE_LP], [1], [Define to 1 if you have any LP solver.]) |
|
67 |
lx_mip_found=yes |
|
68 |
AC_DEFINE([HAVE_MIP], [1], [Define to 1 if you have any MIP solver.]) |
|
65 | 69 |
AC_MSG_RESULT([yes]) |
66 | 70 |
else |
67 | 71 |
CPLEX_CFLAGS="" |
... | ... |
@@ -60,6 +60,10 @@ |
60 | 60 |
|
61 | 61 |
if test x"$lx_glpk_found" = x"yes"; then |
62 | 62 |
AC_DEFINE([HAVE_GLPK], [1], [Define to 1 if you have GLPK.]) |
63 |
lx_lp_found=yes |
|
64 |
AC_DEFINE([HAVE_LP], [1], [Define to 1 if you have any LP solver.]) |
|
65 |
lx_mip_found=yes |
|
66 |
AC_DEFINE([HAVE_MIP], [1], [Define to 1 if you have any MIP solver.]) |
|
63 | 67 |
AC_MSG_RESULT([yes]) |
64 | 68 |
else |
65 | 69 |
GLPK_CFLAGS="" |
... | ... |
@@ -56,6 +56,8 @@ |
56 | 56 |
|
57 | 57 |
if test x"$lx_soplex_found" = x"yes"; then |
58 | 58 |
AC_DEFINE([HAVE_SOPLEX], [1], [Define to 1 if you have SOPLEX.]) |
59 |
lx_lp_found=yes |
|
60 |
AC_DEFINE([HAVE_LP], [1], [Define to 1 if you have any LP solver.]) |
|
59 | 61 |
AC_MSG_RESULT([yes]) |
60 | 62 |
else |
61 | 63 |
SOPLEX_CXXFLAGS="" |
0 comments (0 inline)