summaryrefslogtreecommitdiffstats
path: root/testsuites/samples
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-10-23 07:02:46 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-10-23 07:02:46 +0000
commitcb3cf606cd3a3758aa8bd085a3d65670039365a3 (patch)
treee842a54c44a3948f9ccbb00100129c8460cc34d1 /testsuites/samples
parent2003-10-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-cb3cf606cd3a3758aa8bd085a3d65670039365a3.tar.bz2
2003-10-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add AM_CONDITIONAL(LIBCHIP). * fileio/Makefile.am: Only build if LIBCHIP is available.
Diffstat (limited to 'testsuites/samples')
-rw-r--r--testsuites/samples/ChangeLog5
-rw-r--r--testsuites/samples/configure.ac2
-rw-r--r--testsuites/samples/fileio/Makefile.am2
3 files changed, 9 insertions, 0 deletions
diff --git a/testsuites/samples/ChangeLog b/testsuites/samples/ChangeLog
index e19e816965..c08b8dbd4f 100644
--- a/testsuites/samples/ChangeLog
+++ b/testsuites/samples/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * configure.ac: Add AM_CONDITIONAL(LIBCHIP).
+ * fileio/Makefile.am: Only build if LIBCHIP is available.
+
2003-10-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove RTEMS_CANONICAL_HOST.
diff --git a/testsuites/samples/configure.ac b/testsuites/samples/configure.ac
index 5465685dfc..a8c8891bb5 100644
--- a/testsuites/samples/configure.ac
+++ b/testsuites/samples/configure.ac
@@ -34,6 +34,8 @@ RTEMS_CHECK_NETWORKING
AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
AM_CONDITIONAL(HAS_CXX,test "$HAS_CPLUSPLUS" = "yes")
AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
+#FIXME: We should use a feature based check
+AM_CONDITIONAL(LIBCHIP,[test "$RTEMS_BSP_FAMILY" != "posix"])
# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile
diff --git a/testsuites/samples/fileio/Makefile.am b/testsuites/samples/fileio/Makefile.am
index 03dfe2a414..eab6dbba35 100644
--- a/testsuites/samples/fileio/Makefile.am
+++ b/testsuites/samples/fileio/Makefile.am
@@ -31,10 +31,12 @@ include $(top_srcdir)/sample.am
# (OPTIONAL) Add local stuff here using +=
#
+if LIBCHIP
all-local: ${ARCH} $(TMPINSTALL_FILES)
${PGM}: $(OBJS) $(LINK_FILES)
$(make-exe)
+endif
EXTRA_DIST = $(C_FILES) $(DOCS)