From 003888531f09e884f30e5cac63d199531029f9b8 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 19 Oct 2003 13:41:08 +0000 Subject: 2003-10-19 Ralf Corsepius * configure.ac: Make presence of tests/ optional. --- c/src/configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'c/src/configure.ac') 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]) -- cgit v1.2.3