Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
61f6d5d8
Commit
61f6d5d8
authored
Mar 20, 1999
by
Kurt Zeilenga
Browse files
Add check for <assert.h> and put include in right file (acconfig.h)
parent
f999e135
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
acconfig.h
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 */
configure
View file @
61f6d5d8
This diff is collapsed.
Click to expand it.
configure.in
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 \
...
...
include/portable.h.in
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"
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment