gambas-source-code/gb.db.mysql/configure.ac
Benoît Minisini a1635a40a5 [GB.DB.MYSQL]
* NEW: Search include and library files in /opt/local for Mac OS X.

[GB.OPENGL]
* NEW: Search include and library files in /opt/local for Mac OS X. But it 
  does not compile yet.

[GB.QT4]
* NEW: Make the component compile on Mac OS X with the qt4-mac port. The
  Embedder and TrayIcon classes now do nothing.
* BUG: The compilation now uses the C++ flags, not the C flags anymore!



git-svn-id: svn://localhost/gambas/trunk@2622 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-21 16:46:21 +00:00

20 lines
459 B
Text

dnl ---- configure.ac for gb.db.mysql driver
AC_INIT(configure.ac)
AC_CONFIG_MACRO_DIR([m4])
GB_INIT(gb.db.mysql)
LT_INIT
GB_COMPONENT(
mysql,
MYSQL,
[MySQL driver],
[src],
[GB_FIND(mysql.h my_config.h, /opt/local /opt /usr/local/lib /usr/local /usr/lib /usr, include mysql*/include)],
[GB_FIND(libmysqlclient.$SHLIBEXT, /opt/local /opt /usr/local /usr, lib mysql*/lib)],
[$C_LIB -lmysqlclient -lz])
AC_OUTPUT( \
Makefile \
src/Makefile \
)