--- ./tools/ccopts.sh.orig	2024-10-31 00:50:21.784137000 -0400
+++ ./tools/ccopts.sh	2024-10-31 00:50:21.888849000 -0400
@@ -361,25 +361,25 @@
 esac
 if [ -z "$DISABLE_AUTODETECT" ] && [ $HASDYNLOAD -gt 0 ] ; then
 	# ODBC support
-	for includepath in $ODBCPATHS ; do
-		if [ -f $includepath ] ; then
-			echo "ODBC interface detected, enabling ODBC support." >&2 ;
-			CCARGS="$CCARGS -DHAS_ODBC" ;
-			if [ "$(dirname $includepath)" != "/usr/include" ] ; then
-				CCARGS="$CCARGS -I$(dirname $includepath)" ;
-			fi ;
-			break ;
-		fi ;
-	done
+	#for includepath in $ODBCPATHS ; do
+	#	if [ -f $includepath ] ; then
+	#		echo "ODBC interface detected, enabling ODBC support." >&2 ;
+	#		CCARGS="$CCARGS -DHAS_ODBC" ;
+	#		if [ "$(dirname $includepath)" != "/usr/include" ] ; then
+	#			CCARGS="$CCARGS -I$(dirname $includepath)" ;
+	#		fi ;
+	#		break ;
+	#	fi ;
+	#done
 
 	# LDAP support
-	if [ -f /usr/include/ldap.h ] ; then
-		echo "LDAP interface detected, enabling LDAP support" >&2 ;
-		CCARGS="$CCARGS -DHAS_LDAP" ;
-		if [ $ISDEVELOPMENT -gt 0 ] ; then
-			CCARGS="$CCARGS -DUSE_LDAP" ;
-		fi ;
-	fi
+	#if [ -f /usr/include/ldap.h ] ; then
+	#	echo "LDAP interface detected, enabling LDAP support" >&2 ;
+	#	CCARGS="$CCARGS -DHAS_LDAP" ;
+	#	if [ $ISDEVELOPMENT -gt 0 ] ; then
+	#		CCARGS="$CCARGS -DUSE_LDAP" ;
+	#	fi ;
+	#fi
 
 	# PKCS #11 support
 	for includepath in $PKCS11PATHS ; do
