config/lp.m4
changeset 1464 718207d6a1e6
parent 1385 49d1ca28ebd8
equal deleted inserted replaced
6:9b21ef86f0a0 7:f79bd581dc64
    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       AC_MSG_RESULT([yes])
    63       AC_MSG_RESULT([yes])
    64     else
    64     else
    65       $GLPK_CFLAGS=""
    65       GLPK_CFLAGS=""
    66       $GLPK_LDFLAGS=""
    66       GLPK_LDFLAGS=""
    67       $GLPK_LIBS=""
    67       GLPK_LIBS=""
    68       AC_MSG_RESULT([no])
    68       AC_MSG_RESULT([no])
    69     fi
    69     fi
    70   fi
    70   fi
    71   GLPK_LIBS="$GLPK_LDFLAGS $GLPK_LIBS"
    71   GLPK_LIBS="$GLPK_LDFLAGS $GLPK_LIBS"
    72   AC_SUBST(GLPK_CFLAGS)
    72   AC_SUBST(GLPK_CFLAGS)
   135 
   135 
   136     if test x"$lx_cplex_found" = x"yes"; then
   136     if test x"$lx_cplex_found" = x"yes"; then
   137       AC_DEFINE([HAVE_CPLEX], [1], [Define to 1 if you have CPLEX.])
   137       AC_DEFINE([HAVE_CPLEX], [1], [Define to 1 if you have CPLEX.])
   138       AC_MSG_RESULT([yes])
   138       AC_MSG_RESULT([yes])
   139     else
   139     else
   140       $CPLEX_CFLAGS=""
   140       CPLEX_CFLAGS=""
   141       $CPLEX_LDFLAGS=""
   141       CPLEX_LDFLAGS=""
   142       $CPLEX_LIBS=""
   142       CPLEX_LIBS=""
   143       AC_MSG_RESULT([no])
   143       AC_MSG_RESULT([no])
   144     fi
   144     fi
   145   fi
   145   fi
   146   CPLEX_LIBS="$CPLEX_LDFLAGS $CPLEX_LIBS"
   146   CPLEX_LIBS="$CPLEX_LDFLAGS $CPLEX_LIBS"
   147   AC_SUBST(CPLEX_CFLAGS)
   147   AC_SUBST(CPLEX_CFLAGS)