configure.in (configdirs): Include testsuite only if ${srcdir}/../gcc exists.
authorJeff Law <law@gcc.gnu.org>
Tue, 13 Jan 1998 20:24:04 +0000 (13:24 -0700)
committerJeff Law <law@gcc.gnu.org>
Tue, 13 Jan 1998 20:24:04 +0000 (13:24 -0700)

        * configure.in (configdirs): Include testsuite only if
        ${srcdir}/../gcc exists.
        * tests/configure.in (check): Set to ${CHECK} if
        ${srcdir}/../../gcc doesn't exists.

From-SVN: r17334

libstdc++/configure.in

index efc2f55cd13f0d3bb72ae8fc19d7d93cc07e8b4d..58b468e8ec8dff52b14cf5a7a7516eb15dd260c3 100644 (file)
@@ -2,7 +2,11 @@
 # necessary for a configure script to process the program in
 # this directory.  For more information, look at ../configure.
 
-configdirs="tests testsuite"
+if [ -d ${srcdir}/../gcc ] ; then
+  configdirs="tests testsuite"
+else
+  configdirs="tests"
+fi
 srctrigger=sinst.cc
 srcname="ANSI C++ library"
 package_makefile_frag=Make.pack