Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
d23c5596
Commit
d23c5596
authored
Feb 11, 2002
by
Kurt Zeilenga
Browse files
Don't use 'shtool mkln' as ln(1) replacement.
Allow both <sasl/sasl.h> and <sasl.h>
parent
450126ef
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
build/top.mk
View file @
d23c5596
...
...
@@ -116,8 +116,8 @@ CAT = cat
CHMOD
=
chmod
DATE
=
date
HOSTNAME
=
$(SHTOOL)
echo
-e
"%h%d"
LN
=
$(SHTOOL)
mk
ln
LN_H
=
$(SHTOOL)
mkln
-f
LN
=
ln
LN_H
=
@LN_H@
LN_S
=
@LN_S@
MAKEINFO
=
@MAKEINFO@
MKDIR
=
$(SHTOOL)
mkdir
-p
...
...
configure
View file @
d23c5596
This diff is collapsed.
Click to expand it.
configure.in
View file @
d23c5596
...
...
@@ -619,6 +619,8 @@ AC_LIBTOOL_DLOPEN
AC_PROG_LIBTOOL
AC_PROG_AWK
OL_PROG_LN_H
AC_PROG_LN_S
AC_PATH_PROG(SENDMAIL, sendmail, /usr/lib/sendmail,
$PATH:/usr/libexec:/usr/lib:/usr/sbin:/usr/etc:/etc)
...
...
@@ -2114,9 +2116,9 @@ dnl
ol_link_sasl=no
ol_link_spasswd=no
if test $ol_with_cyrus_sasl != no ; then
AC_CHECK_HEADERS(sasl.h)
AC_CHECK_HEADERS(
sasl/sasl.h
sasl.h)
if test $ac_cv_header_sasl_
h
; then
if test $ac_cv_header_sasl_
sasl_h = yes -o $ac_cv_header_sasl_h = yes
; then
AC_CHECK_LIB(sasl2, sasl_client_init,
[ol_link_sasl="-lsasl2"],
[AC_CHECK_LIB(sasl, sasl_client_init,
...
...
include/portable.h.in
View file @
d23c5596
...
...
@@ -464,6 +464,9 @@
/* Define if you have the <sasl.h> header file. */
#undef HAVE_SASL_H
/* Define if you have the <sasl/sasl.h> header file. */
#undef HAVE_SASL_SASL_H
/* Define if you have the <sched.h> header file. */
#undef HAVE_SCHED_H
...
...
libraries/libldap/cyrus.c
View file @
d23c5596
...
...
@@ -23,7 +23,11 @@
ldap_pvt_thread_mutex_t
ldap_int_sasl_mutex
;
#endif
#ifdef HAVE_HEADER_SASL_SASL_H
#include <sasl/sasl.h>
#else
#include <sasl.h>
#endif
#if SASL_VERSION_MAJOR >= 2
#define SASL_CONST const
...
...
libraries/libldap/ldap-int.h
View file @
d23c5596
...
...
@@ -24,7 +24,11 @@
#ifdef HAVE_CYRUS_SASL
/* the need for this should be removed */
#ifdef HAVE_HEADER_SASL_SASL_H
#include <sasl/sasl.h>
#else
#include <sasl.h>
#endif
#define SASL_MAX_BUFF_SIZE 65536
#define SASL_MIN_BUFF_SIZE 4096
...
...
servers/slapd/sasl.c
View file @
d23c5596
...
...
@@ -18,7 +18,11 @@
#ifdef HAVE_CYRUS_SASL
#include <limits.h>
#ifdef HAVE_SASL_SASL_H
#include <sasl/sasl.h>
#else
#include <sasl.h>
#endif
#if SASL_VERSION_MAJOR >= 2
#include <lutil.h>
...
...
servers/slapd/saslauthz.c
View file @
d23c5596
...
...
@@ -21,7 +21,13 @@
#ifdef HAVE_CYRUS_SASL
#include <limits.h>
#ifdef HAVE_SASL_SASL_H
#include <sasl/sasl.h>
#else
#include <sasl.h>
#endif
#include <ldap_pvt.h>
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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