Skip to content
Snippets Groups Projects
Commit 9273637f authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#6125

parent 725d3831
No related branches found
No related tags found
No related merge requests found
#! /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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment