fix confusing CXXTEST configure message, indicating success at finding cxxtest when...
authorMorgan Deters <mdeters@gmail.com>
Thu, 28 Oct 2010 06:20:17 +0000 (06:20 +0000)
committerMorgan Deters <mdeters@gmail.com>
Thu, 28 Oct 2010 06:20:17 +0000 (06:20 +0000)
configure.ac

index 1635f938a03e7eade0ba70a37f30ec4ead486c17..feb0be86c358ddf14f62c7b9c6b65e69ad88bef7 100644 (file)
@@ -592,7 +592,7 @@ AC_ARG_WITH([cxxtest-dir],
 # In the case of "./configure --with-cxxtest-dir=../cxxtest" (or other
 # relative path) and having switched the configure directory (see above),
 # search with respect to the top source dir, not the build dir
-if test "$CVC4_CONFIGURE_IN_BUILDS" = yes; then
+if test "$CVC4_CONFIGURE_IN_BUILDS" = yes -a -n "$CXXTEST"; then
   case "$CXXTEST" in
     /*) ;;
     *)  CXXTEST="$srcdir/$CXXTEST" ;;