config/lp.m4
changeset 1369 f1cf6b807414
parent 1355 57936f15055b
child 1373 284841d50d63
equal deleted inserted replaced
1:d4c4290c5c95 2:afa00dd98493
     1 AC_DEFUN([LX_CHECK_GLPK],
     1 AC_DEFUN([LX_CHECK_GLPK],
     2 [
     2 [
     3   AC_ARG_WITH([glpk],
     3   AC_ARG_WITH([glpk],
     4 AS_HELP_STRING([--with-glpk@<:@=PREFIX@:>@], [Search for GLPK under PREFIX or under the default search paths if PREFIX is not given @<:@default@:>@])
     4 AS_HELP_STRING([--with-glpk@<:@=PREFIX@:>@], [search for GLPK under PREFIX or under the default search paths if PREFIX is not given @<:@default@:>@])
     5 AS_HELP_STRING([--without-glpk], [Disable checking for GLPK]),
     5 AS_HELP_STRING([--without-glpk], [disable checking for GLPK]),
     6               [], [with_glpk=yes])
     6               [], [with_glpk=yes])
     7 
     7 
     8   AC_ARG_WITH([glpk-includedir],
     8   AC_ARG_WITH([glpk-includedir],
     9 AS_HELP_STRING([--with-glpk-includedir=DIR], [Search for GLPK headers in DIR]),
     9 AS_HELP_STRING([--with-glpk-includedir=DIR], [search for GLPK headers in DIR]),
    10               [], [with_glpk_includedir=no])
    10               [], [with_glpk_includedir=no])
    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   if test x"$with_glpk" != x"no"; then
    16   if test x"$with_glpk" != x"no"; then
    17     AC_MSG_CHECKING([for GLPK])
    17     AC_MSG_CHECKING([for GLPK])
    18 
    18