build-sys: remove a redundant enable_gsettings check
authorTanu Kaskinen <tanuk@iki.fi>
Tue, 17 Apr 2018 06:07:37 +0000 (09:07 +0300)
committerTanu Kaskinen <tanuk@iki.fi>
Thu, 19 Apr 2018 11:38:36 +0000 (14:38 +0300)
If HAVE_GSETTINGS is 1, then enable_gsettings must be yes, so checking
enable_gsettings isn't necessary.

configure.ac

index 5720c28..2d3022e 100644 (file)
@@ -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