From 203f2d36ba5a60a3617576b1b6c755fafe4e9971 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Thu, 2 Jun 2011 19:49:36 +0200 Subject: 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 --git a/configure b/configure index 9be7a96..6982257 100755 --- a/configure +++ b/configure @@ -430,6 +430,13 @@ ncurses_libs="$( for l in ncursesw ncurses curses; do \ 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 -- cgit v0.10.2-6-g49f6