From cb3cf606cd3a3758aa8bd085a3d65670039365a3 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 23 Oct 2003 07:02:46 +0000 Subject: 2003-10-23 Ralf Corsepius * configure.ac: Add AM_CONDITIONAL(LIBCHIP). * fileio/Makefile.am: Only build if LIBCHIP is available. --- testsuites/samples/ChangeLog | 5 +++++ testsuites/samples/configure.ac | 2 ++ testsuites/samples/fileio/Makefile.am | 2 ++ 3 files changed, 9 insertions(+) (limited to 'testsuites/samples') 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 + + * configure.ac: Add AM_CONDITIONAL(LIBCHIP). + * fileio/Makefile.am: Only build if LIBCHIP is available. + 2003-10-22 Ralf Corsepius * 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) -- cgit v1.2.3