From 2725c5dbe0b8c9da3d8fb69d552c7af2dfa4a5b5 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Fri, 8 Jul 2022 12:52:40 -0700 Subject: [PATCH] Fix invalid mkdir detection on OpenBSD This was broken by 67e54ce4081abaa16774b93ccd33ccbd1d6c6531, which resulted in " -d" being used as the mkdir_p program. I think this is because $ac_install_sh has been set to '' at the point it is used. There's probably a better way to fix this, but this should allow the OpenBSD CI to continue to work until a better fix is in place. --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 081cbac074..4fe1623966 100644 --- a/configure.ac +++ b/configure.ac @@ -492,6 +492,11 @@ AS_CASE(["$target_os"], AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_INSTALL + +AS_CASE(["$target_os"],[openbsd*],[ + ac_cv_path_mkdir="mkdir" +]) + RUBY_PROG_MAKEDIRS AC_CHECK_PROG([DTRACE], [${ac_tool_prefix}dtrace], [${ac_tool_prefix}dtrace])