From d97e7f39d85104a7ca8d6e55ece88ce832bfd455 Mon Sep 17 00:00:00 2001 From: Jon Shallow Date: Sat, 6 Dec 2025 10:02:44 +0000 Subject: [PATCH] configure.ac: Fix observe-persist support --- configure.ac | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index a4134126..568f8728 100644 --- a/configure.ac +++ b/configure.ac @@ -1032,7 +1032,7 @@ AS_IF([test "x$build_async" = "xyes"], # configure options # __observe_persist__ -AC_ARG_ENABLE([async], +AC_ARG_ENABLE([observe-persist], [AS_HELP_STRING([--enable-observe-persist], [Enable building with support for persisting observes over a server restart [default=yes]])], [build_observe_persist="$enableval"], @@ -1489,14 +1489,14 @@ if test "x$build_add_default_names" = "xyes"; then else AC_MSG_RESULT([ add default names : "no"]) fi -if test "x$build_observe_persist" = "xyes"; then - AC_MSG_RESULT([ build Observe Persist : "yes"]) -else - AC_MSG_RESULT([ build Observe Persist : "no"]) -fi if test "x$have_epoll" = "xyes"; then AC_MSG_RESULT([ build using epoll : "$with_epoll"]) fi +if test "x$build_observe_persist" = "xyes"; then + AC_MSG_RESULT([ enable Observe Persist support : "yes"]) +else + AC_MSG_RESULT([ enable Observe Persist support : "no"]) +fi AC_MSG_RESULT([ enable small stack size : "$enable_small_stack"]) if test "x$build_async" != "xno"; then AC_MSG_RESULT([ enable separate responses : "yes"])