3054690743
* NEW: Print a summary of warning messages after each component compilation. [INTERPRETER] * BUG: StrPtr() with a length argument now works correctly. * NEW: Support for callbacks: when converting a function to a Pointer, an internal closure is created with the libffi library. The pointer then can be sent to any extern function as function pointer argument. * BUG: Opening memory stream should work in all cases now. git-svn-id: svn://localhost/gambas/trunk@3038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
26 lines
579 B
Text
26 lines
579 B
Text
dnl ---- Initialization
|
|
|
|
AC_INIT(configure.ac)
|
|
AC_CONFIG_MACRO_DIR([m4])
|
|
GB_INIT(gb.db.postgresql)
|
|
AC_PROG_LIBTOOL
|
|
|
|
dnl ---- PostgreSQL driver
|
|
|
|
GB_COMPONENT(
|
|
postgresql,
|
|
POSTGRESQL,
|
|
[PostgreSQL driver],
|
|
[src],
|
|
[GB_FIND(libpq-fe.h postgres.h pg_type.h, /usr/local/lib /usr/local /opt /usr/lib /usr, include/pgsql* pgsql*/include include/postgresql* postgresql*/include include)],
|
|
[GB_FIND(libpq.$SHLIBEXT, /usr/local /opt /usr, lib pgsql*/lib postgresql*/lib)],
|
|
[$C_LIB -lpq])
|
|
|
|
dnl ---- Create makefiles
|
|
|
|
AC_OUTPUT( \
|
|
Makefile \
|
|
src/Makefile \
|
|
)
|
|
|
|
GB_PRINT_MESSAGES
|