From 2d95396b67f5d29cc1c00157676d8ea83e6a9eb8 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 18 Oct 2024 12:33:10 +0200 Subject: [PATCH] build: fix spellos in configure.ac "safe" is the antonym to "unsafe", but it's not like CFLAGS is unsafe. You really want "saved" here. Fixes: sssd-1_13_1-169-g6b01dae73 --- configure.ac | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index b5222ae973f..838b0642701 100644 --- a/configure.ac +++ b/configure.ac @@ -299,9 +299,9 @@ AS_IF([! $PKG_CONFIG --atleast-version 1.0.0 dbus-1], [ ]) AS_IF([test x$has_dbus != xno], [ - SAFE_LIBS="$LIBS" + SAVED_LIBS="$LIBS" LIBS="$DBUS_LIBS" - SAFE_CFLAGS=$CFLAGS + SAVED_CFLAGS=$CFLAGS CFLAGS="$CFLAGS $DBUS_CFLAGS" AC_CHECK_FUNC([dbus_watch_get_unix_fd], @@ -312,8 +312,8 @@ AS_IF([test x$has_dbus != xno], [ [], [ #include ]) - LIBS="$SAFE_LIBS" - CFLAGS=$SAFE_CFLAGS + LIBS="$SAVED_LIBS" + CFLAGS=$SAVED_CFLAGS ]) # work around a bug in cov-build from Coverity @@ -478,7 +478,7 @@ AS_IF([test x"$sss_cv_attribute_warn_unused_result" = xyes], [ [whether compiler supports __attribute__((warn_unused_result))]) ]) -SAFE_CFLAGS=$CFLAGS +SAVED_CFLAGS=$CFLAGS CFLAGS="-Werror" AC_CACHE_CHECK( [whether compiler supports __attribute__((fallthrough))], @@ -504,7 +504,7 @@ AC_CACHE_CHECK( sss_cv_attribute_fallthrough_val="((void)0)" ]) ]) -CFLAGS=$SAFE_CFLAGS +CFLAGS=$SAVED_CFLAGS AC_DEFINE_UNQUOTED( [SSS_ATTRIBUTE_FALLTHROUGH],