# The heuristics are meant to detect and prevent the case where the host may
# have *some other* shared libstdc++.so installed, say in /usr/lib, even though
# the compiler only came with a libstdc++.a in some other directory.
- if test "x$gxx_shlibdir" != "x" -a "x$gxx_stlibdir" = "x$gxx_shlibdir"
+ if test "x$gxx_shlibdir" != "x" -a "x$gxx_shlibdir" != "x." -a "x$gxx_stlibdir" = "x$gxx_shlibdir"
then
have_libstdcxx_shared=yes
else
+2001-09-23 Frank Ch. Eigler <fche@redhat.com>
+
+ * libstdc++.m4: Reject shared libstdc++ possibility if g++ replies with
+ no path to "--print-file-name=libstdc++.a".
+
2001-07-11 Frank Ch. Eigler <fche@redhat.com>
* Makefile.docs: Support xsltproc; prefer it to sabcmd.
# The heuristics are meant to detect and prevent the case where the host may
# have *some other* shared libstdc++.so installed, say in /usr/lib, even though
# the compiler only came with a libstdc++.a in some other directory.
- if test "x$gxx_shlibdir" != "x" -a "x$gxx_stlibdir" = "x$gxx_shlibdir"
+ if test "x$gxx_shlibdir" != "x" -a "x$gxx_shlibdir" != "x." -a "x$gxx_stlibdir" = "x$gxx_shlibdir"
then
have_libstdcxx_shared=yes
else
# The heuristics are meant to detect and prevent the case where the host may
# have *some other* shared libstdc++.so installed, say in /usr/lib, even though
# the compiler only came with a libstdc++.a in some other directory.
- if test "x$gxx_shlibdir" != "x" -a "x$gxx_stlibdir" = "x$gxx_shlibdir"
+ if test "x$gxx_shlibdir" != "x" -a "x$gxx_shlibdir" != "x." -a "x$gxx_stlibdir" = "x$gxx_shlibdir"
then
have_libstdcxx_shared=yes
else