summaryrefslogtreecommitdiffstats
path: root/aclocal/config-subdirs.m4
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-09-14 17:30:22 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-09-14 17:30:22 +0000
commit37b5d78153e68ccf08db8a6eb4e9848f83aec8e3 (patch)
treeff0a244a57ed65f0d2b1cfdf0dd68d0d480475b6 /aclocal/config-subdirs.m4
parent2001-09-14 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-37b5d78153e68ccf08db8a6eb4e9848f83aec8e3.tar.bz2
2001-09-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/canonical-target-name.m4: Use AC_CANONICAL_TARGET instead of AC_CANONICAL_SYSTEM. * aclocal/config-subdirs.m4: Use AS_MKDIR_P instead of mkinstalldirs and mkdir. * aclocal/target.m4: Obsolete RTEMS_OUTPUT_BUILD_SUBDIRS, hack RTEMS_CONFIG_BUILD_SUBDIRS, introduce _RTEMS_OUTPUT_BUILD_SUBDIRS.
Diffstat (limited to 'aclocal/config-subdirs.m4')
-rw-r--r--aclocal/config-subdirs.m421
1 files changed, 11 insertions, 10 deletions
diff --git a/aclocal/config-subdirs.m4 b/aclocal/config-subdirs.m4
index f5f1af3f43..719e44e40f 100644
--- a/aclocal/config-subdirs.m4
+++ b/aclocal/config-subdirs.m4
@@ -15,16 +15,9 @@ AC_DEFUN(_RTEMS_PUSH_BUILDDIR,
[
# _RTEMS_PUSH_BUILDDIR
echo configuring in $1
-## We use mkinstalldirs below as a workaround to mkdir -p not being
-## available everywhere, but us wanting to support deep directories.
case "$srcdir" in
.) ;;
- *)
- if ${ac_aux_dir}/mkinstalldirs $1;
- then :;
- else
- AC_MSG_ERROR([can not create `pwd`/$1])
- fi
+ *) AS_MKDIR_P([$1])
;;
esac
@@ -130,7 +123,11 @@ if test "$no_recursion" != yes; then
esac
done
- test -n "$target_configdirs" && test -d $target_subdir || mkdir $target_subdir
+ if test -n "$target_configdirs" && test -d $target_subdir;
+ then :;
+ else
+ AS_MKDIR_P(["$target_subdir"])
+ fi
for ac_config_dir in $target_configdirs; do
# Do not complain, so a configure script can configure whichever
@@ -207,7 +204,11 @@ if test "$no_recursion" != yes; then
esac
done
- test -n "$host_configdirs" && test -d $host_subdir || mkdir $host_subdir
+ if test -n "$host_configdirs" && test -d $host_subdir;
+ then :;
+ else
+ AS_MKDIR_P(["$host_subdir"])
+ fi
for ac_config_dir in $host_configdirs; do
# Do not complain, so a configure script can configure whichever