aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac16
1 files changed, 8 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 3e45ddaa5..b3a965e3b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -256,16 +256,16 @@ fi # $build = $target
256#AM_CONDITIONAL(HAVE_GLPK, test x$glpk = xtrue) 256#AM_CONDITIONAL(HAVE_GLPK, test x$glpk = xtrue)
257#AC_CHECK_LIB([glpk],[glp_create_prob]) 257#AC_CHECK_LIB([glpk],[glp_create_prob])
258 258
259a=true 259glpk=true
260AC_CHECK_HEADERS(glpk.h, ,[a=false]) 260AC_CHECK_HEADERS(glpk.h, ,[gplk=false])
261AC_CHECK_LIB([glpk],[glp_create_prob], , [a=false]) 261AC_CHECK_LIB([glpk],[glp_create_prob], , [gplk=false])
262if test $a == false 262if test $gplk == false
263then 263then
264 AM_CONDITIONAL(HAVE_GLPK, [test x$a = xtrue]) 264 AM_CONDITIONAL(HAVE_GLPK, [test x$gplk = xtrue])
265 AM_CONDITIONAL(HAVE_LIBGLPK, [test x$a != x$a]) 265 AM_CONDITIONAL(HAVE_LIBGLPK, [test x$gplk != x$gplk])
266else 266else
267 AM_CONDITIONAL(HAVE_GLPK, [test x$a = xtrue]) 267 AM_CONDITIONAL(HAVE_GLPK, [test x$gplk = xtrue])
268 AM_CONDITIONAL(HAVE_LIBGLPK, [test x$a = x$a]) 268 AM_CONDITIONAL(HAVE_LIBGLPK, [test x$gplk = x$gplk])
269fi 269fi
270 270
271# test for kvm and kstat (for CPU stats under BSD/Solaris) 271# test for kvm and kstat (for CPU stats under BSD/Solaris)