Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
cb742873
Commit
cb742873
authored
19 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Add autoconf support for PAM module.
parent
f0117190
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
auxdir/Makefile.am
+1
-0
1 addition, 0 deletions
auxdir/Makefile.am
auxdir/x_ac_pam.m4
+31
-0
31 additions, 0 deletions
auxdir/x_ac_pam.m4
configure.ac
+4
-0
4 additions, 0 deletions
configure.ac
src/slurmd/slurmstepd/Makefile.am
+1
-1
1 addition, 1 deletion
src/slurmd/slurmstepd/Makefile.am
with
37 additions
and
1 deletion
auxdir/Makefile.am
+
1
−
0
View file @
cb742873
...
...
@@ -16,6 +16,7 @@ EXTRA_DIST = \
x_ac_elan.m4
\
x_ac_federation.m4
\
x_ac_gpl_licensed.m4
\
x_ac_pam.m4
\
x_ac_munge.m4
\
x_ac_ncurses.m4
\
x_ac_ptrace.m4
\
...
...
This diff is collapsed.
Click to expand it.
auxdir/x_ac_pam.m4
0 → 100644
+
31
−
0
View file @
cb742873
##*****************************************************************************
# $Id$
##*****************************************************************************
# AUTHOR:
# Morris Jette <jette1@llnl.gov>
#
# SYNOPSIS:
# X_AC_PAM
#
# DESCRIPTION:
# Test for PAM (Pluggable Authentication Module) support.
#
# WARNINGS:
# This macro must be placed after AC_PROG_CC or equivalent.
##*****************************************************************************
AC_DEFUN([X_AC_PAM], [
AC_CHECK_LIB([pam],
[pam_get_user],
[ac_have_pam=yes; PAM_LIBS="-lpam"])
AC_SUBST(PAM_LIBS)
AM_CONDITIONAL(HAVE_PAM, test "x$ac_have_pam" = "xyes")
if test "x$ac_have_pam" = "xyes"; then
AC_DEFINE(HAVE_PAM, 1, [define if you have the PAM library])
else
AC_MSG_WARN([Unable to locate PAM library])
fi
])
This diff is collapsed.
Click to expand it.
configure.ac
+
4
−
0
View file @
cb742873
...
...
@@ -67,6 +67,10 @@ dnl Check of sched_getaffinity exists and it's argument count
dnl
X_AC_AFFINITY
dnl
dnl Check for PAM module support
X_AC_PAM
dnl Checks for types.
dnl
X_AC_SLURM_BIGENDIAN
...
...
This diff is collapsed.
Click to expand it.
src/slurmd/slurmstepd/Makefile.am
+
1
−
1
View file @
cb742873
...
...
@@ -12,7 +12,7 @@ slurmstepd_LDADD = \
$(
top_builddir
)
/src/common/libcommon.la
\
$(
top_builddir
)
/src/common/libdaemonize.la
\
$(
top_builddir
)
/src/common/libeio.la
\
$(
SSL_LIBS
)
$(
SSL_LIBS
)
$(
PAM_LIBS
)
slurmstepd_SOURCES
=
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment