aboutsummaryrefslogtreecommitdiff
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
parentcad1498f8a8aaa41ca54ffdde76263740372975a (diff)
downloadgdb-c7f722531493cfd5d5a17f8a29e68bbd5cb0e7d2.zip
gdb-c7f722531493cfd5d5a17f8a29e68bbd5cb0e7d2.tar.gz
gdb-c7f722531493cfd5d5a17f8a29e68bbd5cb0e7d2.tar.bz2
* configure: Search current dir first in .gdbinit.
-rw-r--r--ChangeLog8
-rwxr-xr-xconfigure5
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 92f32a5..b47ceea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Fri Jul 22 17:53:59 1994 Stu Grossman (grossman@cygnus.com)
+
+ * configure: Search current dir first in .gdbinit.
+
+Fri Jul 22 11:28:30 1994 Per Bothner (bothner@kalessin.cygnus.com)
+
+ * config.sub: Recognize freebsd (merged from gcc config.sub).
+
Thu Jul 21 14:10:52 1994 Per Bothner (bothner@kalessin.cygnus.com)
* config.sub: Refer to NeXT's operating system as nextstep.
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
;;