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.
This commit is contained in:
Thomas Haller
2016-11-22 10:35:16 +01:00
parent 98ac6ba5e5
commit 2c9572d302

View File

@@ -128,13 +128,9 @@ DISTCHECK_CONFIGURE_FLAGS = \
dist-configure-check: dist-configure-check:
@echo "*** 'make dist' requires '--enable-gtk-doc --with-introspection --with-libnm-glib'. ***" @echo "*** 'make dist' requires '--enable-gtk-doc --with-introspection --with-libnm-glib'. ***"
@false @false
if !BUILD_SETTING_DOCS if !BUILD_SETTING_DOCS
dist_configure_check += dist-configure-check dist_configure_check += dist-configure-check
endif endif
if !ENABLE_GTK_DOC
dist_configure_check += dist-configure-check
endif
if !WITH_LEGACY_LIBRARIES if !WITH_LEGACY_LIBRARIES
dist_configure_check += dist-configure-check dist_configure_check += dist-configure-check
endif endif