aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1994-07-23 00:54:57 +0000
committerStu Grossman <grossman@cygnus>1994-07-23 00:54:57 +0000
commitc7f722531493cfd5d5a17f8a29e68bbd5cb0e7d2 (patch)
treef80f1d17d539a97099def09e35341bf6cd8b9b06 /configure
parentcad1498f8a8aaa41ca54ffdde76263740372975a (diff)
downloadgdb-c7f722531493cfd5d5a17f8a29e68bbd5cb0e7d2.zip
gdb-c7f722531493cfd5d5a17f8a29e68bbd5cb0e7d2.tar.gz
gdb-c7f722531493cfd5d5a17f8a29e68bbd5cb0e7d2.tar.bz2
* configure: Search current dir first in .gdbinit.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 65185c2..296576c 100755
--- a/configure
+++ b/configure
@@ -463,7 +463,7 @@ case "${srcdir}" in
esac
# default exec_prefix
-case "${exec_prefix}" in
+case "${exec_prefixoption}" in
"") exec_prefix="\$(prefix)" ;;
*) ;;
esac
@@ -492,6 +492,7 @@ esac
# keep this filename short for &%*%$*# 14 char file names
tmpfile=${TMPDIR}/cONf$$
+trap "rm -f ${tmpfile}.com ${tmpfile}.tgt ${tmpfile}.hst ${tmpfile}.pos; exit 1" 1 2 15
trap "rm -f ${tmpfile}.com ${tmpfile}.tgt ${tmpfile}.hst ${tmpfile}.pos" 0
# split ${srcdir}/configure.in into common, per-host, per-target,
@@ -681,8 +682,8 @@ for subdir in . ${subdirs} ; do
.) ;;
*) cat > ${subdir}/.gdbinit <<EOF
# ${NO_EDIT}
-dir .
dir ${makesrcdir}
+dir .
source ${makesrcdir}/.gdbinit
EOF
;;