aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/configure
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1995-11-11 01:11:31 +0000
committerMichael Meissner <gnu@the-meissners.org>1995-11-11 01:11:31 +0000
commit813ad010f63ac47e8bd3942762044cc461ed3b9b (patch)
treed10c06a4aebc61ba5aae7216c7778af9c5664ffb /sim/ppc/configure
parenta31140524a0771e27cd25af1648d32b3ceaa36ed (diff)
downloadgdb-813ad010f63ac47e8bd3942762044cc461ed3b9b.zip
gdb-813ad010f63ac47e8bd3942762044cc461ed3b9b.tar.gz
gdb-813ad010f63ac47e8bd3942762044cc461ed3b9b.tar.bz2
Check for files in the source directory, not the build directory
Diffstat (limited to 'sim/ppc/configure')
-rwxr-xr-xsim/ppc/configure8
1 files changed, 4 insertions, 4 deletions
diff --git a/sim/ppc/configure b/sim/ppc/configure
index aaa176b..047100d 100755
--- a/sim/ppc/configure
+++ b/sim/ppc/configure
@@ -486,9 +486,9 @@ enableval="$enable_sim_config"
if test -n "$enableval"; then
case "${enableval}" in
yes|no) { echo "configure: error: "No value supplied for --enable-sim-config=file"" 1>&2; exit 1; };;
- *) if test -f "${enableval}"; then
+ *) if test -f "${srcdir}/${enableval}"; then
sim_config="${enableval}";
- elif test -f "${enableval}-config.h"; then
+ elif test -f "${srcdir}/${enableval}-config.h"; then
sim_config="${enableval}-config.h"
else
{ echo "configure: error: "Config file $enableval was not found"" 1>&2; exit 1; };
@@ -510,9 +510,9 @@ enableval="$enable_sim_opcode"
if test -n "$enableval"; then
case "${enableval}" in
yes|no) { echo "configure: error: "No value supplied for --enable-sim-opcode=file"" 1>&2; exit 1; };;
- *) if test -f "${enableval}"; then
+ *) if test -f "${srcdir}/${enableval}"; then
sim_opcode="${enableval}"
- elif test -f "ppc-opcode-${enableval}"; then
+ elif test -f "${srcdir}/ppc-opcode-${enableval}"; then
sim_opcode="ppc-opcode-${enableval}"
else
{ echo "configure: error: "File $enableval is not an opcode rules file"" 1>&2; exit 1; };