Commit e914a571 by Andrew Cagney Committed by Andrew Cagney

configure.in (GDB_TK): Add tcl directories conditional on gdb/gdbtk directory being present.

2003-01-06  Andrew Cagney  <ac131313@redhat.com>

	* configure.in (GDB_TK): Add tcl directories conditional on
	gdb/gdbtk directory being present.
	* configure: Regenerate.

From-SVN: r60943
parent 87117aa2
2003-01-06 Andrew Cagney <ac131313@redhat.com>
* configure.in (GDB_TK): Add tcl directories conditional on
gdb/gdbtk directory being present.
* configure: Regenerate.
2003-01-04 John David Anglin <dave.anglin@nrc.ca> 2003-01-04 John David Anglin <dave.anglin@nrc.ca>
* configure.in (LD): Improve test for gcc. Try to set LD to the ld used * configure.in (LD): Improve test for gcc. Try to set LD to the ld used
......
...@@ -1706,11 +1706,23 @@ done ...@@ -1706,11 +1706,23 @@ done
# so we should be able to put the 'maybe's in unconditionally and # so we should be able to put the 'maybe's in unconditionally and
# leave out the maybe dependencies when enable_gdbtk is false. I'm not # leave out the maybe dependencies when enable_gdbtk is false. I'm not
# 100% sure that that's safe though. # 100% sure that that's safe though.
gdb_tk="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-tix maybe-all-libgui"
case "$enable_gdbtk" in case "$enable_gdbtk" in
no) no)
GDB_TK="" ;; GDB_TK="" ;;
yes)
GDB_TK="${gdb_tk}" ;;
*) *)
GDB_TK="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-tix maybe-all-libgui" ;; # Only add the dependency on gdbtk when GDBtk is part of the gdb
# distro. Eventually someone will fix this and move Insight, nee
# gdbtk to a separate directory.
if test -d ${srcdir}/gdb/gdbtk ; then
GDB_TK="${gdb_tk}"
else
GDB_TK=""
fi
;;
esac esac
# Create the 'maybe dependencies'. This uses a temporary file. # Create the 'maybe dependencies'. This uses a temporary file.
......
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