In bootstrap.sh also call autoheader to create config.h.in with the HAVE_... macros to put into config.h when running ./configure.