[pulseaudio-discuss] [PATCH v3 07/12] build-sys: remove a redundant enable_gsettings check

Tanu Kaskinen tanuk at iki.fi
Tue Apr 17 06:07:37 UTC 2018


If HAVE_GSETTINGS is 1, then enable_gsettings must be yes, so checking
enable_gsettings isn't necessary.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 5720c28e4..2d3022e21 100644
--- a/configure.ac
+++ b/configure.ac
@@ -942,7 +942,7 @@ AS_IF([test "x$enable_gsettings" = "xyes" && test "x$HAVE_GSETTINGS" = "x0"],
 AM_CONDITIONAL([HAVE_GSETTINGS], [test "x$HAVE_GSETTINGS" = x1])
 AC_SUBST([HAVE_GSETTINGS])
 
-if test "x$enable_gsettings" = "xyes" && test "x$HAVE_GSETTINGS" = "x1" ; then
+if test "x$HAVE_GSETTINGS" = "x1" ; then
     GLIB_GSETTINGS
 fi
 
-- 
2.16.3



More information about the pulseaudio-discuss mailing list