Commit 296e46bd by Doug Evans

configure.in: Build .gdbinit for top level build dir here.

	* configure.in: Build .gdbinit for top level build dir here.
	(AC_OUTPUT): Pass oldstyle_subdirs to configure.lang.

From-SVN: r14630
parent 4caa6262
......@@ -3009,6 +3009,24 @@ do
echo "lang.$t: $x" >> Make-hooks
done
# If we're not building in srcdir, create .gdbinit.
if [[ ! -f Makefile.in ]]; then
echo "dir ." > .gdbinit
echo "dir ${srcdir}" >> .gdbinit
if [[ x$gdb_needs_out_file_path = xyes ]]
then
echo "dir ${srcdir}/config/"`dirname ${out_file}` >> .gdbinit
fi
if [[ "x$subdirs" != x ]]; then
for s in $subdirs
do
echo "dir ${srcdir}/$s" >> .gdbinit
done
fi
echo "source ${srcdir}/.gdbinit" >> .gdbinit
fi
# Process the language and host/target makefile fragments.
${CONFIG_SHELL-/bin/sh} $srcdir/configure.frag $srcdir "$subdirs" "$dep_host_xmake_file" "$dep_tmake_file"
......@@ -3107,6 +3125,7 @@ target='${target}'
target_alias='${target_alias}'
srcdir='${srcdir}'
subdirs='${subdirs}'
oldstyle_subdirs='${oldstyle_subdirs}'
symbolic_link='${symbolic_link}'
program_transform_set='${program_transform_set}'
program_transform_name='${program_transform_name}'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment