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
Lukas However
OpenLDAP
Commits
ebce51b2
Commit
ebce51b2
authored
26 years ago
by
Ben Collins
Browse files
Options
Downloads
Patches
Plain Diff
actually define HAVE_SYS_ERRLIST if we have it, if not then declare it locally in ac/errno.h
parent
15908364
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
build/openldap.m4
+4
-0
4 additions, 0 deletions
build/openldap.m4
configure
+8
-0
8 additions, 0 deletions
configure
include/ac/errno.h
+5
-0
5 additions, 0 deletions
include/ac/errno.h
include/portable.h.in
+3
-0
3 additions, 0 deletions
include/portable.h.in
with
20 additions
and
0 deletions
build/openldap.m4
+
4
−
0
View file @
ebce51b2
...
...
@@ -395,6 +395,10 @@ if test $ol_cv_dcl_sys_errlist = no ; then
[ol_cv_have_sys_errlist=no])])
AC_MSG_RESULT($ol_cv_have_sys_errlist)
fi
if test $ol_cv_have_sys_errlist = yes ; then
AC_DEFINE(HAVE_SYS_ERRLIST,1,
[define if you actually have sys_errlist in your libs])
fi
])dnl
dnl ====================================================================
...
...
This diff is collapsed.
Click to expand it.
configure
+
8
−
0
View file @
ebce51b2
...
...
@@ -10011,6 +10011,12 @@ fi
echo
"
$ac_t
""
$ol_cv_have_sys_errlist
"
1>&6
fi
if
test
$ol_cv_have_sys_errlist
=
yes
;
then
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_SYS_ERRLIST 1
EOF
fi
...
...
@@ -10325,6 +10331,7 @@ servers/slapd/tools/Makefile:build/top.mk:servers/slapd/tools/Makefile.in \
servers/slurpd/Makefile:build/top.mk:servers/slurpd/Makefile.in:build/srv.mk
\
tests/Makefile:build/top.mk:tests/Makefile.in:build/dir.mk
\
tests/progs/Makefile:build/top.mk:tests/progs/Makefile.in:build/rules.mk
\
contrib/Makefile:build/top.mk:contrib/Makefile.in:build/dir.mk
\
contrib/saucer/Makefile:build/top.mk:contrib/saucer/Makefile.in:build/rules.mk
\
include/portable.h include/ldap_features.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
...
...
@@ -10494,6 +10501,7 @@ servers/slapd/tools/Makefile:build/top.mk:servers/slapd/tools/Makefile.in \
servers/slurpd/Makefile:build/top.mk:servers/slurpd/Makefile.in:build/srv.mk
\
tests/Makefile:build/top.mk:tests/Makefile.in:build/dir.mk
\
tests/progs/Makefile:build/top.mk:tests/progs/Makefile.in:build/rules.mk
\
contrib/Makefile:build/top.mk:contrib/Makefile.in:build/dir.mk
\
contrib/saucer/Makefile:build/top.mk:contrib/saucer/Makefile.in:build/rules.mk
\
"}
EOF
...
...
This diff is collapsed.
Click to expand it.
include/ac/errno.h
+
5
−
0
View file @
ebce51b2
...
...
@@ -19,9 +19,14 @@
#endif
#ifdef DECL_SYS_ERRLIST
#ifndef HAVE_SYS_ERRLIST
int
sys_nerr
;
char
**
sys_errlist
;
#else
extern
int
sys_nerr
;
extern
char
*
sys_errlist
[];
#endif
#endif
/* use _POSIX_VERSION for POSIX.1 code */
...
...
This diff is collapsed.
Click to expand it.
include/portable.h.in
+
3
−
0
View file @
ebce51b2
...
...
@@ -666,6 +666,9 @@
/* define if sys_errlist is declared in stdio.h or errno.h */
#undef DECL_SYS_ERRLIST
/* define if you actually have sys_errlist in your libs */
#undef HAVE_SYS_ERRLIST
/* begin of postamble */
#ifdef HAVE_STDDEF_H
...
...
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