Skip to content

Commit

Permalink
slurm: include slurm.h in config test
Browse files Browse the repository at this point in the history
  • Loading branch information
adammoody authored and morrone committed Aug 22, 2023
1 parent 4346565 commit 97a4bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/x_ac_slurm.m4
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ AC_DEFUN([X_AC_SLURM], [
_x_ac_slurm_libs_save="$LIBS"
LIBS="-L$d/$bit -lslurm -lpthread -lcrypto $LIBS"
AC_LINK_IFELSE(
[AC_LANG_PROGRAM([],[slurm_get_rem_time(0);])],
[AC_LANG_PROGRAM([#include <slurm/slurm.h>],[slurm_get_rem_time(0);])],
[AS_VAR_SET([x_ac_cv_slurm_dir], [$d])
AS_VAR_SET([x_ac_cv_slurm_libdir], [$d/$bit])]
)
Expand Down

0 comments on commit 97a4bfc

Please sign in to comment.