Don't delete "configure.log" on remote system
Correct setting of HAVE_CUNIT.

Apparently, AC_SUBST() won't work in "test $... && AC_SUBST($...)"