m4/lx_check_cplex.m4
changeset 1103 98ddf8d5fda9
parent 480 69928a704ffb
parent 540 8a144437db7d
equal deleted inserted replaced
2:b5acc1cfe582 4:72c810b4040e
    59     CXXFLAGS="$lx_save_cxxflags"
    59     CXXFLAGS="$lx_save_cxxflags"
    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([LEMON_HAVE_CPLEX], [1], [Define to 1 if you have CPLEX.])
    65       lx_lp_found=yes
    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       lx_mip_found=yes
    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       AC_MSG_RESULT([yes])
    69       AC_MSG_RESULT([yes])
    70     else
    70     else
    71       CPLEX_CFLAGS=""
    71       CPLEX_CFLAGS=""
    72       CPLEX_LDFLAGS=""
    72       CPLEX_LDFLAGS=""
    73       CPLEX_LIBS=""
    73       CPLEX_LIBS=""