[aravis] build: disable cpp test by default.



commit 73a9bd65d595c80e805bd614871052e604252d91
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Thu Apr 19 16:54:57 2012 +0200

    build: disable cpp test by default.
    
    But enable it for distcheck.

 Makefile.am  |    2 +-
 configure.ac |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index cb6d1b5..1e12ef3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,7 +4,7 @@ include $(top_srcdir)/Makefile.decl
 
 ACLOCAL_AMFLAGS = -I m4
 
-DISTCHECK_CONFIGURE_FLAGS = --enable-introspection --enable-gtk-doc --enable-gst-plugin --enable-viewer
+DISTCHECK_CONFIGURE_FLAGS = --enable-introspection --enable-gtk-doc --enable-gst-plugin --enable-viewer --enable-cpp-test
 
 SUBDIRS = src
 
diff --git a/configure.ac b/configure.ac
index 8dbb6d4..e4b85f9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,9 +40,9 @@ AC_ARG_ENABLE(viewer,
 	      [enable_viewer=$enableval],
 	      [enable_viewer=no])
 AC_ARG_ENABLE(cpp_test,
-	      [  --disable-cpp-test      disable c++ test],
+	      [  --enable-cpp-test       build c++ test],
 	      [enable_cpp_test=$enableval],
-	      [enable_cpp_test=yes])
+	      [enable_cpp_test=no])
 
 PKG_PROG_PKG_CONFIG([0.14])
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]