configure: check and use -Wempty-body