spell it out
authorChristian Grothoff <christian@grothoff.org>
Fri, 25 Mar 2011 13:37:36 +0000 (13:37 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 25 Mar 2011 13:37:36 +0000 (13:37 +0000)
configure.ac

index 3e45ddaa55d8ece085ce56c018dad1343cd9ee72..b3a965e3b0a2f23d9b923244155726372bb4cae1 100644 (file)
@@ -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)