This patch updates the configure.ac and Makefile.in to use the values of CFLAGS, etc. from configure time instead of getting them from the environment at compile time; this makes the build system work like a fully autotooled toolchain (one that uses automake as well as autoconf).
Created attachment 201801 [details, diff] patch for configure.ac/Makefile.in
Fixed in r210.