--- cliplibs/clip-odbc/configure.orig	Fri Dec 26 21:34:59 2003
+++ cliplibs/clip-odbc/configure	Sat Apr 16 16:43:29 2005
@@ -19,24 +19,12 @@
 }
 EOF
 
-LIBODBC=''
-LIBOOB=''
-
-gcc -o test_odbc test_odbc.c -liodbc >/dev/null 2>&1 && LIBODBC='-liodbc' && echo 'iODBC driver manager were found'
-
-if [ -z "$LIBODBC" ]
-then
-	gcc -o test_odbc test_odbc.c -lodbc >/dev/null 2>&1 && LIBODBC='-lodbc' && echo 'unixODBC driver manager were found'
-fi
-
-if [ -z "$LIBODBC" ]
-then
-	echo 'No ODBC driver`s manager were found'
-	exitf 1
+if [ -n "$WITH_IODBC" ]; then
+	LIBODBC=-liodbc
+else
+	LIBODBC=-lodbc
 fi
-
-gcc -o test_odbc test_odbc.c -L/usr/local/easysoft/oob/client -lesoobclient >/dev/null 2>&1 && LIBOOB='-L\/usr\/local\/easysoft\/oob\/client -lesoobclient' && echo 'ODBC-ODBC bridge client were found'
-
-sed -e "s/@LIBODBC@/$LIBODBC/g" < Makefile.in | sed -e "s/@LIBOOB@/$LIBOOB/g" - >Makefile
+	
+sed -e "s/@LIBODBC@/$LIBODBC/g" < Makefile.in | sed -e "s/@LIBOOB@/$LIBOOB/g" >Makefile
 
 exitf 0
