Is there an additional flag I should pass to the configure script to make static linking work without modifying the configuration header?
Yes, 'ac_cv_func_working_mktime=yes'.This will cause Gawk to use the FreeBSD mktime even though it is buggy. Quite possibly you won't notice the bugs.