AC_ARG_VAR(TEST_CXXFLAGS, [CXXFLAGS to use when testing (default=$CXXFLAGS)])
AC_ARG_VAR(TEST_LDFLAGS, [LDFLAGS to use when testing (default=$LDFLAGS)])
+if test -n "$CXXTEST"; then
+ AC_CHECK_PROG(PERL, perl, perl, [])
+ if test -z "$PERL"; then
+ AC_MSG_WARN([unit tests disabled, perl not found.])
+ CXXTESTGEN=
+ CXXTEST=
+ fi
+fi
+
# Checks for libraries.
AC_CHECK_LIB(gmp, __gmpz_init, , [AC_MSG_ERROR([GNU MP not found, see http://gmplib.org/])])
** reference count on ExprValue instances and
**/
+/* this must be above the check for __CVC4__EXPR__EXPR_VALUE_H */
+/* to resolve a circular dependency */
+#include "cvc4_expr.h"
+
#ifndef __CVC4__EXPR__EXPR_VALUE_H
#define __CVC4__EXPR__EXPR_VALUE_H
#include <stdint.h>
-#include "cvc4_expr.h"
namespace CVC4 {