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
Joe Martin
OpenLDAP
Commits
625efd94
Commit
625efd94
authored
26 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
If rsaref is needed, add it to TLS_LIBS.
parent
5b83a959
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build/openldap.m4
+17
-11
17 additions, 11 deletions
build/openldap.m4
configure.in
+17
-8
17 additions, 8 deletions
configure.in
with
34 additions
and
19 deletions
build/openldap.m4
+
17
−
11
View file @
625efd94
...
...
@@ -116,7 +116,7 @@ AC_DEFUN([OL_BERKELEY_DB2],
fi
])
if test $ol_cv_berkeley_db2 = yes ; then
AC_DEFINE(HAVE_BERKELEY_DB2,1)
AC_DEFINE(HAVE_BERKELEY_DB2,1
, [define if Berkeley DBv2 is available]
)
fi
])dnl
dnl
...
...
@@ -182,7 +182,7 @@ AC_DEFUN([OL_BERKELEY_DB],
fi
])
if test $ol_cv_berkeley_db = yes ; then
AC_DEFINE(HAVE_BERKELEY_DB,1)
AC_DEFINE(HAVE_BERKELEY_DB,1
, [define if Berkeley DB is available]
)
fi
])dnl
dnl
...
...
@@ -227,7 +227,7 @@ AC_DEFUN([OL_GDBM],
fi
])
if test $ol_cv_gdbm = yes ; then
AC_DEFINE(HAVE_GDBM,1)
AC_DEFINE(HAVE_GDBM,1
, [define if GNU DBM is available]
)
fi
])dnl
dnl
...
...
@@ -283,7 +283,7 @@ AC_DEFUN([OL_NDBM],
fi
])
if test $ol_cv_ndbm = yes ; then
AC_DEFINE(HAVE_NDBM,1)
AC_DEFINE(HAVE_NDBM,1
, [define if NDBM is available]
)
fi
])dnl
dnl
...
...
@@ -363,7 +363,7 @@ main()
[ol_cv_c_upper_lower=safe])])
AC_MSG_RESULT($ol_cv_c_upper_lower)
if test $ol_cv_c_upper_lower != no ; then
AC_DEFINE(C_UPPER_LOWER,1)
AC_DEFINE(C_UPPER_LOWER,1
, [define if toupper() requires islower()]
)
fi
])
...
...
@@ -386,7 +386,8 @@ AC_MSG_RESULT($ol_cv_dcl_sys_errlist)
# It's possible (for near-UNIX clones) that sys_errlist doesn't exist
if test $ol_cv_dcl_sys_errlist = no ; then
AC_DEFINE(DECL_SYS_ERRLIST,1)
AC_DEFINE(DECL_SYS_ERRLIST,1,
[define if sys_errlist is declared in stdio.h or errno.h])
AC_MSG_CHECKING([existence of sys_errlist])
AC_CACHE_VAL(ol_cv_have_sys_errlist,[
AC_TRY_LINK([#include <errno.h>],
...
...
@@ -410,7 +411,7 @@ AC_DEFUN(OL_C_VOLATILE,
if test $ol_cv_c_volatile = yes; then
:
else
AC_DEFINE(volatile,
)
AC_DEFINE(volatile,)
fi
])dnl
...
...
@@ -440,7 +441,8 @@ AC_DEFUN(OL_FUNC_CTIME_R_NARGS,
fi
])
if test $ol_cv_func_ctime_r_nargs -gt 1 ; then
AC_DEFINE_UNQUOTED(CTIME_R_NARGS, $ol_cv_func_ctime_r_nargs)
AC_DEFINE_UNQUOTED(CTIME_R_NARGS, $ol_cv_func_ctime_r_nargs,
[set to the number of arguments ctime_r() expects])
fi
])dnl
dnl --------------------------------------------------------------------
...
...
@@ -452,7 +454,7 @@ AC_DEFUN(OL_FUNC_CTIME_R_TYPE,
ol_cv_func_ctime_r_type="int", ol_cv_func_ctime_r_type="charp")
])
if test $ol_cv_func_ctime_r_type = "int" ; then
AC_DEFINE
_UNQUOTED
(CTIME_R_RETURNS_INT,
1)
AC_DEFINE(CTIME_R_RETURNS_INT,1
, [define if ctime_r() returns int]
)
fi
])dnl
dnl ====================================================================
...
...
@@ -484,7 +486,9 @@ AC_DEFUN(OL_FUNC_GETHOSTBYNAME_R_NARGS,
fi
])
if test $ol_cv_func_gethostbyname_r_nargs -gt 1 ; then
AC_DEFINE_UNQUOTED(GETHOSTBYNAME_R_NARGS, $ol_cv_func_gethostbyname_r_nargs)
AC_DEFINE_UNQUOTED(GETHOSTBYNAME_R_NARGS,
$ol_cv_func_gethostbyname_r_nargs,
[set to the number of arguments gethostbyname_r() expects])
fi
])dnl
dnl check no of arguments for gethostbyaddr_r
...
...
@@ -523,7 +527,9 @@ AC_DEFUN(OL_FUNC_GETHOSTBYADDR_R_NARGS,
fi
])
if test $ol_cv_func_gethostbyaddr_r_nargs -gt 1 ; then
AC_DEFINE_UNQUOTED(GETHOSTBYADDR_R_NARGS, $ol_cv_func_gethostbyaddr_r_nargs)
AC_DEFINE_UNQUOTED(GETHOSTBYADDR_R_NARGS,
$ol_cv_func_gethostbyaddr_r_nargs,
[set to the number of arguments gethostbyaddr_r() expects])
fi
])dnl
This diff is collapsed.
Click to expand it.
configure.in
+
17
−
8
View file @
625efd94
...
...
@@ -463,28 +463,37 @@ if test $ol_with_tls != no ; then
AC_CHECK_HEADERS(ssl.h)
if test $ac_cv_header_ssl_h = yes ; then
AC_CHECK_LIB( ssl, SSLeay_add_ssl_algorithms,
[have_ssleay=yes], [have_ssleay=no], [-lcrypto])
AC_CHECK_LIB(ssl, SSLeay_add_ssl_algorithms,
[have_ssleay=yes
need_rsaref=no],
[have_ssleay=no],
[-lcrypto])
if test $have_ssleay = no ; then
AC_CHECK_LIB( ssl, ssl3_accept,
[have_ssleay=yes], [have_ssleay=no], [-lcrypto -lRSAglue -lrsaref])
AC_CHECK_LIB(ssl, ssl3_accept,
[have_ssleay=yes
need_rsaref=yes], [have_ssleay=no],
[-lcrypto -lRSAglue -lrsaref])
fi
if test $have_ssleay = yes ; then
ol_with_tls=found
ol_link_tls=yes
AC_DEFINE(
HAVE_SSLEAY, 1,
[define if you have SSLeay
]
)
AC_DEFINE(HAVE_SSLEAY, 1,
[define if you have SSLeay
or OpenSSL]
)
TLS_LIBS="-lssl -lcrypto"
if test $need_rsaref = yes; then
TLS_LIBS="-lssl -lcrypto -lRSAglue -lrsaref"
else
TLS_LIBS="-lssl -lcrypto"
fi
fi
fi
fi
if test $ol_link_tls = yes ; then
AC_DEFINE(
HAVE_TLS, 1, [define if you have TLS]
)
AC_DEFINE(HAVE_TLS, 1, [define if you have TLS])
fi
ol_link_threads=no
...
...
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