m4/lx_check_glpk.m4
changeset 458 7afc121e0689
parent 187 84c2a2e5cfee
child 459 ed54c0d13df0
equal deleted inserted replaced
1:974e5f29d7e6 2:d1f2dfd86597
    58     LDFLAGS="$lx_save_ldflags"
    58     LDFLAGS="$lx_save_ldflags"
    59     LIBS="$lx_save_libs"
    59     LIBS="$lx_save_libs"
    60 
    60 
    61     if test x"$lx_glpk_found" = x"yes"; then
    61     if test x"$lx_glpk_found" = x"yes"; then
    62       AC_DEFINE([HAVE_GLPK], [1], [Define to 1 if you have GLPK.])
    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       AC_MSG_RESULT([yes])
    67       AC_MSG_RESULT([yes])
    64     else
    68     else
    65       GLPK_CFLAGS=""
    69       GLPK_CFLAGS=""
    66       GLPK_LDFLAGS=""
    70       GLPK_LDFLAGS=""
    67       GLPK_LIBS=""
    71       GLPK_LIBS=""