summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2014-09-26 08:16:38 -0400
committerMorgan Deters <mdeters@cs.nyu.edu>2014-09-26 08:16:38 -0400
commit191b98fb51580f9c7e54b533433c95b56602cb5a (patch)
tree8dcd905e4c95794daaa0c9ef746f5d05a6995177 /config
parentfbcece2280344e30eb6cb91e7eb8556941dfe0b5 (diff)
Fix some configuration-related oddness.
Diffstat (limited to 'config')
-rw-r--r--config/abc.m42
-rw-r--r--config/glpk.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/config/abc.m4 b/config/abc.m4
index 0d91a36a5..faeb68cf2 100644
--- a/config/abc.m4
+++ b/config/abc.m4
@@ -9,7 +9,7 @@ ABC_LIBS=
ABC_LDFLAGS=
if test "$with_abc" = no; then
AC_MSG_RESULT([no, abc disabled by user])
-elif test "$with_abc" = yes; then
+elif test -n "$with_abc"; then
AC_MSG_RESULT([yes, abc requested by user])
# Get the location of all the ABC stuff
diff --git a/config/glpk.m4 b/config/glpk.m4
index 2799d5a77..8d16fceee 100644
--- a/config/glpk.m4
+++ b/config/glpk.m4
@@ -9,7 +9,7 @@ GLPK_LIBS=
GLPK_LDFLAGS=
if test "$with_glpk" = no; then
AC_MSG_RESULT([no, glpk disabled by user])
-elif test "$with_glpk" = yes; then
+elif test -n "$with_glpk"; then
AC_MSG_RESULT([yes, glpk requested by user])
# Get the location of all the GLPK stuff
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback