* configure.in (configdirs): Include testsuite only if
${srcdir}/../gcc exists.
* tests/configure.in (check): Set to ${CHECK} if
${srcdir}/../../gcc doesn't exists.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17334
138bc75d-0d04-0410-961f-
82ee72b054a4
# 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