config/lp.m4
changeset 1382 2c925c18d130
parent 1380 cb2891afe526
child 1385 49d1ca28ebd8
equal deleted inserted replaced
4:b28f6a2cd89f 5:3e6ecf37771f
    11 
    11 
    12   AC_ARG_WITH([glpk-libdir],
    12   AC_ARG_WITH([glpk-libdir],
    13 AS_HELP_STRING([--with-glpk-libdir=DIR], [search for GLPK libraries in DIR]),
    13 AS_HELP_STRING([--with-glpk-libdir=DIR], [search for GLPK libraries in DIR]),
    14               [], [with_glpk_libdir=no])
    14               [], [with_glpk_libdir=no])
    15 
    15 
       
    16   lx_glpk_found=no
    16   if test x"$with_glpk" != x"no"; then
    17   if test x"$with_glpk" != x"no"; then
    17     AC_MSG_CHECKING([for GLPK])
    18     AC_MSG_CHECKING([for GLPK])
    18 
    19 
    19     if test x"$with_glpk_includedir" != x"no"; then
    20     if test x"$with_glpk_includedir" != x"no"; then
    20       GLPK_CFLAGS="-I$with_glpk_includedir"
    21       GLPK_CFLAGS="-I$with_glpk_includedir"
    84 
    85 
    85   AC_ARG_WITH([cplex-libdir],
    86   AC_ARG_WITH([cplex-libdir],
    86 AS_HELP_STRING([--with-cplex-libdir=DIR], [search for CPLEX libraries in DIR]),
    87 AS_HELP_STRING([--with-cplex-libdir=DIR], [search for CPLEX libraries in DIR]),
    87               [], [with_cplex_libdir=no])
    88               [], [with_cplex_libdir=no])
    88 
    89 
       
    90   lx_cplex_found=no
    89   if test x"$with_cplex" != x"no"; then
    91   if test x"$with_cplex" != x"no"; then
    90     AC_MSG_CHECKING([for CPLEX])
    92     AC_MSG_CHECKING([for CPLEX])
    91 
    93 
    92     if test x"$with_cplex_includedir" != x"no"; then
    94     if test x"$with_cplex_includedir" != x"no"; then
    93       CPLEX_CFLAGS="-I$with_cplex_includedir"
    95       CPLEX_CFLAGS="-I$with_cplex_includedir"