2014-04-05 23:22:43 +02:00
|
|
|
dnl ---- configure.ac for gb.db.postgresql driver
|
|
|
|
|
2007-12-30 17:41:49 +01:00
|
|
|
dnl ---- Initialization
|
|
|
|
|
2014-04-05 23:22:43 +02:00
|
|
|
m4_include([../version.m4])
|
2022-09-03 13:24:51 +02:00
|
|
|
AC_INIT([gambas3-gb-db-postgresql],[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.postgresql)
|
2022-09-03 13:24:51 +02:00
|
|
|
LT_INIT
|
2007-12-30 17:41:49 +01:00
|
|
|
|
|
|
|
dnl ---- PostgreSQL driver
|
|
|
|
|
|
|
|
GB_COMPONENT(
|
2012-05-18 03:19:15 +02:00
|
|
|
postgresql, POSTGRESQL, gb.db.postgresql, [src],
|
2021-11-07 20:42:27 +01:00
|
|
|
[GB_FIND(libpq-fe.h, $prefix /usr/local/lib /usr/local /opt /usr/lib /usr, include/pgsql* pgsql*/include include/postgresql* postgresql*/include include)],
|
2018-08-29 03:11:22 +02:00
|
|
|
[GB_FIND(libpq.$SHLIBEXT, $prefix /usr/local /opt /usr, lib pgsql*/lib postgresql*/lib)],
|
2007-12-30 17:41:49 +01:00
|
|
|
[$C_LIB -lpq])
|
|
|
|
|
|
|
|
dnl ---- Create makefiles
|
|
|
|
|
2022-09-03 13:24:51 +02:00
|
|
|
AC_CONFIG_FILES([\
|
2007-12-30 17:41:49 +01:00
|
|
|
Makefile \
|
|
|
|
src/Makefile \
|
2022-09-03 13:24:51 +02:00
|
|
|
])
|
|
|
|
AC_OUTPUT
|
2010-07-14 03:50:18 +02:00
|
|
|
|
|
|
|
GB_PRINT_MESSAGES
|