From 6348efca64a50623332c6f7c3e61449166d6ac62 Mon Sep 17 00:00:00 2001 From: Hanefi Onaldi Date: Wed, 3 Mar 2021 12:51:16 +0300 Subject: [PATCH] Do not use security flags by default (#4770) (cherry picked from commit 697bbbd3c635e0fdb85463602af3004210084f71) --- configure | 5 ++--- configure.in | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/configure b/configure index 8051dc121..bfa30be26 100755 --- a/configure +++ b/configure @@ -1338,8 +1338,7 @@ Optional Packages: --with-reports-hostname=HOSTNAME Use HOSTNAME as hostname for statistics collection and update checks - --without-security-flags - do not use security flags + --with-security-flags use security flags Some influential environment variables: PG_CONFIG Location to find pg_config for target PostgreSQL instalation @@ -4546,7 +4545,7 @@ if test "${with_security_flags+set}" = set; then : esac else - with_security_flags=yes + with_security_flags=no fi diff --git a/configure.in b/configure.in index 3ccb674ac..42129aaf7 100644 --- a/configure.in +++ b/configure.in @@ -216,8 +216,8 @@ PGAC_ARG_REQ(with, reports-hostname, [HOSTNAME], AC_DEFINE_UNQUOTED(REPORTS_BASE_URL, "$REPORTS_BASE_URL", [Base URL for statistics collection and update checks]) -PGAC_ARG_BOOL(with, security-flags, yes, - [do not use security flags]) +PGAC_ARG_BOOL(with, security-flags, no, + [use security flags]) AC_SUBST(with_security_flags) if test "$with_security_flags" = yes; then