How do you setup configure.ac and Makefile.am to compile erlang programs with debug_info and/or smart_expections flags? My sample test_app setup files are found here: http://groups.google.com/group/erlang-questions/browse_thread/thread/c9df78f87797ff47