diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-10-23 07:02:46 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-10-23 07:02:46 +0000 |
commit | cb3cf606cd3a3758aa8bd085a3d65670039365a3 (patch) | |
tree | e842a54c44a3948f9ccbb00100129c8460cc34d1 /c | |
parent | 2003-10-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-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 '')
-rw-r--r-- | c/src/tests/samples/ChangeLog | 5 | ||||
-rw-r--r-- | c/src/tests/samples/configure.ac | 2 | ||||
-rw-r--r-- | c/src/tests/samples/fileio/Makefile.am | 2 |
3 files changed, 9 insertions, 0 deletions
diff --git a/c/src/tests/samples/ChangeLog b/c/src/tests/samples/ChangeLog index e19e816965..c08b8dbd4f 100644 --- a/c/src/tests/samples/ChangeLog +++ b/c/src/tests/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/c/src/tests/samples/configure.ac b/c/src/tests/samples/configure.ac index 5465685dfc..a8c8891bb5 100644 --- a/c/src/tests/samples/configure.ac +++ b/c/src/tests/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/c/src/tests/samples/fileio/Makefile.am b/c/src/tests/samples/fileio/Makefile.am index 03dfe2a414..eab6dbba35 100644 --- a/c/src/tests/samples/fileio/Makefile.am +++ b/c/src/tests/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) |