summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2015-04-09 08:47:10 -0600
committerEric Blake <eblake@redhat.com>2015-04-09 08:49:09 -0600
commitacb200444395b8108b42dfacd54dabd02d966bd3 (patch)
tree5a78a9d8bda7f5ded9d653c7c1908aa1926e6baf
parent38ac615e11d1cc5cea55e7be886ad9a345c0b580 (diff)
downloadautoconf-acb200444395b8108b42dfacd54dabd02d966bd3.tar.gz
AC_PROG_MKDIR_P: reduce macro output size
Merging two case globs into one gives slightly smaller files and less time spent in shell globbing on systems that lack GNU mkdir. * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Combine two GNU cases. Signed-off-by: Eric Blake <eblake@redhat.com>
-rw-r--r--lib/autoconf/programs.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/autoconf/programs.m4 b/lib/autoconf/programs.m4
index 8ebcf9eb..ef35a791 100644
--- a/lib/autoconf/programs.m4
+++ b/lib/autoconf/programs.m4
@@ -671,9 +671,8 @@ if test -z "$MKDIR_P"; then
for ac_exec_ext in '' $ac_executable_extensions; do
AS_EXECUTABLE_P(["$as_dir$ac_prog$ac_exec_ext"]) || continue
case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
- 'mkdir (GNU coreutils) '* | \
+ 'mkdir ('*'coreutils) '* | \
'BusyBox '* | \
- 'mkdir (coreutils) '* | \
'mkdir (fileutils) '4.1*)
ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
break 3;;