r6062: work around autoconf setting the CFLAGS="-g -O2" by default in AC_CACHE_CHECK