mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-19 02:28:47 -05:00
ITS#6125
This commit is contained in:
parent
725d383164
commit
9273637f2d
1 changed files with 34 additions and 1 deletions
35
configure
vendored
35
configure
vendored
|
|
@ -1,5 +1,5 @@
|
|||
#! /bin/sh
|
||||
# From configure.in OpenLDAP: pkg/ldap/configure.in,v 1.631.2.33 2011/01/31 20:51:37 hyc Exp .
|
||||
# From configure.in OpenLDAP: pkg/ldap/configure.in,v 1.631.2.32 2011/01/04 23:49:25 kurt Exp .
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.65.
|
||||
#
|
||||
|
|
@ -21730,6 +21730,39 @@ else
|
|||
have_odbc32=no
|
||||
fi
|
||||
|
||||
|
||||
if test $have_odbc32 = no ; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLDriverConnect in -lodbc32 with windows.h" >&5
|
||||
$as_echo_n "checking for SQLDriverConnect in -lodbc32 with windows.h... " >&6; }
|
||||
save_LIBS="$LIBS"
|
||||
LIBS="$LIBS -lodbc32"
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
#include <windows.h>
|
||||
#include <sqlext.h>
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
|
||||
SQLDriverConnect(NULL,NULL,NULL,0,NULL,0,NULL,0);
|
||||
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
if ac_fn_c_try_link "$LINENO"; then :
|
||||
have_odbc32=yes
|
||||
else
|
||||
have_odbc32=no
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
LIBS="$save_LIBS"
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_odbc32" >&5
|
||||
$as_echo "$have_odbc32" >&6; }
|
||||
fi
|
||||
|
||||
if test $have_odbc32 = yes ; then
|
||||
ol_link_sql="-lodbc32"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue