Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nadezhda Ivanova
OpenLDAP
Commits
fed44d49
Commit
fed44d49
authored
25 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Add some basic detection of restartable syscalls, sigaction,
socketpair. Use dependent on useful detection is.
parent
6632e41e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
acconfig.h
+0
-1
0 additions, 1 deletion
acconfig.h
configure
+607
-501
607 additions, 501 deletions
configure
configure.in
+4
-0
4 additions, 0 deletions
configure.in
include/portable.h.in
+10
-0
10 additions, 0 deletions
include/portable.h.in
with
621 additions
and
502 deletions
acconfig.h
+
0
−
1
View file @
fed44d49
/* $OpenLDAP$ */
/*
* Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
* All rights reserved.
...
...
This diff is collapsed.
Click to expand it.
configure
+
607
−
501
View file @
fed44d49
This diff is collapsed.
Click to expand it.
configure.in
+
4
−
0
View file @
fed44d49
...
...
@@ -639,12 +639,15 @@ dnl hopefully we won't include too many libraries
dnl require select
AC_CHECK_FUNC(select, :, AC_MSG_ERROR([select() required.]))
AC_CHECK_FUNCS(socketpair)
dnl Select arg types
dnl (if this detection becomes permenent, it and the select() detection
dnl should be done before the yielding select test)
AC_FUNC_SELECT_ARGTYPES
dnl check to see if system call automatically restart
AC_SYS_RESTARTABLE_SYSCALLS
dnl require POSIX regex
AC_CHECK_HEADERS( regex.h )
...
...
@@ -1844,6 +1847,7 @@ AC_CHECK_FUNCS( \
setsid \
setuid \
seteuid \
sigaction \
signal \
sigset \
snprintf \
...
...
This diff is collapsed.
Click to expand it.
include/portable.h.in
+
10
−
0
View file @
fed44d49
...
...
@@ -34,6 +34,10 @@
/* Define if you don't have vprintf but do have _doprnt. */
#undef HAVE_DOPRNT
/* Define if system calls automatically restart after interruption
by a signal. */
#undef HAVE_RESTARTABLE_SYSCALLS
/* Define if your struct stat has st_blksize. */
#undef HAVE_ST_BLKSIZE
...
...
@@ -261,6 +265,9 @@
/* Define if you have the setuid function. */
#undef HAVE_SETUID
/* Define if you have the sigaction function. */
#undef HAVE_SIGACTION
/* Define if you have the signal function. */
#undef HAVE_SIGNAL
...
...
@@ -270,6 +277,9 @@
/* Define if you have the snprintf function. */
#undef HAVE_SNPRINTF
/* Define if you have the socketpair function. */
#undef HAVE_SOCKETPAIR
/* Define if you have the strdup function. */
#undef HAVE_STRDUP
...
...
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