summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rwxr-xr-xconfig/build-type4
-rw-r--r--config/cvc4.m46
2 files changed, 9 insertions, 1 deletions
diff --git a/config/build-type b/config/build-type
index 2f1b27cc2..f982b0020 100755
--- a/config/build-type
+++ b/config/build-type
@@ -33,6 +33,8 @@
# Also you can specify "cln" or "gmp". If "cln", the build dir
# contains the string "cln". (gmp is considered the default.)
#
+# Also for glpk.
+#
if [ $# -eq 0 ]; then
echo "usage: build-type profile [ overrides... ]" >&2
@@ -53,7 +55,7 @@ while [ $# -gt 0 ]; do
done
build_type_suffix=
-for arg in cln staticbinary optimized proof debugsymbols statistics replay assertions tracing muzzle coverage profiling; do
+for arg in cln glpk staticbinary optimized proof debugsymbols statistics replay assertions tracing muzzle coverage profiling; do
if eval [ -n '"${'$arg'+set}"' ]; then
if eval [ '"${'$arg'}"' -eq 0 ]; then
build_type_suffix=$build_type_suffix-no$arg
diff --git a/config/cvc4.m4 b/config/cvc4.m4
index 27ac51521..aefce193a 100644
--- a/config/cvc4.m4
+++ b/config/cvc4.m4
@@ -43,6 +43,12 @@ handle_option() {
if expr "$ac_option" : '.*-debugsymbols$' >/dev/null || expr "$ac_option" : '.*-debugsymbols-' >/dev/null; then
eval 'ac_cvc4_rewritten_args="${ac_cvc4_rewritten_args+$ac_cvc4_rewritten_args }\"--enable-debug-symbols\""'
fi
+ if expr "$ac_option" : '.*-noglpk' >/dev/null || expr "$ac_option" : '.*-noglpk-' >/dev/null; then
+ eval 'ac_cvc4_rewritten_args="${ac_cvc4_rewritten_args+$ac_cvc4_rewritten_args }\"--without-glpk\""'
+ fi
+ if expr "$ac_option" : '.*-glpk' >/dev/null || expr "$ac_option" : '.*-glpk-' >/dev/null; then
+ eval 'ac_cvc4_rewritten_args="${ac_cvc4_rewritten_args+$ac_cvc4_rewritten_args }\"--with-glpk\""'
+ fi
for x in cln gmp; do
if expr "$ac_option" : '.*-no'$x'$' >/dev/null || expr "$ac_option" : '.*-no'$x'-' >/dev/null; then
eval 'ac_cvc4_rewritten_args="${ac_cvc4_rewritten_args+$ac_cvc4_rewritten_args }\"--without-$x\""'
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback