summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/ChangeLog4
-rw-r--r--c/src/configure.ac6
2 files changed, 8 insertions, 2 deletions
diff --git a/c/src/ChangeLog b/c/src/ChangeLog
index 1e8055911f..9b9229aa48 100644
--- a/c/src/ChangeLog
+++ b/c/src/ChangeLog
@@ -1,3 +1,7 @@
+2003-10-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * configure.ac: Make presence of tests/ optional.
+
2003-10-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/path-perl.m4: Remove (Unused).
diff --git a/c/src/configure.ac b/c/src/configure.ac
index 667420e7a3..6613eaf612 100644
--- a/c/src/configure.ac
+++ b/c/src/configure.ac
@@ -166,8 +166,10 @@ AS_IF([test x"$enable_ada" = x"yes"],[
])
])
-AC_CONFIG_SUBDIRS([tests])
-BSP_SUBDIRS="$BSP_SUBDIRS tests"
+AS_IF([test -d ${srcdir}/tests],[
+ AC_CONFIG_SUBDIRS([tests])
+ BSP_SUBDIRS="$BSP_SUBDIRS tests"
+])
AC_SUBST([BSP_SUBDIRS],[$BSP_SUBDIRS])