diff options
author | Jason Molenda <crash@cygnus> | 1997-04-01 06:04:02 +0000 |
---|---|---|
committer | Jason Molenda <crash@cygnus> | 1997-04-01 06:04:02 +0000 |
commit | 991747113e7671c36f6be80d1c167a344700456b (patch) | |
tree | cbaed1b60e5b5a8f6884e4688c587e891eefd3db /gdb/configure.in | |
parent | 3c6adeaf9342876abc879c8ee9ae52890a17586a (diff) | |
download | gdb-991747113e7671c36f6be80d1c167a344700456b.zip gdb-991747113e7671c36f6be80d1c167a344700456b.tar.gz gdb-991747113e7671c36f6be80d1c167a344700456b.tar.bz2 |
* configure.in (gdbtcl): Create soft-link for gdbtcl/ directory instead
of gdbtk.tcl.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index 4742f24..e831e1a 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -449,11 +449,16 @@ files="${files} config/nm-empty.h" links="${links} nm.h" fi # start-sanitize-gdbtk - +AC_PROG_LN_S # Make it possible to use the GUI without doing a full install -if test "${enable_gdbtk}" = "yes" -a ! -f gdbtk.tcl ; then -files="${files} gdbtk.tcl" -links="${links} gdbtk.tcl" +if test "${enable_gdbtk}" = "yes" -a ! -d gdbtcl ; then + if test "$LN_S" = "ln -s" -a ! -f gdbtcl ; then + echo linking $srcdir/gdbtcl to gdbtcl + $LN_S $srcdir/gdbtcl gdbtcl + else + echo Warning: Unable to link $srcdir/gdbtcl to gdbtcl. You will need to do a + echo " " make install before you are able to run the GUI. + fi fi # end-sanitize-gdbtk |