]> git.ipfire.org Git - thirdparty/autoconf.git/commit
AC_PROG_MKDIR_P: Fix detection of busybox mkdir.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 13 Dec 2023 13:48:15 +0000 (08:48 -0500)
committerZack Weinberg <zack@owlfolio.org>
Wed, 13 Dec 2023 13:54:58 +0000 (08:54 -0500)
commitdec7b457b6771588d79190f3f6bd007310fc7fe7
tree12d9391efe341b00348c9e1441fa33755ec613cc
parentba719bedba517b501473b3d86af5202f379fced8
AC_PROG_MKDIR_P: Fix detection of busybox mkdir.

Some versions of BusyBox mkdir respond to ‘mkdir --version’ by
printing “mkdir: unrecognized option: --version” to stderr, and then
the version message we’re looking for, also to stderr.  Adjust the
pattern matching in AC_PROG_MKDIR_P to account for this.

Problem reported by Valery Ushakov.
Resolves <https://savannah.gnu.org/support/?110971>.

* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Fix detection of busybox mkdir.
lib/autoconf/programs.m4