aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorJeffrey Wheat <cassidy@cygnus>1993-11-09 01:42:17 +0000
committerJeffrey Wheat <cassidy@cygnus>1993-11-09 01:42:17 +0000
commit99c411063efb9fce100478bd53a3789396cd2b54 (patch)
tree379582b81dc64b010c9504789135009830e5946c /gdb/Makefile.in
parent7b8106b484cc1d12c596a1e23210cabc00599716 (diff)
downloadgdb-99c411063efb9fce100478bd53a3789396cd2b54.zip
gdb-99c411063efb9fce100478bd53a3789396cd2b54.tar.gz
gdb-99c411063efb9fce100478bd53a3789396cd2b54.tar.bz2
RUNTEST = test for existance of a runtest in the source tree first.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index eb95542..79fd96e 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -189,7 +189,10 @@ DIST=gdb
LINT=/usr/5bin/lint
LINTFLAGS= $(BFD_CFLAGS)
-RUNTEST=runtest
+RUNTEST = `if [ -f $${srcdir}/../dejagnu/runtest ] ; then \
+ echo $${srcdir}/../dejagnu/runtest ; else echo runtest; \
+ fi`
+
RUNTESTFLAGS=
# This is ser-unix.o for any system which supports a v7/BSD/SYSV/POSIX