From c648f058319a59ad591dd9d1b0c48dfd655d063a Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 6 Dec 2016 19:34:29 -0500 Subject: [PATCH] Put AC_MSG_RESULT() call in the right place. Thinko in ecb0d20a9 --- this needs to go one level further out in the "if" nest. As it stood, nothing got printed in the case of selecting named POSIX semaphores. Cosmetic issue only, but a bug. --- configure | 2 +- configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index c8cc9ee5cb9..ed5c30ecde4 100755 --- a/configure +++ b/configure @@ -14989,9 +14989,9 @@ $as_echo "#define USE_SYSV_SEMAPHORES 1" >>confdefs.h SEMA_IMPLEMENTATION="src/backend/port/sysv_sema.c" sematype="System V" fi + fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sematype" >&5 $as_echo "$sematype" >&6; } - fi else $as_echo "#define USE_WIN32_SEMAPHORES 1" >>confdefs.h diff --git a/configure.in b/configure.in index 5d58c449349..b8c3d4d5c97 100644 --- a/configure.in +++ b/configure.in @@ -1955,8 +1955,8 @@ if test "$PORTNAME" != "win32"; then SEMA_IMPLEMENTATION="src/backend/port/sysv_sema.c" sematype="System V" fi - AC_MSG_RESULT([$sematype]) fi + AC_MSG_RESULT([$sematype]) else AC_DEFINE(USE_WIN32_SEMAPHORES, 1, [Define to select Win32-style semaphores.]) SEMA_IMPLEMENTATION="src/backend/port/win32_sema.c"