forked from Imagelibrary/binutils-gdb
Make all-gdb include all-tcl/all-tk unless gdbtk is not built.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
Sat Jan 6 07:23:33 1996 Michael Meissner <meissner@wogglebug.tiac.net>
|
||||||
|
|
||||||
|
* Makefile.in (all-gdb): Depend on $(GDB_TK).
|
||||||
|
* configure (GDB_TK): Set GDB_TK to either "all-tcl all-tk" or
|
||||||
|
nothing depending on whether gdbtk is being built.
|
||||||
|
|
||||||
Wed Jan 3 17:54:41 1996 Doug Evans <dje@canuck.cygnus.com>
|
Wed Jan 3 17:54:41 1996 Doug Evans <dje@canuck.cygnus.com>
|
||||||
|
|
||||||
* Makefile.in (newlib.tar.gz): Delete building of newlib's info files.
|
* Makefile.in (newlib.tar.gz): Delete building of newlib's info files.
|
||||||
|
|||||||
@@ -1082,7 +1082,8 @@ all-gawk:
|
|||||||
ALL_GCC = all-gcc
|
ALL_GCC = all-gcc
|
||||||
all-gcc: all-libiberty all-byacc all-binutils all-gas all-ld
|
all-gcc: all-libiberty all-byacc all-binutils all-gas all-ld
|
||||||
all-bootstrap: all-libiberty all-byacc all-binutils all-gas all-ld
|
all-bootstrap: all-libiberty all-byacc all-binutils all-gas all-ld
|
||||||
all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-readline all-byacc all-sim $(gdbnlmrequirements)
|
GDB_TK = all-tk all-tcl
|
||||||
|
all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-readline all-byacc all-sim $(gdbnlmrequirements) $(GDB_TK)
|
||||||
all-gprof: all-libiberty all-bfd
|
all-gprof: all-libiberty all-bfd
|
||||||
all-grep: all-libiberty
|
all-grep: all-libiberty
|
||||||
all-grez: all-libiberty all-bfd
|
all-grez: all-libiberty all-bfd
|
||||||
|
|||||||
20
configure
vendored
20
configure
vendored
@@ -141,7 +141,7 @@ do
|
|||||||
;;
|
;;
|
||||||
# These options have mandatory values. Since we didn't find an = sign,
|
# These options have mandatory values. Since we didn't find an = sign,
|
||||||
# the value must be in the next argument
|
# 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
|
optarg=$1
|
||||||
shift
|
shift
|
||||||
arguments="$arguments $option=$optarg"
|
arguments="$arguments $option=$optarg"
|
||||||
@@ -157,7 +157,7 @@ do
|
|||||||
# Now, process the options
|
# Now, process the options
|
||||||
case $option in
|
case $option in
|
||||||
|
|
||||||
--build* | --b*)
|
--build* | --bu*)
|
||||||
case "$build_alias" in
|
case "$build_alias" in
|
||||||
"") build_alias=$optarg ;;
|
"") build_alias=$optarg ;;
|
||||||
*) echo '***' Can only configure for one build machine at a time. 1>&2
|
*) 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"
|
--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
|
echo "configure: Unrecognized option: \"$orig_option\"; use --help for usage." >&2
|
||||||
exit 1
|
exit 1
|
||||||
@@ -796,6 +799,18 @@ fi
|
|||||||
export CC
|
export CC
|
||||||
export CXX
|
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
|
for subdir in . ${subdirs} ; do
|
||||||
|
|
||||||
# ${subdir} is relative path from . to the directory we're currently
|
# ${subdir} is relative path from . to the directory we're currently
|
||||||
@@ -1060,6 +1075,7 @@ EOF
|
|||||||
s%^CXX[ ]*=.*$%CXX = ${CXX}%
|
s%^CXX[ ]*=.*$%CXX = ${CXX}%
|
||||||
}" \
|
}" \
|
||||||
-e "s:^SHELL[ ]*=.*$:SHELL = ${config_shell}:" \
|
-e "s:^SHELL[ ]*=.*$:SHELL = ${config_shell}:" \
|
||||||
|
-e "s:^GDB_TK[ ]*=.*$:GDB_TK = ${GDB_TK}:" \
|
||||||
-e "s:^srcdir[ ]*=.*$:srcdir = ${makesrcdir}:" \
|
-e "s:^srcdir[ ]*=.*$:srcdir = ${makesrcdir}:" \
|
||||||
-e "s///" \
|
-e "s///" \
|
||||||
-e "s:^program_prefix[ ]*=.*$:program_prefix = ${program_prefix}:" \
|
-e "s:^program_prefix[ ]*=.*$:program_prefix = ${program_prefix}:" \
|
||||||
|
|||||||
Reference in New Issue
Block a user