m4/lx_check_cplex.m4
changeset 538 ba124394367a
parent 187 84c2a2e5cfee
child 627 20dac2104519
equal deleted inserted replaced
1:84b82f1d5e34 2:b5acc1cfe582
    60     LDFLAGS="$lx_save_ldflags"
    60     LDFLAGS="$lx_save_ldflags"
    61     LIBS="$lx_save_libs"
    61     LIBS="$lx_save_libs"
    62 
    62 
    63     if test x"$lx_cplex_found" = x"yes"; then
    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([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       AC_MSG_RESULT([yes])
    69       AC_MSG_RESULT([yes])
    66     else
    70     else
    67       CPLEX_CFLAGS=""
    71       CPLEX_CFLAGS=""
    68       CPLEX_LDFLAGS=""
    72       CPLEX_LDFLAGS=""
    69       CPLEX_LIBS=""
    73       CPLEX_LIBS=""