[Replicant] [libsamsung-ipc] [PATCH 08/21] configure.ac: print CFLAGS

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Fri Jun 17 16:15:40 UTC 2022


Some ./configure options like --enable-valgrind-tests and
--enable-debug do change the default CFLAGS.

As CFLAGS is a variable reserved for the user, it is a good idea to
tell the people building libsamsung-ipc that we are changing the
CFLAGS defaults behind the scenes.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
 configure.ac | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure.ac b/configure.ac
index b7b6f78..6d15ae8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -92,6 +92,11 @@ echo "------------------------------------------------------------------------"
 echo "$PACKAGE_NAME $PACKAGE_VERSION"
 echo "------------------------------------------------------------------------"
 echo
+echo "Compiler flags:"
+echo
+echo "  CFLAGS..................: $CFLAGS"
+echo
+echo
 echo "Configuration Options:"
 echo
 echo "  debug build.............: $debug"
-- 
2.36.1



More information about the Replicant mailing list