This help message
$ ./configure --help | grep -A 1 'with-gui'
--with-gui[=no|qt5|auto]
build bitcoin-qt GUI (default=auto)
states that --with-gui and --with-gui=auto are equivalent.
But this is not correct.
Consider a system without available Qt:
$ ./configure --with-gui | grep 'with gui'
configure: error: Qt dependencies not found
$ ./configure --with-gui=auto | grep 'with gui'
configure: WARNING: Qt dependencies not found; bitcoin-qt frontend will not be built
with gui / qt = no
What should be fixed: the help message or configure behavior?