summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <gp@n-dimensional.de>2006-10-03 14:01:21 +0000
committerHans Ulrich Niedermann <gp@n-dimensional.de>2006-10-03 14:01:21 +0000
commitdf143cc2e6e39f098bed9c6d5bfbe60da0fb9e38 (patch)
treeb85d53a5b450a7b9f269b38ae6e653e0e6d4552a /tests
parenteca2286ad256e58459a92c81728eb4d2d33f8fa2 (diff)
downloadlibgphoto2-df143cc2e6e39f098bed9c6d5bfbe60da0fb9e38.tar.gz
check for C++ compiler, define HAVE_GCC an HAVE_CXX, make test-pedantic-cxx depend on HAVE_CXX
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9254 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 47757caa1..d77b25bb4 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -2,8 +2,11 @@ SUBDIRS = ddb
check_PROGRAMS = \
test-camera-list \
- test-pedantic-c \
- test-pedantic-cxx
+ test-pedantic-c
+
+if HAVE_CXX
+check_PROGRAMS += test-pedantic-cxx
+endif
check_SCRIPTS = \
check-camera-list.sh