# HG changeset patch # User "Yann E. MORIN" # Date 1307036976 -7200 # Node ID 56b7eab1391ae9fa49a251c2f76c1cf8fd56b8cb # Parent 6b479665a053b8e6f65a64114e197b5267fad6a6 configure: check for libstdc++.{so,dylib,a} It's probably a good thing to check for at least one instance of libstdc++.{so,dylib,a} at configure time. At least one is needed by the companion libraries and gcc. Original patch by Bryan Hundven Signed-off-by: "Yann E. MORIN" diff -r 6b479665a053 -r 56b7eab1391a configure --- a/configure Thu Jun 02 21:43:36 2011 +0200 +++ b/configure Thu Jun 02 19:49:36 2011 +0200 @@ -430,6 +430,13 @@ has_or_abort lib="${ncurses_libs}" \ err="'ncurses' library was not found" +stdcxx_libs="$( for x in so dylib a; do \ + printf "libstdc++.$x "; \ + done \ + )" +has_or_abort lib="${stdcxx_libs}" \ + err="'libstdc++' shared library was not found" + #--------------------------------------------------------------------- # Compute the version string