bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sr #110971] busybox mkdir is misdetected


From: Zack Weinberg
Subject: [sr #110971] busybox mkdir is misdetected
Date: Wed, 6 Dec 2023 17:10:25 -0500 (EST)

Follow-up Comment #2, sr #110971 (project autoconf):

Could you please test this patch (apply to autoconf git trunk)?

diff --git a/lib/autoconf/programs.m4 b/lib/autoconf/programs.m4
index d06d18c4..9ab71c38 100644
--- a/lib/autoconf/programs.m4
+++ b/lib/autoconf/programs.m4
@@ -698,7 +698,8 @@ if test -z "$MKDIR_P"; then
       [for ac_prog in mkdir gmkdir; do
         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 #(
+          case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1 |
+                grep -v "unrecognized option"` in #(
             'mkdir ('*'coreutils) '* | \
             'BusyBox '* | \
             'mkdir (fileutils) '4.1*)




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110971>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]