Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ecfc2c15
Commit
ecfc2c15
authored
Nov 29, 2005
by
Hans Leidekker
Committed by
Alexandre Julliard
Nov 29, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Link to the reentrant version of libldap.
parent
83befb5d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
13 deletions
+15
-13
configure
configure
+11
-11
configure.ac
configure.ac
+4
-2
No files found.
configure
View file @
ecfc2c15
...
...
@@ -9615,13 +9615,13 @@ LDAPLIBS=""
if
test
"
$ac_cv_header_ldap_h
"
=
"yes"
-a
"
$ac_cv_header_lber_h
"
=
"yes"
then
echo
"
$as_me
:
$LINENO
: checking for ldap_initialize in -lldap"
>
&5
echo
$ECHO_N
"checking for ldap_initialize in -lldap...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_lib_ldap_ldap_initialize
+set
}
"
=
set
;
then
echo
"
$as_me
:
$LINENO
: checking for ldap_initialize in -lldap
_r
"
>
&5
echo
$ECHO_N
"checking for ldap_initialize in -lldap
_r
...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_lib_ldap_
r_
ldap_initialize
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
ac_check_lib_save_LIBS
=
$LIBS
LIBS
=
"-lldap
$LIBS
"
LIBS
=
"-lldap
_r
$LIBPTHREAD
$LIBS
"
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
...
...
@@ -9665,27 +9665,27 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
;
}
;
then
ac_cv_lib_ldap_ldap_initialize
=
yes
ac_cv_lib_ldap_
r_
ldap_initialize
=
yes
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
ac_cv_lib_ldap_ldap_initialize
=
no
ac_cv_lib_ldap_
r_
ldap_initialize
=
no
fi
rm
-f
conftest.err conftest.
$ac_objext
\
conftest
$ac_exeext
conftest.
$ac_ext
LIBS
=
$ac_check_lib_save_LIBS
fi
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_lib_ldap_ldap_initialize
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_lib_ldap_ldap_initialize
"
>
&6
if
test
$ac_cv_lib_ldap_ldap_initialize
=
yes
;
then
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_lib_ldap_
r_
ldap_initialize
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_lib_ldap_
r_
ldap_initialize
"
>
&6
if
test
$ac_cv_lib_ldap_
r_
ldap_initialize
=
yes
;
then
echo
"
$as_me
:
$LINENO
: checking for ber_init in -llber"
>
&5
echo
$ECHO_N
"checking for ber_init in -llber...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_lib_lber_ber_init
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
ac_check_lib_save_LIBS
=
$LIBS
LIBS
=
"-llber
$LIBS
"
LIBS
=
"-llber
$LIBPTHREAD
$LIBS
"
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
...
...
@@ -9748,7 +9748,7 @@ cat >>confdefs.h <<\_ACEOF
#define HAVE_LDAP 1
_ACEOF
LDAPLIBS
=
"-lldap -llber"
LDAPLIBS
=
"-lldap
_r
-llber"
fi
fi
...
...
configure.ac
View file @
ecfc2c15
...
...
@@ -545,10 +545,12 @@ dnl **** Check for OpenLDAP ***
AC_SUBST(LDAPLIBS,"")
if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
then
AC_CHECK_LIB(ldap, ldap_initialize,
AC_CHECK_LIB(ldap
_r
, ldap_initialize,
[AC_CHECK_LIB(lber, ber_init,
[AC_DEFINE(HAVE_LDAP, 1, [Define if you have the OpenLDAP development environment])
LDAPLIBS="-lldap -llber"])])
LDAPLIBS="-lldap_r -llber"],,
[$LIBPTHREAD])],,
[$LIBPTHREAD])
fi
dnl **** Check for FreeType 2 ****
...
...
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