Initial support for BDR-only build

This commit is contained in:
Ian Barwick
2017-07-16 10:21:24 +09:00
parent a29bc3e0fa
commit a6f8d59f77
4 changed files with 211 additions and 40 deletions

View File

@@ -2,8 +2,16 @@ AC_INIT([repmgr4], [4.0], [pgsql-bugs@postgresql.org], [repmgr4], [https://2ndqu
AC_COPYRIGHT([Copyright (c) 2010-2017, 2ndQuadrant Ltd.])
AC_CONFIG_HEADER(config.h)
AC_ARG_VAR([PG_CONFIG], [Location to find pg_config for target PostgreSQL (default PATH)])
AC_ARG_WITH([bdr_only], [AS_HELP_STRING([--with-bdr-only], [BDR-only build])])
AS_IF([test "x$with_bdr_only" != "x"],
[AC_DEFINE([BDR_ONLY], ["1"], [Only build repmgr for BDR])]
)
AC_PROG_SED
if test -z "$PG_CONFIG"; then