if build_machine.system() == 'windows'
message('Disabling gtk-doc while building on Windows')
-elif not get_option('gtkdoc')
+elif not get_option('gtk_doc')
message('gtk-doc is disabled via options')
else
if find_program('gtkdoc-scan', required : false).found()
# Common options
option('orc', type : 'combo', choices : ['yes', 'no', 'auto'], value : 'auto', yield : true)
option('examples', type : 'boolean', value : true, yield : true)
-option('gtkdoc', type : 'boolean', value : true, yield : true,
+option('gtk_doc', type : 'boolean', value : true, yield : true,
description : 'Build API documentation with gtk-doc')
option('introspection', type : 'boolean', value : true, yield : true,
description : 'Generate gobject-introspection bindings')