aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1996-01-06 12:33:59 +0000
committerMichael Meissner <gnu@the-meissners.org>1996-01-06 12:33:59 +0000
commit01082eaf1926a56afc7b4cb51a25d3560ee31f5b (patch)
tree040b140c4bba5c5b38c89c3997bb79020e7282f8 /configure
parent5f917df14d2b82a4323f28f84e494b1060759d18 (diff)
downloadgdb-01082eaf1926a56afc7b4cb51a25d3560ee31f5b.zip
gdb-01082eaf1926a56afc7b4cb51a25d3560ee31f5b.tar.gz
gdb-01082eaf1926a56afc7b4cb51a25d3560ee31f5b.tar.bz2
Make all-gdb include all-tcl/all-tk unless gdbtk is not built.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure20
1 files changed, 18 insertions, 2 deletions
diff --git a/configure b/configure
index b8a2aef..a7f583c 100755
--- a/configure
+++ b/configure
@@ -141,7 +141,7 @@ do
;;
# These options have mandatory values. Since we didn't find an = sign,
# the value must be in the next argument
- --b* | --cache* | --ex* | --ho* | --pre* | --program-p* | --program-s* | --program-t* | --si* | --sr* | --ta* | --tm* | --x-*)
+ --bu* | --cache* | --ex* | --ho* | --pre* | --program-p* | --program-s* | --program-t* | --si* | --sr* | --ta* | --tm* | --x-* | --bi* | --sb* | --li* | --da* | --sy* | --sh* | --lo* | --in* | --ol* | --ma*)
optarg=$1
shift
arguments="$arguments $option=$optarg"
@@ -157,7 +157,7 @@ do
# Now, process the options
case $option in
- --build* | --b*)
+ --build* | --bu*)
case "$build_alias" in
"") build_alias=$optarg ;;
*) echo '***' Can only configure for one build machine at a time. 1>&2
@@ -285,6 +285,9 @@ do
;;
--x-i* | --x-l*) other_options="$other_options $orig_option"
;;
+ --bi* | --sb* | --li* | --da* | --sy* | --sh* | --lo* | --in* | --ol* | --ma*)
+ # These options were added to autoconf for emacs.
+ ;;
--*)
echo "configure: Unrecognized option: \"$orig_option\"; use --help for usage." >&2
exit 1
@@ -796,6 +799,18 @@ fi
export CC
export CXX
+case "$host" in
+ *go32*)
+ enable_gdbtk=no ;;
+esac
+
+# Determine whether gdb needs tk/tcl or not.
+if [ "$enable_gdbtk" != "no" ]; then
+ GDB_TK="all-tcl all-tk"
+else
+ GDB_TK=""
+fi
+
for subdir in . ${subdirs} ; do
# ${subdir} is relative path from . to the directory we're currently
@@ -1060,6 +1075,7 @@ EOF
s%^CXX[ ]*=.*$%CXX = ${CXX}%
}" \
-e "s:^SHELL[ ]*=.*$:SHELL = ${config_shell}:" \
+ -e "s:^GDB_TK[ ]*=.*$:GDB_TK = ${GDB_TK}:" \
-e "s:^srcdir[ ]*=.*$:srcdir = ${makesrcdir}:" \
-e "s/ //" \
-e "s:^program_prefix[ ]*=.*$:program_prefix = ${program_prefix}:" \