From 2c9572d3028da01b5fe0a992ce6a834589fdbbaf Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Tue, 22 Nov 2016 10:35:16 +0100 Subject: [PATCH] build: remove redundant check for ENABLE_GTK_DOC BUILD_SETTING_DOCS is only enabled when we have also ENABLE_GTK_DOC. Remove the redundant check. --- Makefile.am | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 497e1d727..fc5bfb004 100644 --- a/Makefile.am +++ b/Makefile.am @@ -128,13 +128,9 @@ DISTCHECK_CONFIGURE_FLAGS = \ dist-configure-check: @echo "*** 'make dist' requires '--enable-gtk-doc --with-introspection --with-libnm-glib'. ***" @false - if !BUILD_SETTING_DOCS dist_configure_check += dist-configure-check endif -if !ENABLE_GTK_DOC -dist_configure_check += dist-configure-check -endif if !WITH_LEGACY_LIBRARIES dist_configure_check += dist-configure-check endif