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
Jaak Ristioja
OpenLDAP
Commits
61f6d5d8
Commit
61f6d5d8
authored
26 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Add check for <assert.h> and put include in right file (acconfig.h)
parent
f999e135
Branches
Branches containing commit
Tags
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
+9
-0
9 additions, 0 deletions
acconfig.h
configure
+108
-107
108 additions, 107 deletions
configure
configure.in
+6
-5
6 additions, 5 deletions
configure.in
include/portable.h.in
+9
-10
9 additions, 10 deletions
include/portable.h.in
with
132 additions
and
122 deletions
acconfig.h
+
9
−
0
View file @
61f6d5d8
...
...
@@ -243,7 +243,16 @@
# include <stddef.h>
#endif
#if defined(LDAP_DEVEL) && !defined(LDAP_TEST)
#define LDAP_TEST
#endif
#if defined(LDAP_TEST) && !defined(LDAP_DEBUG)
#define LDAP_DEBUG
#endif
#include
"ldap_cdefs.h"
#include
"ldap_features.h"
#include
"ac/assert.h"
#endif
/* _LDAP_PORTABLE_H */
This diff is collapsed.
Click to expand it.
configure
+
108
−
107
View file @
61f6d5d8
This diff is collapsed.
Click to expand it.
configure.in
+
6
−
5
View file @
61f6d5d8
...
...
@@ -1559,9 +1559,10 @@ if test $am_cv_sys_posix_termios = yes ; then
[define if you have POSIX termios])
fi
AC_CHECK_HEADERS(
\
AC_CHECK_HEADERS( \
arpa/inet.h \
arpa/nameser.h \
arpa/nameser.h \
assert.h \
crypt.h \
errno.h \
fcntl.h \
...
...
@@ -1587,9 +1588,9 @@ AC_CHECK_HEADERS( \
sys/errno.h \
sys/ioctl.h \
sys/param.h \
sys/resource.h
\
sys/socket.h
\
sys/syslog.h
\
sys/resource.h \
sys/socket.h \
sys/syslog.h \
sys/time.h \
sys/types.h \
syslog.h \
...
...
This diff is collapsed.
Click to expand it.
include/portable.h.in
+
9
−
10
View file @
61f6d5d8
...
...
@@ -348,6 +348,9 @@
/* Define if you have the <arpa/nameser.h> header file. */
#undef HAVE_ARPA_NAMESER_H
/* Define if you have the <assert.h> header file. */
#undef HAVE_ASSERT_H
/* Define if you have the <crypt.h> header file. */
#undef HAVE_CRYPT_H
...
...
@@ -680,19 +683,15 @@
/* begin of postamble */
/*
* DEVEL implies TEST implies DEBUG
*/
#if !defined( LDAP_TEST) && defined( LDAP_DEVEL )
#define LDAP_TEST
#ifdef HAVE_STDDEF_H
# include <stddef.h>
#endif
#if
!
defined(
LDAP_DE
BUG
) && defined(
LDAP_TEST
)
#define LDAP_
DEBUG
#if defined(LDAP_DE
VEL
) &&
!
defined(LDAP_TEST)
#define LDAP_
TEST
#endif
#ifdef HAVE_STDDEF_H
# include <stddef.h>
#if defined(LDAP_TEST) && !defined(LDAP_DEBUG)
#define LDAP_DEBUG
#endif
#include "ldap_cdefs.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