#include "pbd/textreceiver.h"
#include "pbd/failed_constructor.h"
#include "pbd/pthread_utils.h"
+#ifdef BOOST_SP_ENABLE_DEBUG_HOOKS
+#include "pbd/boost_debug.h"
+#endif
#include <jack/jack.h>
{
fixup_bundle_environment (argc, argv);
- if (!Glib::thread_supported())
+ if (!Glib::thread_supported()) {
Glib::thread_init();
+ }
gtk_set_locale ();
text_receiver.listen_to (fatal);
text_receiver.listen_to (warning);
+#ifdef BOOST_SP_ENABLE_DEBUG_HOOKS
+ if (getenv ("BOOST_DEBUG")) {
+ boost_debug_shared_ptr_show_live_debugging (true);
+ }
+#endif
+
if (parse_opts (argc, argv)) {
exit (1);
}