This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 1 of 4] configure: check for libstdc++.{so,dylib}


 configure |  7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)


# HG changeset patch
# User Bryan Hundven <bryanhundven@gmail.com>
# Date 1306816723 25200
# Node ID efc71a7d3c02566982414f5fe5d57fa08a8eca40
# Parent  fa3a18f9abcf9dde1535088554778fe4c4e5e831
configure: check for libstdc++.{so,dylib}

It's probably a good thing to check for {so,dylib} during configure
time. They are needed by the companion libraries and gcc.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>

diff -r fa3a18f9abcf -r efc71a7d3c02 configure
--- a/configure	Sun May 29 19:24:41 2011 +0200
+++ b/configure	Mon May 30 21:38:43 2011 -0700
@@ -429,6 +429,13 @@
 has_or_abort lib="${ncurses_libs}"                  \
              err="'ncurses' library was not found"
 
+stdcpp_libs="$( for x in so dylib; do \
+                   printf "libstdc++.$x "; \
+               done \
+             )"
+has_or_abort lib="${stdcpp_libs}" \
+             err="'libstdc++' shared library was not found"
+
 #---------------------------------------------------------------------
 # Compute the version string
 

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]