m4/lx_check_coin.m4
changeset 710 f1fe0ddad6f7
parent 568 b53a9068e3e4
child 749 36857046492b
equal deleted inserted replaced
0:7ee8041b9c50 1:23c9ab5b17ef
    53     CXXFLAGS="$lx_save_cxxflags"
    53     CXXFLAGS="$lx_save_cxxflags"
    54     LDFLAGS="$lx_save_ldflags"
    54     LDFLAGS="$lx_save_ldflags"
    55     LIBS="$lx_save_libs"
    55     LIBS="$lx_save_libs"
    56 
    56 
    57     if test x"$lx_clp_found" = x"yes"; then
    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       lx_lp_found=yes
    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       AC_MSG_RESULT([yes])
    61       AC_MSG_RESULT([yes])
    62     else
    62     else
    63       CLP_CXXFLAGS=""
    63       CLP_CXXFLAGS=""
    64       CLP_LDFLAGS=""
    64       CLP_LDFLAGS=""
    65       CLP_LIBS=""
    65       CLP_LIBS=""
   113       CXXFLAGS="$lx_save_cxxflags"
   113       CXXFLAGS="$lx_save_cxxflags"
   114       LDFLAGS="$lx_save_ldflags"
   114       LDFLAGS="$lx_save_ldflags"
   115       LIBS="$lx_save_libs"
   115       LIBS="$lx_save_libs"
   116 
   116 
   117       if test x"$lx_cbc_found" = x"yes"; then
   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         lx_lp_found=yes
   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         lx_mip_found=yes
   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         AC_MSG_RESULT([yes])
   123         AC_MSG_RESULT([yes])
   124       else
   124       else
   125         CBC_CXXFLAGS=""
   125         CBC_CXXFLAGS=""
   126         CBC_LDFLAGS=""
   126         CBC_LDFLAGS=""
   127         CBC_LIBS=""
   127         CBC_LIBS=""