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
David Barchiesi
OpenLDAP
Commits
ab24a525
Commit
ab24a525
authored
16 years ago
by
Quanah Gibson-Mount
Browse files
Options
Downloads
Patches
Plain Diff
ITS#5602
parent
c7a2fe23
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGES
+2
-0
2 additions, 0 deletions
CHANGES
configure
+79
-3
79 additions, 3 deletions
configure
configure.in
+10
-3
10 additions, 3 deletions
configure.in
with
91 additions
and
6 deletions
CHANGES
+
2
−
0
View file @
ab24a525
...
...
@@ -5,6 +5,8 @@ OpenLDAP 2.4.12 Engineering
Fixed slapd-meta quarantine behavior (ITS#5592)
Fixed slapo-constraint string termination (ITS#5609)
Fixed slapo-rwm callback cleanup (ITS#5601)
Build Environment
Fixed ODBC library detection (ITS#5602)
OpenLDAP 2.4.11 Release (2008/07/16)
Fixed liblber ber_get_next length decoding (ITS#5580)
...
...
This diff is collapsed.
Click to expand it.
configure
+
79
−
3
View file @
ab24a525
...
...
@@ -1085,7 +1085,7 @@ Optional Packages:
--with-tls with TLS/SSL support auto|openssl|gnutls [auto]
--with-yielding-select with implicitly yielding select [auto]
--with-mp with multiple precision statistics auto|longlong|long|bignum|gmp [auto]
--with-odbc with specific ODBC support iodbc|unixodbc|auto [auto]
--with-odbc with specific ODBC support iodbc|unixodbc|
odbc32|
auto [auto]
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-pic try to use only PIC/non-PIC objects [default=use
both]
...
...
@@ -2455,7 +2455,7 @@ if test "${with_odbc+set}" = set; then
withval="$with_odbc"
ol_arg=invalid
for ol_val in auto iodbc unixodbc ; do
for ol_val in auto iodbc unixodbc
odbc32
; do
if test "$withval" = "$ol_val" ; then
ol_arg="$ol_val"
fi
...
...
@@ -31915,7 +31915,7 @@ done
LIBS="$LTHREAD_LIBS"
if test $ol_with_odbc = auto ; then
ol_with_odbc="iodbc unixodbc"
ol_with_odbc="iodbc unixodbc
odbc32
"
fi
for odbc in $ol_with_odbc ; do
...
...
@@ -32073,6 +32073,82 @@ fi
fi
;;
odbc32)
echo "$as_me:$LINENO: checking for SQLDriverConnect in -lodbc32" >&5
echo $ECHO_N "checking for SQLDriverConnect in -lodbc32... $ECHO_C" >&6
if test "${ac_cv_lib_odbc32_SQLDriverConnect+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lodbc32 $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char SQLDriverConnect ();
int
main ()
{
SQLDriverConnect ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
(eval $ac_link) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_odbc32_SQLDriverConnect=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_odbc32_SQLDriverConnect=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_odbc32_SQLDriverConnect" >&5
echo "${ECHO_T}$ac_cv_lib_odbc32_SQLDriverConnect" >&6
if test $ac_cv_lib_odbc32_SQLDriverConnect = yes; then
have_odbc32=yes
else
have_odbc32=no
fi
if test $have_odbc32 = yes ; then
ol_link_sql="-lodbc32"
fi
;;
*)
{ { echo "$as_me:$LINENO: error: unknown ODBC library" >&5
echo "$as_me: error: unknown ODBC library" >&2;}
This diff is collapsed.
Click to expand it.
configure.in
+
10
−
3
View file @
ab24a525
...
...
@@ -253,8 +253,8 @@ OL_ARG_WITH(mp,
[ --with-mp with multiple precision statistics auto|longlong|long|bignum|gmp],
auto, [auto longlong long bignum gmp yes no])
OL_ARG_WITH(odbc,
[ --with-odbc with specific ODBC support iodbc|unixodbc|auto],
auto, [auto iodbc unixodbc] )
[ --with-odbc with specific ODBC support iodbc|unixodbc|
odbc32|
auto],
auto, [auto iodbc unixodbc
odbc32
] )
dnl ----------------------------------------------------------------
dnl Server options
...
...
@@ -1929,7 +1929,7 @@ if test $ol_enable_sql != no ; then
LIBS="$LTHREAD_LIBS"
if test $ol_with_odbc = auto ; then
ol_with_odbc="iodbc unixodbc"
ol_with_odbc="iodbc unixodbc
odbc32
"
fi
for odbc in $ol_with_odbc ; do
...
...
@@ -1949,6 +1949,13 @@ if test $ol_enable_sql != no ; then
fi
;;
odbc32)
AC_CHECK_LIB(odbc32, SQLDriverConnect, [have_odbc32=yes], [have_odbc32=no])
if test $have_odbc32 = yes ; then
ol_link_sql="-lodbc32"
fi
;;
*)
AC_MSG_ERROR([unknown ODBC library])
;;
...
...
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