[PATCH 1/2] configure.ac: rewrite support for backtrace detection