Revert "[doc] Remove redundant check for gtkdoc-scan"

This reverts commit 0409363f77.

Broke lots of bots.
This commit is contained in:
Khaled Hosny 2022-12-20 19:01:04 +02:00
parent 9b5b4da0e4
commit 6d80aba49e
1 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,8 @@
if not find_program('gtkdoc-scan', required: get_option('docs')).found()
message('Not building documentation as gtk-doc was not found')
subdir_done()
endif
conf.set('HAVE_GTK_DOC', 1)
gnome = import('gnome')