|
|
ODBC_LIB=UNKNOWN | ODBC_LIB=UNKNOWN |
| |
if test -z "$ODBC_DIR" ; then | if test -z "$ODBC_DIR" ; then |
if test -r "$includedir/sql.h" -a -r "$includedir/iodbcinst.h" -a -r "$libdir/libiodbcinst.la" ; then |
if test -r "$includedir/iodbc/sql.h" -a -r "$includedir/iodbc/iodbcinst.h" -a -r "$libdir/libiodbcinst.la" ; then |
ODBC_FLAGS="-DHAVE_IODBC=1 -I$includedir" |
ODBC_FLAGS="-DHAVE_IODBC=1 -I$includedir/iodbc" |
ODBC_LIB="$libdir/libiodbcinst.la" | ODBC_LIB="$libdir/libiodbcinst.la" |
ODBC_DIR="" | ODBC_DIR="" |
elif test -r "$includedir/iodbc/sql.h" -a -r "$includedir/iodbc/iodbcinst.h" -a -r "$libdir/libiodbcinst.la" ; then | elif test -r "$includedir/iodbc/sql.h" -a -r "$includedir/iodbc/iodbcinst.h" -a -r "$libdir/libiodbcinst.la" ; then |