2007-12-30 17:41:49 +01:00
|
|
|
dnl ---- configure.ac for gb.db.mysql driver
|
|
|
|
|
|
|
|
AC_INIT(configure.ac)
|
2009-08-17 00:07:48 +02:00
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2007-12-30 17:41:49 +01:00
|
|
|
GB_INIT(gb.db.mysql)
|
2009-08-04 21:14:17 +02:00
|
|
|
LT_INIT
|
2007-12-30 17:41:49 +01:00
|
|
|
|
|
|
|
GB_COMPONENT(
|
|
|
|
mysql,
|
|
|
|
MYSQL,
|
|
|
|
[MySQL driver],
|
|
|
|
[src],
|
|
|
|
[GB_FIND(mysql.h my_config.h, /usr/local/lib /usr/local /opt /usr/lib /usr, include mysql*/include)],
|
|
|
|
[GB_FIND(libmysqlclient.$SHLIBEXT, /usr/local /opt /usr, lib mysql*/lib)],
|
|
|
|
[$C_LIB -lmysqlclient -lz])
|
|
|
|
|
|
|
|
AC_OUTPUT( \
|
|
|
|
Makefile \
|
|
|
|
src/Makefile \
|
|
|
|
)
|