From 38f1a7522bb81f858c7b9f5927abd1a3d72a4cb2 Mon Sep 17 00:00:00 2001
From: Sergey Kosukhin <sergey.kosukhin@mpimet.mpg.de>
Date: Wed, 1 Feb 2023 17:56:52 +0100
Subject: [PATCH] Fix silent configuration.

---
 configure.ac      | 2 +-
 m4/acx_options.m4 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index e3deeacdf..bab84a410 100644
--- a/configure.ac
+++ b/configure.ac
@@ -759,7 +759,7 @@ AC_CONFIG_FILES([
 AC_OUTPUT
 
 AC_MSG_NOTICE([CDI is configured with the following options:])
-cat cdi.settings
+cat cdi.settings >&AS_MESSAGE_FD
 
 AC_MSG_NOTICE([
 
diff --git a/m4/acx_options.m4 b/m4/acx_options.m4
index 02a024d28..63e412dfe 100644
--- a/m4/acx_options.m4
+++ b/m4/acx_options.m4
@@ -16,7 +16,7 @@ AS_CASE([$with_threads],
                LIBS="$PTHREAD_LIBS $LIBS"
                CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
                CC="$PTHREAD_CC"
-               AS_ECHO(["CC:$CC CFLAGS:$CFLAGS LIBS:$LIBS"])],
+               AS_ECHO(["CC:$CC CFLAGS:$CFLAGS LIBS:$LIBS"]) >&AS_MESSAGE_FD],
         [*],[THREADS_ROOT=$with_threads
              LDFLAGS="-L$THREADS_ROOT/lib $LDFLAGS"
              CPPFLAGS="-I$THREADS_ROOT/include $CPPFLAGS "
-- 
GitLab