diff options
author | Morgan Deters <mdeters@cs.nyu.edu> | 2013-12-09 18:31:17 -0500 |
---|---|---|
committer | Morgan Deters <mdeters@cs.nyu.edu> | 2013-12-09 18:31:21 -0500 |
commit | fbe965fc8363126aa636d75eb51c8c349d0f8240 (patch) | |
tree | c6c63525a51f28ac7ed9c922f2079e64dfdec6b5 /config | |
parent | c44395839d4c23d8c36299d7b3b2fae4e9fb1798 (diff) |
GLPK build identifier, license warnings.
Diffstat (limited to 'config')
-rwxr-xr-x | config/build-type | 4 | ||||
-rw-r--r-- | config/cvc4.m4 | 6 |
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\""' |