]> granicus.if.org Git - postgresql/commitdiff
Put AC_MSG_RESULT() call in the right place.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 7 Dec 2016 00:34:29 +0000 (19:34 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 7 Dec 2016 00:34:29 +0000 (19:34 -0500)
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
configure.in

index c8cc9ee5cb97a41173cc1be55acf5afe27da1004..ed5c30ecde4dbe4a46952fd1ef0db7eb5089d1f0 100755 (executable)
--- 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
index 5d58c4493498a6306fdbd0b8ab44e61a5bbe5d61..b8c3d4d5c97e91d54e8bdac0845db6cea4109a5a 100644 (file)
@@ -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"