diff options
Diffstat (limited to 'sys-cluster/slurm/files/slurm-22.05.3_autoconf-lua.patch')
-rw-r--r-- | sys-cluster/slurm/files/slurm-22.05.3_autoconf-lua.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/sys-cluster/slurm/files/slurm-22.05.3_autoconf-lua.patch b/sys-cluster/slurm/files/slurm-22.05.3_autoconf-lua.patch deleted file mode 100644 index f5723f7b85bc..000000000000 --- a/sys-cluster/slurm/files/slurm-22.05.3_autoconf-lua.patch +++ /dev/null @@ -1,49 +0,0 @@ -diff --git a/auxdir/x_ac_lua.m4 b/auxdir/x_ac_lua.m4 -index 6941281bd5..206498191f 100644 ---- a/auxdir/x_ac_lua.m4 -+++ b/auxdir/x_ac_lua.m4 -@@ -12,20 +12,21 @@ - - AC_DEFUN([X_AC_LUA], - [ -- x_ac_lua_pkg_name="lua" -- #check for 5.4, 5.3, 5.2 and then 5.1 -- PKG_CHECK_EXISTS([lua5.4], [x_ac_lua_pkg_name=lua5.4], -- [PKG_CHECK_EXISTS([lua-5.4], [x_ac_lua_pkg_name=lua-5.4], -- [PKG_CHECK_EXISTS([lua5.3], [x_ac_lua_pkg_name=lua5.3], -- [PKG_CHECK_EXISTS([lua-5.3], [x_ac_lua_pkg_name=lua-5.3], -- [PKG_CHECK_EXISTS([lua5.2], [x_ac_lua_pkg_name=lua5.2], -- [PKG_CHECK_EXISTS([lua-5.2], [x_ac_lua_pkg_name=lua-5.2], -- [PKG_CHECK_EXISTS([lua5.1], [x_ac_lua_pkg_name=lua5.1], -- [PKG_CHECK_EXISTS([lua-5.1], [x_ac_lua_pkg_name=lua-5.1], -- [x_ac_lua_pkg_name="lua >= 5.1"])])])])])])])]) -- PKG_CHECK_MODULES([lua], ${x_ac_lua_pkg_name}, -- [x_ac_have_lua="yes"], -- [x_ac_have_lua="no"]) -+ AC_MSG_CHECKING([whether to enable support for job scripts written in Lua]) -+ AC_ARG_ENABLE( -+ [lua], -+ AS_HELP_STRING(--enable-lua, enable support for job scripts written in Lua), -+ [x_ac_enable_lua="$enableval"], -+ [x_ac_enable_lua=yes]) -+ AC_MSG_RESULT([$x_ac_enable_lua]) -+ -+ x_ac_have_lua=no -+ if test "x$x_ac_enable_lua" = "xyes"; then -+ x_ac_lua_pkg_name="lua" -+ PKG_CHECK_MODULES([lua], ${x_ac_lua_pkg_name}, -+ [x_ac_have_lua="yes"], -+ [AC_MSG_ERROR([Lua support requested but Lua not found])]) -+ fi - - if test "x$x_ac_have_lua" = "xyes"; then - saved_CFLAGS="$CFLAGS" -@@ -60,8 +61,6 @@ AC_DEFUN([X_AC_LUA], - fi - CFLAGS="$saved_CFLAGS" - LIBS="$saved_LIBS" -- else -- AC_MSG_WARN([unable to locate lua package]) - fi - - AM_CONDITIONAL(HAVE_LUA, test "x$x_ac_have_lua" = "xyes") |