diff options
author | Morgan Deters <mdeters@cs.nyu.edu> | 2014-01-08 15:32:59 -0500 |
---|---|---|
committer | Morgan Deters <mdeters@cs.nyu.edu> | 2014-01-08 15:32:59 -0500 |
commit | e6fb65b8a960db1e4a21d7414f3270f03a474384 (patch) | |
tree | 78c4c7ead119c05fe8f03a808679bac560b47ee0 /configure.ac | |
parent | 9e376ab6c826c951a0c9e1bf3d07a902249b34fd (diff) | |
parent | 312918e68d4410359b55258dc2b9e9cdfb21f211 (diff) |
Merge branch '1.3.x'
Conflicts:
COPYING
NEWS
config/cvc4.m4
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 9179bc116..bf1e0dd0c 100644 --- a/configure.ac +++ b/configure.ac @@ -285,7 +285,7 @@ fi AC_CHECK_LIB(gmp, __gmpz_init, , [AC_MSG_ERROR([GNU MP (libgmp) not found, see http://gmplib.org/])]) if test $cvc4_use_cln = 2; then - if test -n "$CVC4_BSD_LICENSED_CODE_ONLY" -o "$with_portfolio" = yes; then + if test "$CVC4_BSD_LICENSED_CODE_ONLY" = 1 -o "$with_portfolio" = yes; then cvc4_use_cln=0 cvc4_use_gmp=1 fi @@ -1337,8 +1337,9 @@ else fi if test "$gpl" = yes; then - if test -n "$CVC4_BSD_LICENSED_CODE_ONLY"; then - AC_ERROR([Bad configuration detected: user requested BSD-licensed code only, but also requested GPLed libraries:$gpllibs]) + if test "$CVC4_BSD_LICENSED_CODE_ONLY" = 1; then + AC_ERROR([Bad configuration detected: BSD-licensed code only, but also requested GPLed libraries:$gpllibs +To permit GPL'ed dependences, use the configure flag --enable-gpl]) fi licensewarn="${licensewarn}"'**************************************************************************** @@ -1353,6 +1354,13 @@ option "--bsd", which will disable all optional GPLed library dependences. ' license="GPLv3 (due to optional libraries; see below)" else + licensewarn="${licensewarn}Please note that this configuration is NOT built against any GPL'ed +libraries, so it is covered by the (modified) BSD license. This is, +however, not the best-performing configuration of CVC4. To build +against GPL'ed libraries which improve CVC4's performance, re-configure +with '--best --enable-gpl'. + +" license="modified BSD" fi |