diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-06-02 17:49:36 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-06-02 17:49:36 (GMT) |
commit | 203f2d36ba5a60a3617576b1b6c755fafe4e9971 (patch) | |
tree | c71d717dbc1ea6d62d699209ac41b90791958193 | |
parent | c6f3947bcb2c152446d4e4d8fff11d8342176e52 (diff) |
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>
-rwxr-xr-x | configure | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |