2014-04-05 23:22:43 +02:00
|
|
|
dnl ---- configure.ac for gb.db.odbc driver
|
2007-12-30 17:41:49 +01:00
|
|
|
|
|
|
|
dnl ---- Initialization
|
|
|
|
|
2014-04-05 23:22:43 +02:00
|
|
|
m4_include([../version.m4])
|
|
|
|
AC_INIT(gambas3-gb-db-odbc, GB_VERSION, GB_MAIL, [], GB_URL)
|
2009-08-17 00:07:48 +02:00
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2014-04-05 23:22:43 +02:00
|
|
|
|
2007-12-30 17:41:49 +01:00
|
|
|
GB_INIT(gb.db.odbc)
|
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
|
|
|
|
dnl ---- ODBC driver
|
|
|
|
|
|
|
|
GB_COMPONENT(
|
2012-05-18 03:19:15 +02:00
|
|
|
odbc, ODBC, gb.db.odbc, [src],
|
2007-12-30 17:41:49 +01:00
|
|
|
[GB_FIND(sql.h sqlext.h sqltypes.h, /usr/local/lib /usr/local /opt /usr/lib /usr, include odbc*/include)],
|
2012-07-31 20:24:47 +02:00
|
|
|
[GB_FIND(libodbc.$SHLIBEXT, /usr/local /opt /usr /opt/local, lib odbc*/lib )],
|
2007-12-30 17:41:49 +01:00
|
|
|
[$C_LIB -lodbc])
|
|
|
|
|
|
|
|
dnl ---- Create makefiles
|
|
|
|
|
|
|
|
AC_OUTPUT( \
|
|
|
|
Makefile \
|
|
|
|
src/Makefile \
|
|
|
|
)
|
2010-07-14 03:50:18 +02:00
|
|
|
|
|
|
|
GB_PRINT_MESSAGES
|