From: Eric Blake Date: Thu, 9 Apr 2015 14:47:10 +0000 (-0600) Subject: AC_PROG_MKDIR_P: reduce macro output size X-Git-Tag: v2.69b~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acb200444395b8108b42dfacd54dabd02d966bd3;p=thirdparty%2Fautoconf.git 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 --- 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;;