On 10/15/26 11:30 PM, Sam James wrote: > Hi! > > --enable-option-checking=fatal is a useful warning for packagers. Meson > even went as far as erroring out on unknown options by default a few > years ago which has similarly found lots of problems (and prevented > them). > > Unfortunately, =fatal can't be passed unconditionally in builds because > some projects use recursive configure. > > How does the idea of --enable-option-checking=fatal-nonrecursive sound > where it would be a noop if AC_CONFIG_SUBDIRS is found? > > thanks, > sam
Note, Meson can "get away with this" because recursive/subdir options (Meson calls them "subprojects") have a reserved syntax. Normal options are -Doption=value (not --with-*) and recursive options own the ":" and are spelled -D<subdir>:option=value. Being able to pass configure options which are specific to a sub-configure feels like a generally interesting idea, and would also unlock checking for spelling mistakes even in recursive builds. -- Eli Schwartz
OpenPGP_signature.asc
Description: OpenPGP digital signature
