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
d00160ff
Commit
d00160ff
authored
21 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Updated tests for AIX: sysint.h, inttypes.h, termcap.h, hstrerror(),
and readline().
parent
94b48e9b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure.ac
+7
-3
7 additions, 3 deletions
configure.ac
with
7 additions
and
3 deletions
configure.ac
+
7
−
3
View file @
d00160ff
...
...
@@ -41,6 +41,7 @@ dnl
AC_CHECK_HEADERS(mcheck.h values.h socket.h sys/socket.h \
stdbool.h sys/ipc.h sys/shm.h sys/sem.h errno.h \
stdlib.h dirent.h pthread.h sys/prctl.h \
sysint.h inttypes.h termcap.h \
)
AC_HEADER_SYS_WAIT
AC_HEADER_TIME
...
...
@@ -69,6 +70,7 @@ dnl
AC_FUNC_MALLOC
AC_FUNC_STRERROR_R
AC_CHECK_FUNCS( \
hstrerror \
strerror \
mtrace \
strsignal \
...
...
@@ -78,8 +80,7 @@ AC_CHECK_FUNCS( \
setproctitle \
)
AC_CHECK_DECLS([strsignal, sys_siglist])
AC_CHECK_DECLS([hstrerror, strsignal, sys_siglist])
ACX_PTHREAD([], AC_MSG_ERROR([Error: Cannot figure out how to use pthreads!]))
...
...
@@ -159,6 +160,7 @@ AC_SUBST(SLURMD_PORT)
dnl check for whether to include Elan support
dnl
AC_MSG_CHECKING(whether to include Elan support)
savedLIBS="$LIBS"
AC_CHECK_LIB([elanctrl], [elanctrl_open],
[ have_elanctrl=yes
...
...
@@ -196,13 +198,15 @@ AC_ARG_ENABLE(readline,
[ readline=no ],
[ readline=yes ]
)
if test x$readline = xyes; then
AC_CHECK_LIB([readline], [readline], [], [ readline=no ])
fi
AC_MSG_RESULT(${readline})
if test x$readline = xyes; then
savedLIBS="$LIBS"
READLINE_LIBS="-lreadline -lncurses"
LIBS="$READLINE_LIBS $LIBS"
AC_CHECK_LIB([readline], [readline], [], AC_MSG_ERROR([Cannot find libreadline!]))
AC_DEFINE(HAVE_READLINE, 1, [Define if you are compiling with readline])
LIBS="$savedLIBS"
else
...
...
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