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 | 3d4b66e719c5da9c373e652d0b754ec06c76709b (patch) | |
tree | 88d8c53384349b76c17d6fb618342c4b6e241b68 /configure.in | |
parent | 20fd4d2674ef4d70a1f2deab501e6f8928874714 (diff) | |
download | gdb-3d4b66e719c5da9c373e652d0b754ec06c76709b.tar.gz |
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 edf913ecddb..7fc3b9ca5e2 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. |