From 2d84aa485a4e0801ce82266e0edc7dacd2da649d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 25 Mar 2011 13:37:36 +0000 Subject: [PATCH] spell it out --- configure.ac | 16 ++++++++-------- 1 file 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) -- 2.25.1