pgpool2.git / summary / log / commit / refs

commit    06eda93678ca9272d7aa352a796ebd3e7b02a5d6
Author:   Bo Peng <pengbo@sraoss.co.jp>
Date:     Wed May 05 07:58:44 2021 +0000

    Update configure file.


configure | 11 +++++++++++ src/Makefile.in | 3 ++- src/include/config.h.in | 3 +++ src/parser/gram.c | 4 ++-- src/tools/pgmd5/pool_config.c | 1 - 5 files changed, 18 insertions(+), 4 deletions(-) diff --git a/configure b/configure index d0b06e8ae..4a436133e 100755 --- a/configure +++ b/configure @@ -15405,6 +15405,17 @@ _ACEOF fi done +for ac_func in PQpingParams +do : + ac_fn_c_check_func "$LINENO" "PQpingParams" "ac_cv_func_PQpingParams" +if test "x$ac_cv_func_PQpingParams" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_PQPINGPARAMS 1 +_ACEOF + +fi +done + LDFLAGS="$OLD_LDFLAGS" LIBS="$OLD_LIBS" diff --git a/src/Makefile.in b/src/Makefile.in index a0acbde05..b4aaf4e5f 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -308,7 +308,8 @@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ \ -DDEFAULT_CONFIGDIR=\"$(sysconfdir)\" \ - -DHEALTHCHECK_OPTS=$(HEALTHCHECK_DEBUG) + -DHEALTHCHECK_OPTS=$(HEALTHCHECK_DEBUG) \ + -DPGSQL_BIN_DIR=\"$(PGSQL_BIN_DIR)\" DLLTOOL = @DLLTOOL@ DOCBOOKSTYLE = @DOCBOOKSTYLE@ diff --git a/src/include/config.h.in b/src/include/config.h.in index dcb2f7373..f1a7d8f27 100644 --- a/src/include/config.h.in +++ b/src/include/config.h.in @@ -131,6 +131,9 @@ /* Define to 1 if you have the <pam/pam_appl.h> header file. */ #undef HAVE_PAM_PAM_APPL_H +/* Define to 1 if you have the `PQpingParams' function. */ +#undef HAVE_PQPINGPARAMS + /* Define to 1 if you have the `PQprepare' function. */ #undef HAVE_PQPREPARE diff --git a/src/parser/gram.c b/src/parser/gram.c index 21b018cac..2f133ae6f 100644 --- a/src/parser/gram.c +++ b/src/parser/gram.c @@ -27143,7 +27143,7 @@ yyreduce: #line 1458 "gram.y" /* yacc.c:1646 */ { VariableSetStmt *n = (yyvsp[0].vsetstmt); - n->type = T_PgpoolVariableSetStmt; /* Hack to keep changes minumum */ + n->type = T_PgpoolVariableSetStmt; /* Hack to keep changes minimum */ n->is_local = false; (yyval.node) = (Node *) n; } @@ -27568,7 +27568,7 @@ yyreduce: #line 1718 "gram.y" /* yacc.c:1646 */ { VariableSetStmt *n = (yyvsp[0].vsetstmt); - n->type = T_PgpoolVariableSetStmt; /* Hack to keep the changes minumum */ + n->type = T_PgpoolVariableSetStmt; /* Hack to keep the changes minimum */ (yyval.node) = (Node *) n; } #line 27575 "gram.c" /* yacc.c:1646 */ diff --git a/src/tools/pgmd5/pool_config.c b/src/tools/pgmd5/pool_config.c deleted file mode 120000 index 2636b7861..000000000 --- a/src/tools/pgmd5/pool_config.c +++ /dev/null @@ -1 +0,0 @@ -../../../src/config/pool_config.c \ No newline at end of file [parent: aae389286170]