From: Juan Cespedes <cespedes@debian.org>
Description: avoid warning from dpkg-shlibdeps:
  package could avoid a useless dependency if ltrace was not
  linked against libstdc++.so.6 (it uses none of the library's symbols)
Last-Update: 2013-12-30

 
Index: ltrace-0.7.3.1/configure.ac
===================================================================
--- ltrace-0.7.3.1.orig/configure.ac
+++ ltrace-0.7.3.1/configure.ac
@@ -127,6 +127,15 @@ AC_CHECK_LIB([stdc++], [__cxa_demangle],
 	libstdcxx_LIBS=""])
 AC_SUBST(libstdcxx_LIBS)
 
+if test "x$liberty_LIBS" != "x"
+then
+  libsupcxx_LIBS=""
+  libstdcxx_LIBS=""
+elif test "x$libsupcxx_LIBS" != "x"
+then
+  libstdcxx_LIBS=""
+fi
+
 
 dnl Check security_get_boolean_active availability.
 AC_CHECK_HEADERS(selinux/selinux.h)
