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 <bryanhundven@gmail.com>

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
Yann E. MORIN" 2011-06-02 19:49:36 +02:00
parent c6f3947bcb
commit 203f2d36ba

7
configure vendored
View File

@ -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