From: Tom Lane Date: Wed, 7 Dec 2016 00:34:29 +0000 (-0500) Subject: Put AC_MSG_RESULT() call in the right place. X-Git-Tag: REL_10_BETA1~1295 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c648f058319a59ad591dd9d1b0c48dfd655d063a;p=postgresql 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. --- diff --git a/configure b/configure index c8cc9ee5cb..ed5c30ecde 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 5d58c44934..b8c3d4d5c9 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"