blob: d0e7874d4de6d43b7a90a6aaedf7c47170b51d24 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
--- 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
|