[PATCH 1 of 3] configure: check for libstdc++.{so,dylib,a}
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Tue May 31 12:19:00 GMT 2011
# HG changeset patch
# User Bryan Hundven <bryanhundven@gmail.com>
# Date 1306816723 25200
# Node ID 94a989d4e73b60775a1bfcfb0fc05790017f165d
# Parent fa3a18f9abcf9dde1535088554778fe4c4e5e831
configure: check for libstdc++.{so,dylib,a}
It's probably a good thing to check for {so,dylib,a} during configure
time. They are needed by the companion libraries and gcc.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
[yann.morin.1998@anciens.enib.fr: add check for .a, rename var to *cxx]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -429,6 +429,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
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list