Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
1f09a857
Commit
1f09a857
authored
Dec 14, 2006
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make --with-ldap build on Unixware, per Olivier Prenant.
parent
0bc8a5b6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
11 deletions
+16
-11
configure
configure
+5
-5
configure.in
configure.in
+8
-6
src/template/unixware
src/template/unixware
+3
-0
No files found.
configure
View file @
1f09a857
...
...
@@ -17185,7 +17185,7 @@ if test "${ac_cv_lib_ldap_ldap_bind+set}" = set; then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
ac_check_lib_save_LIBS
=
$LIBS
LIBS
=
"-lldap
$LIBS
"
LIBS
=
"-lldap
$EXTRA_LDAP_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
...
...
@@ -17256,7 +17256,7 @@ echo "$as_me: error: library 'ldap' is required for LDAP" >&2;}
{
(
exit
1
)
;
exit
1
;
}
;
}
fi
LDAP_LIBS_BE
=
"-lldap"
LDAP_LIBS_BE
=
"-lldap
$EXTRA_LDAP_LIBS
"
if
test
"
$enable_thread_safety
"
=
yes
;
then
# on some platforms ldap_r fails to link without PTHREAD_LIBS
...
...
@@ -17266,7 +17266,7 @@ if test "${ac_cv_lib_ldap_r_ldap_simple_bind+set}" = set; then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
ac_check_lib_save_LIBS
=
$LIBS
LIBS
=
"-lldap_r
$PTHREAD_LIBS
$LIBS
"
LIBS
=
"-lldap_r
$PTHREAD_LIBS
$
EXTRA_LDAP_LIBS
$
LIBS
"
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
...
...
@@ -17337,9 +17337,9 @@ echo "$as_me: error: library 'ldap_r' is required for LDAP" >&2;}
{
(
exit
1
)
;
exit
1
;
}
;
}
fi
LDAP_LIBS_FE
=
"-lldap_r"
LDAP_LIBS_FE
=
"-lldap_r
$EXTRA_LDAP_LIBS
"
else
LDAP_LIBS_FE
=
"-lldap"
LDAP_LIBS_FE
=
"-lldap
$EXTRA_LDAP_LIBS
"
fi
else
...
...
configure.in
View file @
1f09a857
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.49
1 2006/12/02 16:43:12
tgl Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.49
2 2006/12/14 21:49:54
tgl Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
...
...
@@ -1122,16 +1122,18 @@ AC_SUBST(PTHREAD_LIBS)
if test "$with_ldap" = yes ; then
_LIBS="$LIBS"
if test "$PORTNAME" != "win32"; then
AC_CHECK_LIB(ldap, ldap_bind, [], [AC_MSG_ERROR([library 'ldap' is required for LDAP])])
LDAP_LIBS_BE="-lldap"
AC_CHECK_LIB(ldap, ldap_bind, [],
[AC_MSG_ERROR([library 'ldap' is required for LDAP])],
[$EXTRA_LDAP_LIBS])
LDAP_LIBS_BE="-lldap $EXTRA_LDAP_LIBS"
if test "$enable_thread_safety" = yes; then
# on some platforms ldap_r fails to link without PTHREAD_LIBS
AC_CHECK_LIB(ldap_r, ldap_simple_bind, [],
[AC_MSG_ERROR([library 'ldap_r' is required for LDAP])],
[$PTHREAD_LIBS])
LDAP_LIBS_FE="-lldap_r"
[$PTHREAD_LIBS
$EXTRA_LDAP_LIBS
])
LDAP_LIBS_FE="-lldap_r
$EXTRA_LDAP_LIBS
"
else
LDAP_LIBS_FE="-lldap"
LDAP_LIBS_FE="-lldap
$EXTRA_LDAP_LIBS
"
fi
else
AC_CHECK_LIB(wldap32, ldap_bind, [], [AC_MSG_ERROR([library 'wldap32' is required for LDAP])])
...
...
src/template/unixware
View file @
1f09a857
...
...
@@ -32,3 +32,6 @@ __EOF__
# per report from Olivier PRENANT <ohp@pyrenet.fr>
fi
# Unixware's ldap library reportedly needs these too
EXTRA_LDAP_LIBS="-llber -lresolv"
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