A libstdc++ patch
H.J. Lu
hjl@lucon.org
Wed Feb 18 17:15:00 GMT 1998
Hi,
I'd like to see a egcs 1.0.2 based libstdc++ 2.8.1. This patch from
egcs for egcs 1.0.2 supports "make check" when libstdc++ is configured
for gcc.
Thanks.
--
H.J. Lu (hjl@gnu.org)
---
Tue Jan 27 10:29:44 1998 H.J. Lu (hjl@gnu.org)
* configure.in (topsrcdir): New.
(configdirs): Check ${topsrcdir}/gcc instead.
(config-ml.in): Use ${topsrcdir}/config-ml.in.
* tests/configure.in (topsrcdir): New.
(check): Check ${topsrcdir}/gcc instead.
Tue Jan 13 21:23:05 1998 H.J. Lu (hjl@gnu.org)
* configure.in (configdirs): Include testsuite only if
${srcdir}/../gcc exists.
* tests/configure.in (check): Set to ${CHECK} if
${srcdir}/../../gcc doesn't exists.
--- /home/work/misc/gnu/import/egcs/libstdc++/configure.in Mon Feb 9 08:19:04 1998
+++ configure.in Sun Feb 15 08:12:19 1998
@@ -2,7 +2,21 @@
# necessary for a configure script to process the program in
# this directory. For more information, look at ../configure.
-configdirs="tests testsuite"
+if [ "${srcdir}" = "." ] ; then
+ if [ "${with_target_subdir}" != "." ] ; then
+ topsrcdir=${with_multisrctop}../..
+ else
+ topsrcdir=${with_multisrctop}..
+ fi
+else
+ topsrcdir=${srcdir}/..
+fi
+
+if [ -d ${topsrcdir}/gcc ] ; then
+ configdirs="tests testsuite"
+else
+ configdirs="tests"
+fi
srctrigger=sinst.cc
srcname="ANSI C++ library"
package_makefile_frag=Make.pack
@@ -82,12 +96,4 @@
mv -f Makefile.tem Makefile
fi
-if [ "${srcdir}" = "." ] ; then
- if [ "${with_target_subdir}" != "." ] ; then
- . ${with_multisrctop}../../config-ml.in
- else
- . ${with_multisrctop}../config-ml.in
- fi
-else
- . ${srcdir}/../config-ml.in
-fi
+. ${topsrcdir}/config-ml.in
--- /home/work/misc/gnu/import/egcs/libstdc++/tests/configure.in Thu Aug 21 15:58:42 1997
+++ tests/configure.in Sun Feb 15 08:12:36 1998
@@ -43,8 +43,22 @@
echo ' diff -c $(srcdir)/'"${TEST}.exp ${TEST}.out" >>Makefile
CHECK="${CHECK} check-${TEST}"
done
-echo "
-check:
-check-old: ${CHECK}" >>Makefile
+if [ "${srcdir}" = "." ] ; then
+ if [ "${with_target_subdir}" != "." ] ; then
+ topsrcdir=${with_multisrctop}../../..
+ else
+ topsrcdir=${with_multisrctop}../..
+ fi
+else
+ topsrcdir=${srcdir}/../..
+fi
+if [ -d ${topsrcdir}/gcc ] ; then
+ echo "
+check:
+check-old: ${CHECK}" >>Makefile
+else
+ echo "
+check: ${CHECK}" >>Makefile
+fi
More information about the Gcc
mailing list