m4/lx_check_glpk.m4
changeset 836 c841ae1aca29
parent 459 ed54c0d13df0
parent 500 8a144437db7d
equal deleted inserted replaced
3:2839597d7bfe 5:b64859d65dbe
    62     CXXFLAGS="$lx_save_cxxflags"
    62     CXXFLAGS="$lx_save_cxxflags"
    63     LDFLAGS="$lx_save_ldflags"
    63     LDFLAGS="$lx_save_ldflags"
    64     LIBS="$lx_save_libs"
    64     LIBS="$lx_save_libs"
    65 
    65 
    66     if test x"$lx_glpk_found" = x"yes"; then
    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       lx_lp_found=yes
    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       lx_mip_found=yes
    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       AC_MSG_RESULT([yes])
    72       AC_MSG_RESULT([yes])
    73     else
    73     else
    74       GLPK_CFLAGS=""
    74       GLPK_CFLAGS=""
    75       GLPK_LDFLAGS=""
    75       GLPK_LDFLAGS=""
    76       GLPK_LIBS=""
    76       GLPK_LIBS=""