summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-10-02 01:47:27 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-10-02 01:47:27 +0000
commit4f2064f13e58e5cf18a05603b3d63228cb8be225 (patch)
treeb868faeef4fa38a816d9144999a54c4a87b4e168 /acinclude.m4
parent1b16201e7f7a0dd20460bc721693516f486d1640 (diff)
downloadrtems-4f2064f13e58e5cf18a05603b3d63228cb8be225.tar.bz2
2003-10-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/check-cpu.m4: Remove. * Makefile.am: Remove reference to aclocal/check-cpu.m4. * acinclude.m4 (RTEMS_TARGET_CONFIG_SUBDIR): Check for presence of $1 in $srcdir before adding dir to SUBDIRS.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index bd28f1ab11..8764edf4fa 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -373,6 +373,7 @@ AC_SUBST(host_subdir)
## PUBLIC: RTEMS_TARGET_CONFIG_SUBDIRS(target_subdir)
# subdirs to be build for the target environment
AC_DEFUN([RTEMS_TARGET_CONFIG_SUBDIRS],[
+AS_IF([test -d ${srcdir}/$1],[
m4_append([_RTEMS_TARGET_CONFIGDIRS_LIST],[ $1])
_RTEMS_SUBST_IFNOT([target_configdirs],[$1])
@@ -380,6 +381,7 @@ _RTEMS_SUBST_IFNOT([target_configdirs],[$1])
m4_divert_text([DEFAULTS],
[ac_subdirs_all="$ac_subdirs_all m4_normalize([$1])"])
m4_expand_once([_RTEMS_COMMANDS_POST_CONFIG_SUBDIRS])
+ ])
])
AC_DEFUN(_RTEMS_TARGET_CONFIG_PREPARE,[