diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-01-06 18:36:08 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-01-06 18:36:08 +0000 |
commit | c180f50118e01dc9863da47ad0b7d2b55f68cfb0 (patch) | |
tree | 1933ad4f2cbe09818eebd045f30f793b93f472a8 /configure.in | |
parent | 8e9e0fe6daf55feae25bd1aa79f1ae655cae20ab (diff) | |
download | gdb-c180f50118e01dc9863da47ad0b7d2b55f68cfb0.zip gdb-c180f50118e01dc9863da47ad0b7d2b55f68cfb0.tar.gz gdb-c180f50118e01dc9863da47ad0b7d2b55f68cfb0.tar.bz2 |
2003-01-06 Andrew Cagney <ac131313@redhat.com>
* configure.in (GDB_TK): Add tcl directories conditional on
gdb/gdbtk directory being present.
* configure: Regenerate.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 14 |
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. |