diff options
Diffstat (limited to 'sysutils/slurm-wlm/files/patch-configure')
-rw-r--r-- | sysutils/slurm-wlm/files/patch-configure | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sysutils/slurm-wlm/files/patch-configure b/sysutils/slurm-wlm/files/patch-configure new file mode 100644 index 000000000000..5fb3c989de75 --- /dev/null +++ b/sysutils/slurm-wlm/files/patch-configure @@ -0,0 +1,38 @@ +--- configure.orig 2020-11-30 15:56:36 UTC ++++ configure +@@ -24075,8 +24075,24 @@ fi + + + x_ac_lua_pkg_name="lua" +- #check for 5.3 then 5.2 then 5.1 +- if test -n "$PKG_CONFIG" && \ ++ #check for 5.4 then 5.3 then 5.2 then 5.1 ++if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.4\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "lua5.4") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ x_ac_lua_pkg_name=lua5.4 ++else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.4\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "lua-5.4") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ x_ac_lua_pkg_name=lua-5.4 ++else ++ if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5 + ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5 + ac_status=$? +@@ -24125,6 +24141,8 @@ else + x_ac_lua_pkg_name=lua-5.1 + else + x_ac_lua_pkg_name="lua >= 5.1" ++fi ++fi + fi + fi + fi |