aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorAndrew Cagney <ac131313@redhat.com>2003-01-06 17:37:24 +0000
committerAndrew Cagney <cagney@gcc.gnu.org>2003-01-06 17:37:24 +0000
commite914a571723bd02ba7236eacbbc97a4c5d80bce0 (patch)
treeb55fd46347a23ef694b7dc02931d9583348a60d2 /configure.in
parent87117aa2f3b4674895fb40260fef88789febc490 (diff)
downloadgcc-e914a571723bd02ba7236eacbbc97a4c5d80bce0.zip
gcc-e914a571723bd02ba7236eacbbc97a4c5d80bce0.tar.gz
gcc-e914a571723bd02ba7236eacbbc97a4c5d80bce0.tar.bz2
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
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in14
1 files changed, 13 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index edf913e..7fc3b9c 100644
--- a/configure.in
+++ b/configure.in
@@ -1706,11 +1706,23 @@ done
# 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
# 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
no)
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
# Create the 'maybe dependencies'. This uses a temporary file.