The #ifdef form is what GtkSourceView and libsoup use, and what the
gcu-include-config-h script uses:
https://github.com/swilmet/gnome-c-utils
With the Autotools, in the generated Makefile's it's:
DEFS = -DHAVE_CONFIG_H
So the #ifdef is slightly better.