OSDN Git Service

* build fix
authorfche <fche>
Mon, 24 Sep 2001 01:08:45 +0000 (01:08 +0000)
committerfche <fche>
Mon, 24 Sep 2001 01:08:45 +0000 (01:08 +0000)
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".

sid/aclocal.m4
sid/config/ChangeLog
sid/config/libstdc++.m4
sid/configure

index e51077b..92e1f6a 100644 (file)
@@ -281,7 +281,7 @@ 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
index 814d652..670fef6 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 88d55b6..c3ee872 100644 (file)
@@ -43,7 +43,7 @@ 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
index c0c4852..dec0436 100755 (executable)
@@ -1547,7 +1547,7 @@ echo "configure:1523: checking for libstdc++ {static/shared}" >&5
   # 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