summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-03-25 13:37:36 +0000
committerChristian Grothoff <christian@grothoff.org>2011-03-25 13:37:36 +0000
commit2d84aa485a4e0801ce82266e0edc7dacd2da649d (patch)
tree83d26b277b6efa7043c9a1f2169daf6f091ffeb1 /configure.ac
parent9b171e93182f1a07be94142abfd1766dc5ea04ca (diff)
spell it out
Diffstat (limited to 'configure.ac')
-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
#AM_CONDITIONAL(HAVE_GLPK, test x$glpk = xtrue)
#AC_CHECK_LIB([glpk],[glp_create_prob])
-a=true
-AC_CHECK_HEADERS(glpk.h, ,[a=false])
-AC_CHECK_LIB([glpk],[glp_create_prob], , [a=false])
-if test $a == false
+glpk=true
+AC_CHECK_HEADERS(glpk.h, ,[gplk=false])
+AC_CHECK_LIB([glpk],[glp_create_prob], , [gplk=false])
+if test $gplk == false
then
- AM_CONDITIONAL(HAVE_GLPK, [test x$a = xtrue])
- AM_CONDITIONAL(HAVE_LIBGLPK, [test x$a != x$a])
+ AM_CONDITIONAL(HAVE_GLPK, [test x$gplk = xtrue])
+ AM_CONDITIONAL(HAVE_LIBGLPK, [test x$gplk != x$gplk])
else
- AM_CONDITIONAL(HAVE_GLPK, [test x$a = xtrue])
- AM_CONDITIONAL(HAVE_LIBGLPK, [test x$a = x$a])
+ AM_CONDITIONAL(HAVE_GLPK, [test x$gplk = xtrue])
+ AM_CONDITIONAL(HAVE_LIBGLPK, [test x$gplk = x$gplk])
fi
# test for kvm and kstat (for CPU stats under BSD/Solaris)