Changeset 627:20dac2104519 in lemon-main for m4
- Timestamp:
- 04/28/09 14:51:34 (16 years ago)
- Branch:
- default
- Parents:
- 626:58357e986a08 (diff), 511:8a144437db7d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Phase:
- public
- Location:
- m4
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
m4/lx_check_coin.m4
r568 r627 56 56 57 57 if test x"$lx_clp_found" = x"yes"; then 58 AC_DEFINE([ HAVE_CLP], [1], [Define to 1 if you have CLP.])58 AC_DEFINE([LEMON_HAVE_CLP], [1], [Define to 1 if you have CLP.]) 59 59 lx_lp_found=yes 60 AC_DEFINE([ HAVE_LP], [1], [Define to 1 if you have any LP solver.])60 AC_DEFINE([LEMON_HAVE_LP], [1], [Define to 1 if you have any LP solver.]) 61 61 AC_MSG_RESULT([yes]) 62 62 else … … 116 116 117 117 if test x"$lx_cbc_found" = x"yes"; then 118 AC_DEFINE([ HAVE_CBC], [1], [Define to 1 if you have CBC.])118 AC_DEFINE([LEMON_HAVE_CBC], [1], [Define to 1 if you have CBC.]) 119 119 lx_lp_found=yes 120 AC_DEFINE([ HAVE_LP], [1], [Define to 1 if you have any LP solver.])120 AC_DEFINE([LEMON_HAVE_LP], [1], [Define to 1 if you have any LP solver.]) 121 121 lx_mip_found=yes 122 AC_DEFINE([ HAVE_MIP], [1], [Define to 1 if you have any MIP solver.])122 AC_DEFINE([LEMON_HAVE_MIP], [1], [Define to 1 if you have any MIP solver.]) 123 123 AC_MSG_RESULT([yes]) 124 124 else -
m4/lx_check_cplex.m4
r511 r627 63 63 if test x"$lx_cplex_found" = x"yes"; then 64 64 AC_DEFINE([LEMON_HAVE_CPLEX], [1], [Define to 1 if you have CPLEX.]) 65 lx_lp_found=yes 66 AC_DEFINE([LEMON_HAVE_LP], [1], [Define to 1 if you have any LP solver.]) 67 lx_mip_found=yes 68 AC_DEFINE([LEMON_HAVE_MIP], [1], [Define to 1 if you have any MIP solver.]) 65 69 AC_MSG_RESULT([yes]) 66 70 else -
m4/lx_check_cplex.m4
r457 r627 62 62 63 63 if test x"$lx_cplex_found" = x"yes"; then 64 AC_DEFINE([ HAVE_CPLEX], [1], [Define to 1 if you have CPLEX.])64 AC_DEFINE([LEMON_HAVE_CPLEX], [1], [Define to 1 if you have CPLEX.]) 65 65 lx_lp_found=yes 66 AC_DEFINE([ HAVE_LP], [1], [Define to 1 if you have any LP solver.])66 AC_DEFINE([LEMON_HAVE_LP], [1], [Define to 1 if you have any LP solver.]) 67 67 lx_mip_found=yes 68 AC_DEFINE([ HAVE_MIP], [1], [Define to 1 if you have any MIP solver.])68 AC_DEFINE([LEMON_HAVE_MIP], [1], [Define to 1 if you have any MIP solver.]) 69 69 AC_MSG_RESULT([yes]) 70 70 else -
m4/lx_check_glpk.m4
r511 r627 43 43 } 44 44 45 #if (GLP_MAJOR_VERSION < 4) \ 46 || (GLP_MAJOR_VERSION == 4 && GLP_MINOR_VERSION < 33) 47 #error Supported GLPK versions: 4.33 or above 48 #endif 49 45 50 int main(int argc, char** argv) 46 51 { … … 61 66 if test x"$lx_glpk_found" = x"yes"; then 62 67 AC_DEFINE([LEMON_HAVE_GLPK], [1], [Define to 1 if you have GLPK.]) 68 lx_lp_found=yes 69 AC_DEFINE([LEMON_HAVE_LP], [1], [Define to 1 if you have any LP solver.]) 70 lx_mip_found=yes 71 AC_DEFINE([LEMON_HAVE_MIP], [1], [Define to 1 if you have any MIP solver.]) 63 72 AC_MSG_RESULT([yes]) 64 73 else -
m4/lx_check_glpk.m4
r459 r627 65 65 66 66 if test x"$lx_glpk_found" = x"yes"; then 67 AC_DEFINE([ HAVE_GLPK], [1], [Define to 1 if you have GLPK.])67 AC_DEFINE([LEMON_HAVE_GLPK], [1], [Define to 1 if you have GLPK.]) 68 68 lx_lp_found=yes 69 AC_DEFINE([ HAVE_LP], [1], [Define to 1 if you have any LP solver.])69 AC_DEFINE([LEMON_HAVE_LP], [1], [Define to 1 if you have any LP solver.]) 70 70 lx_mip_found=yes 71 AC_DEFINE([ HAVE_MIP], [1], [Define to 1 if you have any MIP solver.])71 AC_DEFINE([LEMON_HAVE_MIP], [1], [Define to 1 if you have any MIP solver.]) 72 72 AC_MSG_RESULT([yes]) 73 73 else -
m4/lx_check_soplex.m4
r511 r627 21 21 SOPLEX_CXXFLAGS="-I$with_soplex_includedir" 22 22 elif test x"$with_soplex" != x"yes"; then 23 SOPLEX_CXXFLAGS="-I$with_soplex/ include"23 SOPLEX_CXXFLAGS="-I$with_soplex/src" 24 24 fi 25 25 … … 39 39 40 40 lx_soplex_test_prog=' 41 #include <soplex /soplex.h>41 #include <soplex.h> 42 42 43 43 int main(int argc, char** argv) … … 57 57 if test x"$lx_soplex_found" = x"yes"; then 58 58 AC_DEFINE([LEMON_HAVE_SOPLEX], [1], [Define to 1 if you have SOPLEX.]) 59 lx_lp_found=yes 60 AC_DEFINE([LEMON_HAVE_LP], [1], [Define to 1 if you have any LP solver.]) 59 61 AC_MSG_RESULT([yes]) 60 62 else -
m4/lx_check_soplex.m4
r539 r627 56 56 57 57 if test x"$lx_soplex_found" = x"yes"; then 58 AC_DEFINE([ HAVE_SOPLEX], [1], [Define to 1 if you have SOPLEX.])58 AC_DEFINE([LEMON_HAVE_SOPLEX], [1], [Define to 1 if you have SOPLEX.]) 59 59 lx_lp_found=yes 60 AC_DEFINE([ HAVE_LP], [1], [Define to 1 if you have any LP solver.])60 AC_DEFINE([LEMON_HAVE_LP], [1], [Define to 1 if you have any LP solver.]) 61 61 AC_MSG_RESULT([yes]) 62 62 else
Note: See TracChangeset
for help on using the changeset viewer.