1996-01-06 01:11:45 +08:00
|
|
|
dnl Autoconf configure script for GDB, the GNU debugger.
|
|
|
|
dnl Copyright 1995, 1996 Free Software Foundation, Inc.
|
|
|
|
dnl
|
|
|
|
dnl This file is part of GDB.
|
|
|
|
dnl
|
|
|
|
dnl This program is free software; you can redistribute it and/or modify
|
|
|
|
dnl it under the terms of the GNU General Public License as published by
|
|
|
|
dnl the Free Software Foundation; either version 2 of the License, or
|
|
|
|
dnl (at your option) any later version.
|
|
|
|
dnl
|
|
|
|
dnl This program is distributed in the hope that it will be useful,
|
|
|
|
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
dnl GNU General Public License for more details.
|
|
|
|
dnl
|
|
|
|
dnl You should have received a copy of the GNU General Public License
|
|
|
|
dnl along with this program; if not, write to the Free Software
|
1996-02-22 01:38:36 +08:00
|
|
|
dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
1996-01-06 01:11:45 +08:00
|
|
|
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
1996-01-06 01:11:45 +08:00
|
|
|
|
* Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
Use autoconf set values.
(docdir): Removed.
* configure.in (AC_PREREQ): autoconf 2.5 or higher.
* nlm/Makefile.in (bindir, libdir, datadir, mandir, infodir,
includedir): Use autoconf set values.
(docdir): Removed.
* nlm/configure.in (AC_PREREQ): autoconf 2.5 or higher.
* nlm/configure: Rebuilt.
* gdb/gdbserver/Makefile.in (datadir): Set to $(prefix)/share.
1996-06-25 21:08:00 +08:00
|
|
|
AC_PREREQ(2.5)dnl
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
AC_INIT(main.c)
|
1996-03-21 23:59:01 +08:00
|
|
|
AC_CONFIG_HEADER(config.h:config.in)
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_AIX
|
|
|
|
AC_MINIX
|
|
|
|
AC_ISC_POSIX
|
|
|
|
|
Wed Aug 6 16:15:31 1997 Geoffrey Noer <noer@cygnus.com>
* Makefile.in: add DLLTOOL = @DLLTOOL@, pass on DLLTOOL to
sub makes, change clean rule to also remove *.a to remove
libwigglers.a, in dependencies: add ppc-bdm.o ocd.o ser-ocd.o and
remove remote-wiggler.o
* configure.in: add DLLTOOL support
* configure: regenerate
* wigglers.def: new file for imports for wigglers.dll
* ser-ocd.c: new file which is layer between ocd.c and either the
wigglers.dll or the target box, only stub so far
* config/powerpc/ppc-eabi.mt: add ppc-bdm.o to TDEPFILES
* config/powerpc/ppc-sim.mt: add ppc-bdm.o to TDEPFILES
* config/i386/cygwin32.mh: add ocd.o ser-ocd.o libwigglers.a
to XDEPFILES, add rules to build libwigglers.a
checking in changes of Stu Grossman <grossman@cygnus.com>:
* remote-wiggler.c: delete
* ocd.c: new, was remote-wiggler.c
always include sys/types.h, include ocd.h, move WIGGLER
commands and many wiggler prototypes to ocd.h, make wiggler_desc
static, stop making local wiggler functions static,
define write_mem_command for wiggler_write_bytes
(wiggler_start_remote): stop hardcoding the target type,
instead set and use a target_type variable.
(wiggler_open): add new target_type and ops args
(wiggler_wait): now no longer takes pid and target_status as args,
stop trying to set target_status struct, remove BGND insn
checks
(read_bdm_registers): renamed to wiggler_read_bdm_registers
(wiggler_read_bdm_registers): numregs arg changed to reglen arg,
remove pktlen check, set reglen instead of numregs
(dump_all_bdm_regs): delete
(wiggler_fetch_registers): delete
(wiggler_prepare_to_store): now just an empty function
(wiggler_store_registers): delete
(wiggler_read_bdm_register): new
(wiggler_write_bdm_registers): new
(wiggler_write_bdm_register): new
(wiggler_write_bytes): use write_mem_command variable instead of
WIGGLER_WRITE_MEM
(get_packet): renamed to wiggler_get_packet, change refs throughout
(put_packet): renamed to wiggler_put_packet, change refs throughout
(wiggler_get_packet): add break to default case of switch,
change length of WIGGLER_GET_VERSION len to 10 from 4 to match
specs
(wiggler_mourn): unpush_target with current_ops, not &wiggler_ops
(flash_xfer_memory): delete
(noop_store_registers): new placeholder replacement for
target_store_registers() which prevents generic_load from trying to
set up the PC.
(bdm_update_flash_command): add store_registers_tmp variable,
make handling of wiggler_ops more generic -- define wiggler_ops
in a target-specific file instead (such as ppc-bdm.c in the case
of the ppc), use current_target to deal with registers again
making this file less target-specific.
(bdm_read_register_command): new
(_initialize_remote_wiggler): stop doing add_target (&wiggler_ops),
comment out add_cmd ("read-register", ...)
* ocd.h: new, contains common wiggler prototypes, command definitions
* ppc-bdm.c: file for ppc-specific OCD code, including target_ops
structure for ppc bdm
(bdm_ppc_open): new
(bdm_ppc_wait): new
(bdm_ppc_fetch_registers): new
(bdm_ppc_store_registers_: new
(_initialize_bdm_ppc): new
* config/powerpc/tm-ppc-eabi.h: add necessary CPU32 BDM defines
1997-08-07 14:31:46 +08:00
|
|
|
DLLTOOL=${DLLTOOL-dlltool}
|
|
|
|
AC_SUBST(DLLTOOL)
|
|
|
|
|
1997-03-14 04:39:56 +08:00
|
|
|
AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/..)
|
1996-08-27 19:32:34 +08:00
|
|
|
AC_CANONICAL_SYSTEM
|
|
|
|
|
1998-04-23 05:56:04 +08:00
|
|
|
dnl gdb doesn't use gettext, but bfd does. We call this to ensure we
|
|
|
|
dnl link with the correct libraries.
|
|
|
|
ALL_LINGUAS=
|
|
|
|
CY_GNU_GETTEXT
|
|
|
|
|
1997-02-28 01:46:18 +08:00
|
|
|
dnl List of object files added by configure.
|
|
|
|
|
|
|
|
CONFIG_OBS=
|
* tracepoint.c (set_raw_tracepoint): make sure there's a trailing slash on
the directory name
* Merge (lots) with foundry-971118-build
* Makefile.in (install-only): install the new gdbtk, not the old
* top.h: add declaration of get_prompt
* top.c (get_prompt): new function
* gdbtk.c (gdbtk_call_command): also run idle hooks for class_trace
commands
(gdbtk_init): add new commands "gdb_get_locals", "gdb_get_args",
"gdb_get_function", "gdb_get_line", "gdb_get_file",
"gdb_tracepoint_exists", "gdb_get_tracepoint_info", "gdb_actions",
and "gdb_prompt"
(gdb_get_vars_command): new function
(gdb_get_line_command): new function
(gdb_get_file_command): new function
(gdb_get_function_command): new function
(gdb_get_tracepoint_info): new function
(gdbtk_create_tracepoint): new function
(gdbtk_delete_tracepoint): new function
(tracepoint_notify): new function
(tracepoint_exists): new function
(gdb_actions_command): new function
(gdb_tracepoint_exists_command): new function
(gdb_prompt_command): new function
* main.tcl: initialize gdbtk_state(readline)
* console.tcl (invoke): get realine working
(activate): add prompt argument for readline
(setprompt): add prompt argument for readline
* interface.tcl (gdbtk_tcl_readline): hack to get readline working
* lots: Merge with foundry-971118-build
* console.tcl (setprompt): get prompt from gdb
* prefs.tcl (pref_set_defaults): add tracepoint defaults
* interface.tcl (gdbtk_tcl_tracepoint): new function
* src.tcl (constructor): set default behavior of left click, make
a tracepoint dot, too
(fill_files): "new" function: ripped out of "location"
(location): use fill_files instead
(do_bp): add support for tracepoints
(bp_line): add support for tracepoints
(set_tracepoint): new function
(config_win): add "Set tracepoint here" to right-click menu
* actiondlg.tcl: new file to help with tracepoint data collection actions
* tracedlg.tcl: new file to help with tracepoints
1997-11-27 06:38:10 +08:00
|
|
|
CONFIG_DEPS=
|
1998-02-05 09:47:26 +08:00
|
|
|
CONFIG_SRCS=
|
1997-02-28 01:46:18 +08:00
|
|
|
|
|
|
|
configdirs="doc testsuite"
|
|
|
|
|
|
|
|
dnl
|
|
|
|
changequote(,)dnl
|
|
|
|
|
|
|
|
. ${srcdir}/configure.host
|
|
|
|
|
|
|
|
. ${srcdir}/configure.tgt
|
|
|
|
|
|
|
|
dnl
|
|
|
|
changequote([,])dnl
|
|
|
|
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
AC_PROG_INSTALL
|
1996-04-12 14:14:46 +08:00
|
|
|
AC_CHECK_TOOL(AR, ar)
|
|
|
|
AC_CHECK_TOOL(RANLIB, ranlib, :)
|
1995-10-11 04:19:37 +08:00
|
|
|
AC_PROG_YACC
|
1996-04-12 14:14:46 +08:00
|
|
|
AC_PROG_AWK
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
|
|
|
|
AC_ARG_PROGRAM
|
|
|
|
|
1997-05-08 09:00:39 +08:00
|
|
|
AC_TYPE_SIGNAL
|
|
|
|
|
* configure.in: Check for working mmap, ansi headers, string.h,
strings.h, and memory.h.
* configure: Regenerated.
* gdb_stat.h: New file, "portable" <sys/stat.h>.
* gdb_string.h: New file, "portable" <string.h>.
* altos-xdep.c, arm-tdep.c, arm-xdep.c, convex-tdep.c,
convex-xdep.c, coredep.c, cxux-nat.c, dbxread.c, exec.c,
gould-xdep.c, hppa-tdep.c, i386aix-nat.c, i386b-nat.c,
i386mach-nat.c, i386v-nat.c, infptrace.c, m88k-nat.c, main.c,
mdebugread.c, objfiles.c, os9kread.c, procfs.c, pyr-xdep.c,
rs6000-nat.c, source.c, standalone.c, stuff.c, sun386-nat.c,
symfile.c, symm-nat.c, symm-tdep.c, symtab.c, top.c, ultra3-nat.c,
ultra3-xdep.c, umax-xdep.c, xcoffread.c: Include "gdb_stat.h"
instead of <sys/stat.h>.
* alpha-tdep.c, breakpoint.c, buildsym.c, c-typeprint.c,
ch-typeprint.c, coffread.c, command.c, core-sol2.c, core-svr4.c,
core.c, corelow.c, cp-valprint.c, dbxread.c, dcache.c, demangle.c,
dpx2-nat.c, dstread.c, dwarfread.c, elfread.c, environ.c, eval.c,
exec.c, f-lang.c, f-typeprint.c, f-valprint.c, findvar.c,
fork-child.c, gdbtypes.c, hpread.c, i386-tdep.c, infcmd.c,
inflow.c, infptrace.c, infrun.c, irix5-nat.c, language.c,
m2-typeprint.c, main.c, mdebugread.c, minsyms.c, mipsread.c,
monitor.c, nlmread.c, objfiles.c, os9kread.c, osfsolib.c, parse.c,
printcmd.c, procfs.c, regex.c, remote-adapt.c, remote-arc.c,
remote-array.c, remote-bug.c, remote-e7000.c, remote-eb.c,
remote-es.c, remote-hms.c, remote-mm.c, remote-os9k.c,
remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c,
remote-utils.c, remote-vx.c, remote-vx29k.c, remote-vx68.c,
remote-vx960.c, remote-vxmips.c, remote-vxsparc.c, remote.c,
solib.c, somread.c, source.c, stabsread.c, stack.c, symfile.c,
symmisc.c, symtab.c, target.c, top.c, typeprint.c, utils.c,
valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Include
"gdb_string.h" instead of <string.h>.
* gdbtk.c: Likewise.
* config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h,
sparc/xm-sun4os4.h (HAVE_MMAP): Removed.
* config/xm-lynx.h, config/i386/xm-ptx.h,
config/m68k/nm-apollo68b.h, config/m68k/xm-hp300hpux.h,
config/mips/xm-irix3.h, config/mips/xm-mips.h,
config/mips/xm-news-mips.h, config/mips/xm-riscos.h,
config/pa/hppah.h, config/rs6000/xm-rs6000.h,
config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
config/vax/xm-vaxbsd.h, config/vax/xm-vaxult.h,
config/vax/xm-vaxult2.h (MEM_FNS_DECLARED): Removed.
* config/mips/xm-irix3.h, config/mips/xm-mips.h,
config/pa/xm-hppah.h (memcpy, memset): Removed declarations.
1995-08-02 04:14:27 +08:00
|
|
|
AC_HEADER_STDC
|
1998-08-19 07:04:24 +08:00
|
|
|
AC_CHECK_HEADERS(ctype.h curses.h endian.h libintl.h limits.h link.h \
|
|
|
|
memory.h objlist.h ptrace.h sgtty.h stddef.h stdlib.h \
|
|
|
|
string.h strings.h sys/procfs.h sys/ptrace.h sys/reg.h \
|
|
|
|
term.h termio.h termios.h unistd.h wait.h sys/wait.h \
|
|
|
|
wchar.h wctype.h)
|
1998-06-11 05:08:38 +08:00
|
|
|
|
* configure.in: Check for working mmap, ansi headers, string.h,
strings.h, and memory.h.
* configure: Regenerated.
* gdb_stat.h: New file, "portable" <sys/stat.h>.
* gdb_string.h: New file, "portable" <string.h>.
* altos-xdep.c, arm-tdep.c, arm-xdep.c, convex-tdep.c,
convex-xdep.c, coredep.c, cxux-nat.c, dbxread.c, exec.c,
gould-xdep.c, hppa-tdep.c, i386aix-nat.c, i386b-nat.c,
i386mach-nat.c, i386v-nat.c, infptrace.c, m88k-nat.c, main.c,
mdebugread.c, objfiles.c, os9kread.c, procfs.c, pyr-xdep.c,
rs6000-nat.c, source.c, standalone.c, stuff.c, sun386-nat.c,
symfile.c, symm-nat.c, symm-tdep.c, symtab.c, top.c, ultra3-nat.c,
ultra3-xdep.c, umax-xdep.c, xcoffread.c: Include "gdb_stat.h"
instead of <sys/stat.h>.
* alpha-tdep.c, breakpoint.c, buildsym.c, c-typeprint.c,
ch-typeprint.c, coffread.c, command.c, core-sol2.c, core-svr4.c,
core.c, corelow.c, cp-valprint.c, dbxread.c, dcache.c, demangle.c,
dpx2-nat.c, dstread.c, dwarfread.c, elfread.c, environ.c, eval.c,
exec.c, f-lang.c, f-typeprint.c, f-valprint.c, findvar.c,
fork-child.c, gdbtypes.c, hpread.c, i386-tdep.c, infcmd.c,
inflow.c, infptrace.c, infrun.c, irix5-nat.c, language.c,
m2-typeprint.c, main.c, mdebugread.c, minsyms.c, mipsread.c,
monitor.c, nlmread.c, objfiles.c, os9kread.c, osfsolib.c, parse.c,
printcmd.c, procfs.c, regex.c, remote-adapt.c, remote-arc.c,
remote-array.c, remote-bug.c, remote-e7000.c, remote-eb.c,
remote-es.c, remote-hms.c, remote-mm.c, remote-os9k.c,
remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c,
remote-utils.c, remote-vx.c, remote-vx29k.c, remote-vx68.c,
remote-vx960.c, remote-vxmips.c, remote-vxsparc.c, remote.c,
solib.c, somread.c, source.c, stabsread.c, stack.c, symfile.c,
symmisc.c, symtab.c, target.c, top.c, typeprint.c, utils.c,
valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Include
"gdb_string.h" instead of <string.h>.
* gdbtk.c: Likewise.
* config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h,
sparc/xm-sun4os4.h (HAVE_MMAP): Removed.
* config/xm-lynx.h, config/i386/xm-ptx.h,
config/m68k/nm-apollo68b.h, config/m68k/xm-hp300hpux.h,
config/mips/xm-irix3.h, config/mips/xm-mips.h,
config/mips/xm-news-mips.h, config/mips/xm-riscos.h,
config/pa/hppah.h, config/rs6000/xm-rs6000.h,
config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
config/vax/xm-vaxbsd.h, config/vax/xm-vaxult.h,
config/vax/xm-vaxult2.h (MEM_FNS_DECLARED): Removed.
* config/mips/xm-irix3.h, config/mips/xm-mips.h,
config/pa/xm-hppah.h (memcpy, memset): Removed declarations.
1995-08-02 04:14:27 +08:00
|
|
|
AC_HEADER_STAT
|
|
|
|
|
1996-08-13 08:01:37 +08:00
|
|
|
AC_C_CONST
|
|
|
|
|
1998-06-12 06:08:46 +08:00
|
|
|
AC_CHECK_FUNCS(setpgid sbrk select poll sigaction isascii bzero bcopy memcpy btowc)
|
1998-05-14 06:38:55 +08:00
|
|
|
AC_FUNC_ALLOCA
|
1996-04-05 12:22:08 +08:00
|
|
|
|
1998-04-22 09:44:38 +08:00
|
|
|
# If we are configured native on GNU/Linux, work around problems with sys/procfs.h
|
1996-09-27 14:13:24 +08:00
|
|
|
if test "${target}" = "${host}"; then
|
|
|
|
case "${host}" in
|
1998-01-03 02:53:05 +08:00
|
|
|
i[[3456]]86-*-linux*)
|
* configure.in (--with-mmalloc): Add new configure arg to use the
mmalloc package. Default is to not use it.
(START_INFERIOR_TRAPS_EXPECTED): Define to the integer 2, not
the string "2".
* acconfig.h (USE_MMALLOC, FORCE_MMCHECK): Add #undef.
* configure: Regenerated.
* config.in: Regenerated.
* Makefile.in (MMALLOC_DIR, MMALLOC_SRC): Remove.
(MMALLOC): Set using configure.
(MMALLOC_CFLAGS): Set using configure.
* config/i386/tm-linux.h (sys_quotactl): Define to 1 rather
than just defining it.
* mpw-make.sed: Undefine USE_MMALLOC rather than defining NO_MMALLOC.
* utils.c (NO_MMALLOC): Use USE_MMALLOC instead.
* objfiles.c: ditto.
* defs.h: ditto.
* config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Remove.
* config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Remove.
* config/i386/cygwin32.mh (MMALLOC_CFLAGS): Remove.
* config/alpha/alpha-osf3.mh (MMALLOC_CFLAGS): Remove.
* config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Remove.
* gdbserver/Makefile.in (MMALLOC_*): Remove.
* config/rs6000/rs6000.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/rs6000/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/powerpc/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/powerpc/aix.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/ns32k/ns32km3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/mips/mipsm3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/mips/decstation.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/m88k/cxux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/i386/xm-windows.h (NO_MMALLOC, NO_MMCHECK): Remove.
* config/i386/i386mk.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/i386/i386m3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/i386/i386gnu.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/alpha/alpha-osf1.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/alpha/alpha-linux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
1998-01-14 12:28:29 +08:00
|
|
|
AC_DEFINE(START_INFERIOR_TRAPS_EXPECTED,2)
|
1996-09-27 14:13:24 +08:00
|
|
|
AC_DEFINE(sys_quotactl)
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
fi
|
|
|
|
|
1996-01-28 02:51:09 +08:00
|
|
|
AC_MSG_CHECKING([for gregset_t type])
|
1996-03-31 09:04:37 +08:00
|
|
|
AC_CACHE_VAL(gdb_cv_have_gregset_t,
|
1996-01-28 02:51:09 +08:00
|
|
|
[AC_TRY_LINK([#include <sys/procfs.h>],[gregset_t *gregsetp = 0],
|
1996-03-31 09:04:37 +08:00
|
|
|
gdb_cv_have_gregset_t=yes, gdb_cv_have_gregset_t=no)])
|
|
|
|
AC_MSG_RESULT($gdb_cv_have_gregset_t)
|
|
|
|
if test $gdb_cv_have_gregset_t = yes; then
|
1996-01-28 02:51:09 +08:00
|
|
|
AC_DEFINE(HAVE_GREGSET_T)
|
|
|
|
fi
|
|
|
|
|
|
|
|
AC_MSG_CHECKING([for fpregset_t type])
|
1996-03-31 09:04:37 +08:00
|
|
|
AC_CACHE_VAL(gdb_cv_have_fpregset_t,
|
1996-01-28 02:51:09 +08:00
|
|
|
[AC_TRY_LINK([#include <sys/procfs.h>],[fpregset_t *fpregsetp = 0],
|
1996-03-31 09:04:37 +08:00
|
|
|
gdb_cv_have_fpregset_t=yes, gdb_cv_have_fpregset_t=no)])
|
|
|
|
AC_MSG_RESULT($gdb_cv_have_fpregset_t)
|
|
|
|
if test $gdb_cv_have_fpregset_t = yes; then
|
1996-01-28 02:51:09 +08:00
|
|
|
AC_DEFINE(HAVE_FPREGSET_T)
|
|
|
|
fi
|
|
|
|
|
1997-01-22 09:12:19 +08:00
|
|
|
dnl See if host has libm. This is usually needed by simulators.
|
|
|
|
AC_CHECK_LIB(m, main)
|
|
|
|
|
1996-07-28 14:32:48 +08:00
|
|
|
dnl See if compiler supports "long long" type.
|
|
|
|
|
|
|
|
AC_MSG_CHECKING(for long long support in compiler)
|
|
|
|
AC_CACHE_VAL(gdb_cv_c_long_long,
|
1996-07-30 12:26:25 +08:00
|
|
|
[AC_TRY_COMPILE(, [
|
1996-08-23 08:47:10 +08:00
|
|
|
extern long long foo;
|
|
|
|
switch (foo & 2) { case 0: return 1; }
|
|
|
|
],
|
1996-07-28 14:32:48 +08:00
|
|
|
gdb_cv_c_long_long=yes, gdb_cv_c_long_long=no)])
|
|
|
|
AC_MSG_RESULT($gdb_cv_c_long_long)
|
|
|
|
if test $gdb_cv_c_long_long = yes; then
|
|
|
|
AC_DEFINE(CC_HAS_LONG_LONG)
|
|
|
|
fi
|
|
|
|
|
|
|
|
dnl See if the compiler and runtime support printing long long
|
|
|
|
|
|
|
|
AC_MSG_CHECKING(for long long support in printf)
|
|
|
|
AC_CACHE_VAL(gdb_cv_printf_has_long_long,
|
|
|
|
[AC_TRY_RUN([
|
|
|
|
int main () {
|
1997-11-24 14:50:12 +08:00
|
|
|
char buf[32];
|
|
|
|
long long l = 0;
|
|
|
|
l = (l << 16) + 0x0123;
|
|
|
|
l = (l << 16) + 0x4567;
|
|
|
|
l = (l << 16) + 0x89ab;
|
|
|
|
l = (l << 16) + 0xcdef;
|
|
|
|
sprintf (buf, "0x%016llx", l);
|
|
|
|
return (strcmp ("0x0123456789abcdef", buf));
|
1996-07-28 14:32:48 +08:00
|
|
|
}],
|
|
|
|
gdb_cv_printf_has_long_long=yes,
|
|
|
|
gdb_cv_printf_has_long_long=no,
|
|
|
|
gdb_cv_printf_has_long_long=no)])
|
|
|
|
if test $gdb_cv_printf_has_long_long = yes; then
|
|
|
|
AC_DEFINE(PRINTF_HAS_LONG_LONG)
|
|
|
|
fi
|
|
|
|
AC_MSG_RESULT($gdb_cv_printf_has_long_long)
|
|
|
|
|
* Add native support for long double data type.
* c-exp.y (%union): Change dval to typed_val_float. Use DOUBLEST
to store actual data. Change types of INT and FLOAT tokens to
typed_val_int and typed_val_float respectively. Create new token
DOUBLE_KEYWORD to specify the string `double'. Make production
for FLOAT use type determined by parse_number. Add production for
"long double" data type.
* (parse_number): Use sscanf to parse numbers as float, double or
long double depending upon the type of typed_val_float.dval. Also
allow user to specify `f' or `l' suffix to explicitly specify
float or long double constants. Change typed_val to
typed_val_int.
* (yylex): Change typed_val to typed_val_int. Also, scan for
"double" keyword.
* coffread.c (decode_base_type): Add support for T_LNGDBL basic
type.
* configure, configure.in: Add check for long double support in
the host compiler.
* defs.h: Define DOUBLEST appropriatly depending on whether
HAVE_LONG_DOUBLE (from autoconf) is defined. Also, fix prototypes
for functions that handle this type.
* expression.h (union exp_element): doubleconst is now type
DOUBLEST.
* m2-exp.y f-exp.y (%union): dval becomes type DOUBLEST.
* findvar.c (extract_floating): Make return value be DOUBLEST.
Also, add support for numbers with size of long double.
* (store_floating): Arg `val' is now type DOUBLEST. Handle all
floating types.
* parser-defs.h parse.c (write_exp_elt_dblcst): Arg expelt is now
DOUBLEST.
* valarith.c (value_binop): Change temp variables v1, v2 and v to
type DOUBLEST. Coerce type of result to long double if either op
was of that type.
* valops.c (value_arg_coerce): If argument type is bigger than
double, coerce to long double.
* (call_function_by_hand): If REG_STRUCT_HAS_ADDR is defined, and
arg type is float and > 8 bytes, then use pointer-to-object
calling conventions.
* valprint.c (print_floating): Arg doub is now type DOUBLEST.
Use appropriate format and precision to print out floating point
values.
* value.h: Fixup prototypes for value_as_double,
value_from_double, and unpack_double to use DOUBLEST.
* values.c (record_latest_value): Remove check for invalid
floats. Allow history to store them so that people may examine
them in hex if they want.
* (value_as_double unpack_double): Change return value to DOUBLEST.
* (value_from_double): Arg `num' is now DOUBLEST.
* (using_struct_return): Use RETURN_VALUE_ON_STACK macro (target
specific) to expect certain types to always be returned on the stack.
1996-02-17 08:07:35 +08:00
|
|
|
dnl See if compiler supports "long double" type. Can't use AC_C_LONG_DOUBLE
|
|
|
|
dnl because autoconf complains about cross-compilation issues. However, this
|
|
|
|
dnl code uses the same variables as the macro for compatibility.
|
|
|
|
|
1996-03-31 09:04:37 +08:00
|
|
|
AC_MSG_CHECKING(for long double support in compiler)
|
* Add native support for long double data type.
* c-exp.y (%union): Change dval to typed_val_float. Use DOUBLEST
to store actual data. Change types of INT and FLOAT tokens to
typed_val_int and typed_val_float respectively. Create new token
DOUBLE_KEYWORD to specify the string `double'. Make production
for FLOAT use type determined by parse_number. Add production for
"long double" data type.
* (parse_number): Use sscanf to parse numbers as float, double or
long double depending upon the type of typed_val_float.dval. Also
allow user to specify `f' or `l' suffix to explicitly specify
float or long double constants. Change typed_val to
typed_val_int.
* (yylex): Change typed_val to typed_val_int. Also, scan for
"double" keyword.
* coffread.c (decode_base_type): Add support for T_LNGDBL basic
type.
* configure, configure.in: Add check for long double support in
the host compiler.
* defs.h: Define DOUBLEST appropriatly depending on whether
HAVE_LONG_DOUBLE (from autoconf) is defined. Also, fix prototypes
for functions that handle this type.
* expression.h (union exp_element): doubleconst is now type
DOUBLEST.
* m2-exp.y f-exp.y (%union): dval becomes type DOUBLEST.
* findvar.c (extract_floating): Make return value be DOUBLEST.
Also, add support for numbers with size of long double.
* (store_floating): Arg `val' is now type DOUBLEST. Handle all
floating types.
* parser-defs.h parse.c (write_exp_elt_dblcst): Arg expelt is now
DOUBLEST.
* valarith.c (value_binop): Change temp variables v1, v2 and v to
type DOUBLEST. Coerce type of result to long double if either op
was of that type.
* valops.c (value_arg_coerce): If argument type is bigger than
double, coerce to long double.
* (call_function_by_hand): If REG_STRUCT_HAS_ADDR is defined, and
arg type is float and > 8 bytes, then use pointer-to-object
calling conventions.
* valprint.c (print_floating): Arg doub is now type DOUBLEST.
Use appropriate format and precision to print out floating point
values.
* value.h: Fixup prototypes for value_as_double,
value_from_double, and unpack_double to use DOUBLEST.
* values.c (record_latest_value): Remove check for invalid
floats. Allow history to store them so that people may examine
them in hex if they want.
* (value_as_double unpack_double): Change return value to DOUBLEST.
* (value_from_double): Arg `num' is now DOUBLEST.
* (using_struct_return): Use RETURN_VALUE_ON_STACK macro (target
specific) to expect certain types to always be returned on the stack.
1996-02-17 08:07:35 +08:00
|
|
|
AC_CACHE_VAL(ac_cv_c_long_double,
|
|
|
|
[AC_TRY_COMPILE(, [long double foo;],
|
|
|
|
ac_cv_c_long_double=yes, ac_cv_c_long_double=no)])
|
|
|
|
AC_MSG_RESULT($ac_cv_c_long_double)
|
|
|
|
if test $ac_cv_c_long_double = yes; then
|
|
|
|
AC_DEFINE(HAVE_LONG_DOUBLE)
|
|
|
|
fi
|
|
|
|
|
1996-03-31 09:04:37 +08:00
|
|
|
dnl See if the compiler and runtime support printing long doubles
|
|
|
|
|
|
|
|
AC_MSG_CHECKING(for long double support in printf)
|
|
|
|
AC_CACHE_VAL(gdb_cv_printf_has_long_double,
|
|
|
|
[AC_TRY_RUN([
|
|
|
|
int main () {
|
|
|
|
char buf[16];
|
|
|
|
long double f = 3.141592653;
|
|
|
|
sprintf (buf, "%Lg", f);
|
|
|
|
return (strncmp ("3.14159", buf, 7));
|
|
|
|
}],
|
|
|
|
gdb_cv_printf_has_long_double=yes,
|
|
|
|
gdb_cv_printf_has_long_double=no,
|
|
|
|
gdb_cv_printf_has_long_double=no)])
|
|
|
|
if test $gdb_cv_printf_has_long_double = yes; then
|
|
|
|
AC_DEFINE(PRINTF_HAS_LONG_DOUBLE)
|
|
|
|
fi
|
|
|
|
AC_MSG_RESULT($gdb_cv_printf_has_long_double)
|
|
|
|
|
1997-11-24 14:50:12 +08:00
|
|
|
dnl See if the compiler and runtime support scanning long doubles
|
|
|
|
|
|
|
|
AC_MSG_CHECKING(for long double support in scanf)
|
|
|
|
AC_CACHE_VAL(gdb_cv_scanf_has_long_double,
|
|
|
|
[AC_TRY_RUN([
|
|
|
|
int main () {
|
|
|
|
char *buf = "3.141592653";
|
|
|
|
long double f = 0;
|
|
|
|
sscanf (buf, "%Lg", &f);
|
|
|
|
return !(f > 3.14159 && f < 3.14160);
|
|
|
|
}],
|
|
|
|
gdb_cv_scanf_has_long_double=yes,
|
|
|
|
gdb_cv_scanf_has_long_double=no,
|
|
|
|
gdb_cv_scanf_has_long_double=no)])
|
|
|
|
if test $gdb_cv_scanf_has_long_double = yes; then
|
|
|
|
AC_DEFINE(SCANF_HAS_LONG_DOUBLE)
|
|
|
|
fi
|
|
|
|
AC_MSG_RESULT($gdb_cv_scanf_has_long_double)
|
|
|
|
|
* configure.in: Check for working mmap, ansi headers, string.h,
strings.h, and memory.h.
* configure: Regenerated.
* gdb_stat.h: New file, "portable" <sys/stat.h>.
* gdb_string.h: New file, "portable" <string.h>.
* altos-xdep.c, arm-tdep.c, arm-xdep.c, convex-tdep.c,
convex-xdep.c, coredep.c, cxux-nat.c, dbxread.c, exec.c,
gould-xdep.c, hppa-tdep.c, i386aix-nat.c, i386b-nat.c,
i386mach-nat.c, i386v-nat.c, infptrace.c, m88k-nat.c, main.c,
mdebugread.c, objfiles.c, os9kread.c, procfs.c, pyr-xdep.c,
rs6000-nat.c, source.c, standalone.c, stuff.c, sun386-nat.c,
symfile.c, symm-nat.c, symm-tdep.c, symtab.c, top.c, ultra3-nat.c,
ultra3-xdep.c, umax-xdep.c, xcoffread.c: Include "gdb_stat.h"
instead of <sys/stat.h>.
* alpha-tdep.c, breakpoint.c, buildsym.c, c-typeprint.c,
ch-typeprint.c, coffread.c, command.c, core-sol2.c, core-svr4.c,
core.c, corelow.c, cp-valprint.c, dbxread.c, dcache.c, demangle.c,
dpx2-nat.c, dstread.c, dwarfread.c, elfread.c, environ.c, eval.c,
exec.c, f-lang.c, f-typeprint.c, f-valprint.c, findvar.c,
fork-child.c, gdbtypes.c, hpread.c, i386-tdep.c, infcmd.c,
inflow.c, infptrace.c, infrun.c, irix5-nat.c, language.c,
m2-typeprint.c, main.c, mdebugread.c, minsyms.c, mipsread.c,
monitor.c, nlmread.c, objfiles.c, os9kread.c, osfsolib.c, parse.c,
printcmd.c, procfs.c, regex.c, remote-adapt.c, remote-arc.c,
remote-array.c, remote-bug.c, remote-e7000.c, remote-eb.c,
remote-es.c, remote-hms.c, remote-mm.c, remote-os9k.c,
remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c,
remote-utils.c, remote-vx.c, remote-vx29k.c, remote-vx68.c,
remote-vx960.c, remote-vxmips.c, remote-vxsparc.c, remote.c,
solib.c, somread.c, source.c, stabsread.c, stack.c, symfile.c,
symmisc.c, symtab.c, target.c, top.c, typeprint.c, utils.c,
valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Include
"gdb_string.h" instead of <string.h>.
* gdbtk.c: Likewise.
* config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h,
sparc/xm-sun4os4.h (HAVE_MMAP): Removed.
* config/xm-lynx.h, config/i386/xm-ptx.h,
config/m68k/nm-apollo68b.h, config/m68k/xm-hp300hpux.h,
config/mips/xm-irix3.h, config/mips/xm-mips.h,
config/mips/xm-news-mips.h, config/mips/xm-riscos.h,
config/pa/hppah.h, config/rs6000/xm-rs6000.h,
config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
config/vax/xm-vaxbsd.h, config/vax/xm-vaxult.h,
config/vax/xm-vaxult2.h (MEM_FNS_DECLARED): Removed.
* config/mips/xm-irix3.h, config/mips/xm-mips.h,
config/pa/xm-hppah.h (memcpy, memset): Removed declarations.
1995-08-02 04:14:27 +08:00
|
|
|
AC_FUNC_MMAP
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
|
1996-08-21 09:02:53 +08:00
|
|
|
BFD_NEED_DECLARATION(malloc)
|
|
|
|
BFD_NEED_DECLARATION(realloc)
|
|
|
|
BFD_NEED_DECLARATION(free)
|
|
|
|
|
1998-04-24 03:53:35 +08:00
|
|
|
BFD_NEED_DECLARATION(strerror)
|
|
|
|
|
1996-06-12 03:21:42 +08:00
|
|
|
dnl See if thread_db library is around for Solaris thread debugging. Note that
|
|
|
|
dnl we must explicitly test for version 1 of the library because version 0
|
|
|
|
dnl (present on Solaris 2.4 or earlier) doesn't have the same API.
|
|
|
|
|
1996-07-04 08:49:25 +08:00
|
|
|
dnl Note that we only want this if we are both native (host == target), and
|
|
|
|
dnl not doing a canadian cross build (build == host).
|
|
|
|
|
|
|
|
if test ${build} = ${host} -a ${host} = ${target} ; then
|
1998-01-28 08:17:53 +08:00
|
|
|
case ${host_os} in
|
|
|
|
hpux*)
|
|
|
|
AC_MSG_CHECKING(for HPUX/OSF thread support)
|
|
|
|
if test -f /usr/include/dce/cma_config.h ; then
|
|
|
|
if test "$GCC" = "yes" ; then
|
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(HAVE_HPUX_THREAD_SUPPORT)
|
|
|
|
CONFIG_OBS="${CONFIG_OJS} hpux-thread.o"
|
1998-02-05 09:47:26 +08:00
|
|
|
CONFIG_SRCS="${CONFIG_SRCS} hpux-thread.c"
|
1998-01-28 08:17:53 +08:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no (suppressed because you are not using GCC))
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
solaris*)
|
|
|
|
AC_MSG_CHECKING(for Solaris thread debugging library)
|
|
|
|
if test -f /usr/lib/libthread_db.so.1 ; then
|
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(HAVE_THREAD_DB_LIB)
|
|
|
|
CONFIG_OBS="${CONFIG_OBS} sol-thread.o"
|
1998-02-05 09:47:26 +08:00
|
|
|
CONFIG_SRCS="${CONFIG_SRCS} sol-thread.c"
|
1998-01-28 08:17:53 +08:00
|
|
|
AC_CHECK_LIB(dl, dlopen)
|
|
|
|
if test "$GCC" = "yes" ; then
|
|
|
|
# The GNU linker requires the -export-dynamic option to make
|
|
|
|
# all symbols visible in the dynamic symbol table.
|
|
|
|
hold_ldflags=$LDFLAGS
|
|
|
|
AC_MSG_CHECKING(for the ld -export-dynamic flag)
|
|
|
|
LDFLAGS="${LDFLAGS} -Wl,-export-dynamic"
|
|
|
|
AC_TRY_LINK(, [int i;], found=yes, found=no)
|
|
|
|
LDFLAGS=$hold_ldflags
|
|
|
|
AC_MSG_RESULT($found)
|
|
|
|
if test $found = yes; then
|
|
|
|
CONFIG_LDFLAGS="${CONFIG_LDFLAGS} -Wl,-export-dynamic"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
AC_SUBST(CONFIG_LDFLAGS)
|
1996-07-04 08:49:25 +08:00
|
|
|
fi
|
1996-05-14 15:02:56 +08:00
|
|
|
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
dnl Handle optional features that can be enabled.
|
|
|
|
ENABLE_CFLAGS=
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(netrom,
|
|
|
|
[ --enable-netrom ],
|
|
|
|
[case "${enableval}" in
|
|
|
|
yes) enable_netrom=yes ;;
|
|
|
|
no) enable_netrom=no ;;
|
|
|
|
*) AC_MSG_ERROR(bad value ${enableval} given for netrom option) ;;
|
|
|
|
esac])
|
|
|
|
|
|
|
|
if test "${enable_netrom}" = "yes"; then
|
1997-01-04 08:25:53 +08:00
|
|
|
CONFIG_OBS="${CONFIG_OBS} remote-nrom.o"
|
1998-02-05 09:47:26 +08:00
|
|
|
CONFIG_SRCS="${CONFIG_SRCS} remote-nrom.c"
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
fi
|
|
|
|
|
* configure.in (--with-mmalloc): Add new configure arg to use the
mmalloc package. Default is to not use it.
(START_INFERIOR_TRAPS_EXPECTED): Define to the integer 2, not
the string "2".
* acconfig.h (USE_MMALLOC, FORCE_MMCHECK): Add #undef.
* configure: Regenerated.
* config.in: Regenerated.
* Makefile.in (MMALLOC_DIR, MMALLOC_SRC): Remove.
(MMALLOC): Set using configure.
(MMALLOC_CFLAGS): Set using configure.
* config/i386/tm-linux.h (sys_quotactl): Define to 1 rather
than just defining it.
* mpw-make.sed: Undefine USE_MMALLOC rather than defining NO_MMALLOC.
* utils.c (NO_MMALLOC): Use USE_MMALLOC instead.
* objfiles.c: ditto.
* defs.h: ditto.
* config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Remove.
* config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Remove.
* config/i386/cygwin32.mh (MMALLOC_CFLAGS): Remove.
* config/alpha/alpha-osf3.mh (MMALLOC_CFLAGS): Remove.
* config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Remove.
* gdbserver/Makefile.in (MMALLOC_*): Remove.
* config/rs6000/rs6000.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/rs6000/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/powerpc/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/powerpc/aix.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/ns32k/ns32km3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/mips/mipsm3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/mips/decstation.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/m88k/cxux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/i386/xm-windows.h (NO_MMALLOC, NO_MMCHECK): Remove.
* config/i386/i386mk.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/i386/i386m3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/i386/i386gnu.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/alpha/alpha-osf1.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/alpha/alpha-linux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
1998-01-14 12:28:29 +08:00
|
|
|
MMALLOC_CFLAGS=
|
|
|
|
MMALLOC=
|
|
|
|
AC_SUBST(MMALLOC_CFLAGS)
|
|
|
|
AC_SUBST(MMALLOC)
|
|
|
|
|
|
|
|
AC_ARG_WITH(mmalloc,
|
|
|
|
[ --with-mmalloc use memory mapped malloc package],
|
|
|
|
[case "${withval}" in
|
|
|
|
yes) want_mmalloc=true ;;
|
|
|
|
no) want_mmalloc=false;;
|
|
|
|
*) AC_MSG_ERROR(bad value ${withval} for GDB with-mmalloc option) ;;
|
|
|
|
esac],[want_mmalloc=false])dnl
|
|
|
|
|
|
|
|
if test x$want_mmalloc = xtrue; then
|
|
|
|
AC_DEFINE(USE_MMALLOC)
|
1998-02-18 06:42:02 +08:00
|
|
|
AC_DEFINE(MMCHECK_FORCE)
|
* configure.in (--with-mmalloc): Add new configure arg to use the
mmalloc package. Default is to not use it.
(START_INFERIOR_TRAPS_EXPECTED): Define to the integer 2, not
the string "2".
* acconfig.h (USE_MMALLOC, FORCE_MMCHECK): Add #undef.
* configure: Regenerated.
* config.in: Regenerated.
* Makefile.in (MMALLOC_DIR, MMALLOC_SRC): Remove.
(MMALLOC): Set using configure.
(MMALLOC_CFLAGS): Set using configure.
* config/i386/tm-linux.h (sys_quotactl): Define to 1 rather
than just defining it.
* mpw-make.sed: Undefine USE_MMALLOC rather than defining NO_MMALLOC.
* utils.c (NO_MMALLOC): Use USE_MMALLOC instead.
* objfiles.c: ditto.
* defs.h: ditto.
* config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Remove.
* config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Remove.
* config/i386/cygwin32.mh (MMALLOC_CFLAGS): Remove.
* config/alpha/alpha-osf3.mh (MMALLOC_CFLAGS): Remove.
* config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Remove.
* gdbserver/Makefile.in (MMALLOC_*): Remove.
* config/rs6000/rs6000.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/rs6000/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/powerpc/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/powerpc/aix.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/ns32k/ns32km3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/mips/mipsm3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/mips/decstation.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/m88k/cxux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/i386/xm-windows.h (NO_MMALLOC, NO_MMCHECK): Remove.
* config/i386/i386mk.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/i386/i386m3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/i386/i386gnu.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/alpha/alpha-osf1.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
* config/alpha/alpha-linux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
1998-01-14 12:28:29 +08:00
|
|
|
MMALLOC_CFLAGS="-I$srcdir/../mmalloc"
|
|
|
|
MMALLOC='../mmalloc/libmmalloc.a'
|
|
|
|
fi
|
|
|
|
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
# start-sanitize-gdbtk
|
1997-07-10 15:15:26 +08:00
|
|
|
ENABLE_IDE=
|
|
|
|
AC_ARG_ENABLE(ide, [ --enable-ide Enable IDE support])
|
|
|
|
if test "$enable_ide" = yes; then
|
|
|
|
enable_ide=yes
|
|
|
|
ENABLE_IDE=1
|
|
|
|
else
|
|
|
|
enable_ide=no
|
|
|
|
fi
|
|
|
|
AC_SUBST(ENABLE_IDE)
|
|
|
|
|
1998-08-14 04:24:45 +08:00
|
|
|
AC_ARG_WITH(foundry-libs,
|
|
|
|
[ --with-foundry-libs=directory use the Foundry SDK in directory],
|
|
|
|
[FOUNDRY_LIB_BASE=${withval}])
|
|
|
|
AC_SUBST(FOUNDRY_LIB_BASE)
|
|
|
|
|
|
|
|
#
|
|
|
|
# This is the Foundry SDK
|
|
|
|
#
|
|
|
|
# These variables are used to determine where the Foundry libs and
|
|
|
|
# header files are located.
|
|
|
|
#
|
|
|
|
if test "$FOUNDRY_LIB_BASE" != ""; then
|
|
|
|
LIBGUI="${FOUNDRY_LIB_BASE}/lib/libgui.a"
|
|
|
|
GUI_CFLAGS_X="-I${FOUNDRY_LIB_BASE}/include"
|
|
|
|
if test x$enable_ide = xyes; then
|
|
|
|
IDE_CFLAGS_X="-I${FOUNDRY_LIB_BASE}/include -DIDE"
|
|
|
|
IDE_X="-L${FOUNDRY_LIB_BASE}/lib -lilu-Tk -lilu-c -lilu"
|
|
|
|
else
|
|
|
|
IDE_CFLAGS_X="-I${FOUNDRY_LIB_BASE}/include"
|
|
|
|
fi
|
|
|
|
LIBIDETCL="${FOUNDRY_LIB_BASE}/lib/libidetcl.a"
|
|
|
|
LIBIDE="${FOUNDRY_LIB_BASE}/lib/libide.a"
|
|
|
|
IDE_DEPS="${FOUNDRY_LIB_BASE}/lib/libilu-Tk.a ${FOUNDRY_LIB_BASE}/lib/libilu-c.a ${FOUNDRY_LIB_BASE}/lib/libilu.a"
|
|
|
|
else
|
|
|
|
LIBGUI="../libgui/src/libgui.a"
|
|
|
|
GUI_CFLAGS_X="-I${srcdir}/../libgui/src"
|
|
|
|
if test x$enable_ide = xyes; then
|
|
|
|
IDE_CFLAGS_X="-I${srcdir}/../libidetcl/src -I${srcdir}/../libide/src -DIDE -I${srcdir}/../ilu/runtime/mainloop"
|
|
|
|
IDE_X="-L../ilu/runtime/mainloop -lilu-Tk -L../ilu/runtime/c -lilu-c -L../ilu/runtime/kernel -lilu"
|
|
|
|
else
|
|
|
|
IDE_CFLAGS_X="-I${srcdir}/../libidetcl/src -I${srcdir}/../libide/src"
|
|
|
|
fi
|
|
|
|
LIBIDETCL="../libidetcl/src/libidetcl.a"
|
|
|
|
LIBIDE="../libide/src/libide.a"
|
|
|
|
IDE_DEPS="../ilu/runtime/mainloop/libilu-Tk.a ../ilu/runtime/c/libilu-c.a ../ilu/runtime/kernel/libilu.a"
|
|
|
|
fi
|
|
|
|
AC_SUBST(LIBGUI)
|
|
|
|
AC_SUBST(GUI_CFLAGS_X)
|
|
|
|
AC_SUBST(IDE_CFLAGS_X)
|
|
|
|
AC_SUBST(IDE_X)
|
|
|
|
AC_SUBST(LIBIDETCL)
|
|
|
|
AC_SUBST(LIBIDE)
|
|
|
|
AC_SUBST(IDE_DEPS)
|
|
|
|
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
ENABLE_GDBTK=
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(gdbtk,
|
|
|
|
[ --enable-gdbtk ],
|
|
|
|
[case "${enableval}" in
|
1996-01-05 08:42:36 +08:00
|
|
|
yes)
|
|
|
|
case "$host" in
|
|
|
|
*go32*)
|
|
|
|
AC_MSG_WARN([GDB does not support GDBtk on host ${host}. GDBtk will be disabled.])
|
|
|
|
enable_gdbtk=no ;;
|
1997-03-20 07:39:20 +08:00
|
|
|
*windows*)
|
1996-06-20 08:29:38 +08:00
|
|
|
AC_MSG_WARN([GDB does not support GDBtk on host ${host}. GDBtk will be disabled.])
|
|
|
|
enable_gdbtk=no ;;
|
1996-01-05 08:42:36 +08:00
|
|
|
*)
|
|
|
|
enable_gdbtk=yes ;;
|
|
|
|
esac ;;
|
|
|
|
no)
|
|
|
|
enable_gdbtk=no ;;
|
|
|
|
*)
|
|
|
|
AC_MSG_ERROR(bad value ${enableval} given for gdbtk option) ;;
|
|
|
|
esac],
|
|
|
|
[
|
1996-06-20 08:29:38 +08:00
|
|
|
# Default is on for everything but go32 and cygwin32
|
1996-01-05 08:42:36 +08:00
|
|
|
case "$host" in
|
1997-03-20 07:39:20 +08:00
|
|
|
*go32* | *windows*)
|
1996-06-20 08:29:38 +08:00
|
|
|
;;
|
1996-01-05 08:42:36 +08:00
|
|
|
*)
|
|
|
|
enable_gdbtk=yes ;;
|
|
|
|
esac
|
|
|
|
])
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
|
1997-08-02 03:24:55 +08:00
|
|
|
# In the cygwin32 environment, we need some additional flags.
|
|
|
|
AC_CACHE_CHECK([for cygwin32], gdb_cv_os_cygwin32,
|
|
|
|
[AC_EGREP_CPP(lose, [
|
|
|
|
#ifdef __CYGWIN32__
|
|
|
|
lose
|
|
|
|
#endif],[gdb_cv_os_cygwin32=yes],[gdb_cv_os_cygwin32=no])])
|
|
|
|
|
|
|
|
WIN32LIBS=
|
|
|
|
WIN32LDAPP=
|
|
|
|
AC_SUBST(WIN32LIBS)
|
|
|
|
AC_SUBST(WIN32LDAPP)
|
|
|
|
|
Sat Mar 21 19:34:49 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
merged changes from Foundry (list follows by file/author):
- Tom Tromey <tromey@cygnus.com>
* Makefile.in (gdbres.o): New target.
(WINDRES): New define.
* configure: Rebuilt.
* configure.in (WINDRES): Define.
(CONFIG_OBS): Include gdbres.o on Windows.
* gdbtool.ico: New file.
* gdb.rc: New file.
* ser-unix.c
- Keith Seitz <keiths@onions.cygnus.com>
(wait_for): Don't reset the timeout_remaining for CYGWIN32,
since we now effectively poll the serial port.
Don't reset the current_timeout, either, since this member is used
by hardwire_readchar to track the timeout and call the ui_loop_hook.
(hardwire_readchar): Poll the serial port for Cygwin32. We timeout every
second, update the UI, and loop around doing this until we have hit the real
timeout or we get data or an error. This will allow the UI to stay active
while gdb is "blocked" talking to the target.
- Martin M. Hunt <hunt@cygnus.com>
(wait_for): Do reset current_timeout
because it is only used to keep track of what the
current timeout for the scb is.
* top.c
- Martin M. Hunt <hunt@cygnus.com>
(quit_confirm): Change exit message again
for GUI.
(pc_changed_hook): Add prototype.
- Tom Tromey <tromey@cygnus.com>
(quit_confirm): Added missing `else'.
(quit_confirm): Special-case message if init_ui_hook is
set.
* symtab.c
- Martin M. Hunt <hunt@cygnus.com>
(find_pc_sect_line): If no symbol information
is found, return correct pc anyway.
(find_methods): Comment out an apparently
bogus error message because it messes up Foundry.
* serial.c
- Martin M. Hunt <hunt@cygnus.com>
(_initialize_serial): Add a description of
"set remotelogbase".
* findvar.c
- Martin M. Hunt <hunt@cygnus.com>
(write_register_gen): Add call to
pc_changed_hook if the PC is being changed.
* defs.h
- Martin M. Hunt <hunt@cygnus.com>
(pc_changed_hook): Define.
* command.c
- Martin M. Hunt <hunt@cygnus.com>
(do_setshow_command): If no arguments are supplied,
don't dump core, instead print out an error message.
* breakpoint.c
- Martin M. Hunt <hunt@cygnus.com>
Make set_raw_breakpoint, set_breakpoint_count,
and breakpoint_count non-static so they are accessible from
gdbtk.c.
(enable_breakpoint): Enable breakpoint
with same disposition instead of changing all breakpoints
to donttouch.
* annotate.h
- Keith Seitz <keiths@onions.cygnus.com>
Add declarations for annotation hooks.
* annotate.c
- Keith Seitz <keiths@onions.cygnus.com>
Add hooks: annotate_starting_hook, annotate_stopped_hook,
annotate_signalled_hook, annotate_exited_hook.
(annotate_starting): If hook exists, call it instead.
(annotate_stopped): If hook exists, call it instead.
(annotate_exited): If hook exists, call it instead.
(annotate_signalled): If hook exists, call it instead.
Sat Mar 21 19:34:49 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Merged changes from Foundry: list follows by author:
- Tom Tromey <tromey@cygnus.com>
* Makefile.in (gdbres.o): New target.
(WINDRES): New define.
* configure: Rebuilt.
* configure.in (WINDRES): Define.
(CONFIG_OBS): Include gdbres.o on Windows.
* gdbtool.ico: New file.
* gdb.rc: New file.
* gdbtk.c (gdbtk_init): Call ide_create_messagebox_command.
(gdbtk_cleanup): Call ide_interface_deregister_all.
(gdbtk_init): Pass event handle to cleanup.
(TclDebug): Use Tcl_Merge to construct command.
(gdbtk_init): Call ide_create_cygwin_path_command.
- Martin M. Hunt <hunt@cygnus.com>
* gdbtk.c (gdb_set_bp): Set addr_string for bp.
(gdb_get_breakpoint_info): Demangle function
names in breakpoint info.
Include "demangle.h".
(gdb_loc, gdb_listfuncs): Demangle C++
function names.
(gdb_set_bp): Properly quote filename to fix
problems with spaces. Send pc back as a hex string.
(gdb_listfuncs): Remove debugging line.
Turn off some debugging lines.
(breakpoint_notify): Return correct line number.
(gdb_get_breakpoint_info): Return correct line number.
(gdb_set_bp): New function to provide a better way to
set breakpoints.
(gdbtk_readline, gdbtk_readline_begin): Memory
allocated by tcl needs to be freed by Tcl_Free().
(find_file_in_dir): Deleted.
(gdb_find_file_command): Call full_lookup_symtab().
(gdb_listfuncs): Call full_lookup_symtab().
(full_lookup_symtab): New function. Like lookup_symtab
except handles multiple files with the same basename,
full pathnames, and always sets symtab->fullname.
(gdb_loadfile): Call full_lookup_symtab(). Clear
realloc'd memory.
(gdb_loadfile): Don't tag lines without source.
Tag source lines with source_tag.
(gdb_find_file_command, find_file_in_dir):
Rewrite. Now searches symtabs and psymtabs for a match
on the partial or full filename. Returns the full pathname.
(gdb_loadfile): Realloc additional memory
if someone loads in a file with more than 160,000
lines. I don't know if this really works because
I don't have enough memory to test it.
(gdb_sourcelines): Deleted.
(gdb_loadfile): New function. Takes a text widget
and loads it with the contents of a file. Marks
and tags source lines.
(pc_changed): New function.
(get_pc_register): Returns the value of
the PC to GDB.
(gdb_loc): If looking on the stack, return
real pc along with calling source line.
(gdb_loc): Return "" instead of "N/A" if
filename is not found.
(gdb_get_breakpoint_info): Same.
(get_register): For Natural mode, set format to 0.
Minor bugfixes from keiths.
(TclDebug): New function for debugging use.
(gdb_loc): Return correct PC for frames
that are not the innermost frame.
(gdb_listfiles): Rewritten to use object
API. Now takes an optional dirname which will cause
only files in that directory or its subdirectories
to be returned. Now returns basenames instead of
full pathnames.
(gdb_cmd): Set/reset load_in_progress flag.
(call_wrapper): Don't pop up dialog for errors in
downloads; just abort download.
(gdbtk_load_hash): Set return value correctly.
- Keith Seitz <keiths@onions.cygnus.com>
* gdbtk.c (gdbtk_init): Define the ui_loop_hook so that it can be
called by routines which might block, allowing us to update the GUI.
(gdbtk_wait): Move timer calls to annotation hooks.
(gdbtk_init): Define the annotation hooks.
(gdbtk_annotate_starting): New function for cygwin32 hosts.
(gdbtk_annotate_stopped): New function for cygwin32 hosts.
(gdbtk_annotate_exited): New function for cygwin32 hosts.
(gdbtk_annotate_signalled): New function. for cygwin32 hosts.
(gdbtk_init): Use gdbtk_print_frame_info hook.
(gdbtk_print_frame_info): New function which sets current_source_symtab
based on the given symtab and line info.
(gdb_immediate_command): New function which does
not buffer any
output. (Contrast to gdb_cmd.)
(gdb_prompt_command): New function to return gdb's prompt.
(find_file_in_dir): New functon which searches source paths
for a given filename.
(gdb_find_file): New function which returns path to given file -- uses
find_file_in_dir.
(gdbtk_init): Install "gdb_immediate", "gdb_find_file", and
"gdb_prompt"
commands into interpreter.
- Ian Lance Taylor <ian@cygnus.com>
* gdbtk.c (gdbtk_timer_going): If __CYGWIN32__, new static
variable.
(gdb_cmd): If __CYGWIN32__, if executing the load command, call
gdbtk_start_timer and gdbtk_stop_timer.
(call_wrapper): If __CYGWIN32__, if the timer is going, turn it
off. Clear load_in_progress.
(x_event): If load_in_progress, quit if download_cancel_ok.
(gdbtk_start_timer): Set gdbtk_timer_going.
(gdbtk_stop_timer): Clear gdbtk_timer_going.
(gdbtk_wait): Call x_event.
(gdbtk_init): Call ide_create_win_grab_command if
__CYGIN32__.
(gdb_clear_file): Clear stop_pc.
1998-03-23 07:02:10 +08:00
|
|
|
WINDRES=${WINDRES-windres}
|
|
|
|
AC_SUBST(WINDRES)
|
|
|
|
|
1997-08-02 03:24:55 +08:00
|
|
|
if test x$gdb_cv_os_cygwin32 = xyes; then
|
|
|
|
if test x$enable_ide = xyes; then
|
|
|
|
WIN32LIBS="-ladvapi32"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
configdir="unix"
|
1997-03-20 07:39:20 +08:00
|
|
|
|
1998-04-29 12:17:25 +08:00
|
|
|
GDBTKLIBS=
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
if test "${enable_gdbtk}" = "yes"; then
|
1996-01-05 08:42:36 +08:00
|
|
|
|
1996-08-02 10:43:27 +08:00
|
|
|
CY_AC_PATH_TCLCONFIG
|
1996-08-29 01:13:00 +08:00
|
|
|
if test -z "${no_tcl}"; then
|
|
|
|
CY_AC_LOAD_TCLCONFIG
|
|
|
|
CY_AC_PATH_TKCONFIG
|
1996-08-02 10:43:27 +08:00
|
|
|
|
1996-08-29 01:13:00 +08:00
|
|
|
# If $no_tk is nonempty, then we can't do Tk, and there is no
|
|
|
|
# point to doing Tcl.
|
|
|
|
if test -z "${no_tk}"; then
|
|
|
|
CY_AC_LOAD_TKCONFIG
|
|
|
|
CY_AC_PATH_TCLH
|
|
|
|
CY_AC_PATH_TKH
|
1997-07-10 15:15:26 +08:00
|
|
|
CY_AC_PATH_ITCLH
|
|
|
|
CY_AC_PATH_TIX
|
1996-08-02 10:43:27 +08:00
|
|
|
|
1997-07-23 10:45:59 +08:00
|
|
|
# now look for tix library stuff
|
1997-08-08 05:07:44 +08:00
|
|
|
TIXVERSION=4.1.8.0
|
1997-07-23 10:45:59 +08:00
|
|
|
. ${ac_cv_c_tclconfig}/tclConfig.sh
|
|
|
|
case "${host}" in
|
|
|
|
*-*-cygwin32*)
|
1997-08-09 03:20:42 +08:00
|
|
|
tixdir=../tix/win/tcl8.0
|
1997-07-23 10:45:59 +08:00
|
|
|
;;
|
|
|
|
*)
|
1997-08-08 05:07:44 +08:00
|
|
|
tixdir=../tix/unix/tk8.0
|
1997-07-23 10:45:59 +08:00
|
|
|
;;
|
|
|
|
esac
|
1998-01-15 09:19:00 +08:00
|
|
|
if test "${TCL_SHARED_BUILD}" = "1"; then
|
|
|
|
TIX_LIB_EXT="${TCL_SHLIB_SUFFIX}"
|
1998-01-24 04:54:35 +08:00
|
|
|
|
|
|
|
# Can't win them all: SunOS 4 (others?) appends a version
|
|
|
|
# number after the ".so"
|
|
|
|
case "${host}" in
|
|
|
|
*-*-sunos4*)
|
|
|
|
TIX_LIB_EXT="${TIX_LIB_EXT}.1.0" ;;
|
|
|
|
esac
|
|
|
|
|
1998-01-15 09:19:00 +08:00
|
|
|
else
|
|
|
|
TIX_LIB_EXT=".a"
|
|
|
|
fi
|
1998-01-24 04:54:35 +08:00
|
|
|
|
1997-07-23 10:45:59 +08:00
|
|
|
if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
|
|
|
|
TIXLIB="-L${tixdir} -ltix${TIXVERSION}"
|
1998-01-15 09:19:00 +08:00
|
|
|
TIX_DEPS="${tixdir}/libtix${TIXVERSION}${TIX_LIB_EXT}"
|
1997-07-23 10:45:59 +08:00
|
|
|
else
|
|
|
|
TIXLIB="-L${tixdir} -ltix`echo ${TIXVERSION} | tr -d .`"
|
1998-01-15 09:19:00 +08:00
|
|
|
TIX_DEPS="${tixdir}/libtix`echo ${TIXVERSION} | tr -d .`${TIX_LIB_EXT}"
|
1997-07-23 10:45:59 +08:00
|
|
|
fi
|
|
|
|
|
1996-08-29 01:13:00 +08:00
|
|
|
ENABLE_GDBTK=1
|
1998-06-30 03:04:30 +08:00
|
|
|
ENABLE_CFLAGS="${ENABLE_CFLAGS} -DGDBTK"
|
1996-01-25 07:39:34 +08:00
|
|
|
|
1997-01-04 08:25:53 +08:00
|
|
|
# Include some libraries that Tcl and Tk want.
|
1997-07-10 15:15:26 +08:00
|
|
|
if test "${enable_ide}" = "yes"; then
|
1998-04-01 06:19:53 +08:00
|
|
|
TCL_LIBS='$(LIBIDETCL) $(LIBIDE) $(LIBGUI) $(IDE) $(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
|
|
|
|
CONFIG_DEPS='$(LIBIDETCL) $(LIBIDE) $(LIBGUI) $(IDE_DEPS) $(ITCL_DEPS) $(TIX_DEPS) $(TK_DEPS) $(TCL_DEPS)'
|
1997-07-10 15:15:26 +08:00
|
|
|
else
|
1997-12-17 02:20:54 +08:00
|
|
|
TCL_LIBS='$(LIBGUI) $(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
|
|
|
|
CONFIG_DEPS='$(LIBGUI) $(ITCL_DEPS) $(TIX_DEPS) $(TK_DEPS) $(TCL_DEPS)'
|
1997-07-10 15:15:26 +08:00
|
|
|
fi
|
1997-03-15 01:16:43 +08:00
|
|
|
# Yes, the ordering seems wrong here. But it isn't.
|
|
|
|
# TK_LIBS is the list of libraries that need to be linked
|
1998-04-29 12:17:25 +08:00
|
|
|
# after Tcl/Tk. Note that this isn't put into LIBS. If it
|
|
|
|
# were in LIBS then any link tests after this point would
|
|
|
|
# try to include things like `$(LIBGUI)', which wouldn't work.
|
|
|
|
GDBTKLIBS="${TCL_LIBS} ${TK_LIBS}"
|
1998-07-02 04:17:31 +08:00
|
|
|
CONFIG_OBS="${CONFIG_OBS} gdbtk.o gdbtk-cmds.o gdbtk-hooks.o"
|
1997-08-02 03:24:55 +08:00
|
|
|
|
|
|
|
if test x$gdb_cv_os_cygwin32 = xyes; then
|
* tracepoint.c (set_raw_tracepoint): make sure there's a trailing slash on
the directory name
* Merge (lots) with foundry-971118-build
* Makefile.in (install-only): install the new gdbtk, not the old
* top.h: add declaration of get_prompt
* top.c (get_prompt): new function
* gdbtk.c (gdbtk_call_command): also run idle hooks for class_trace
commands
(gdbtk_init): add new commands "gdb_get_locals", "gdb_get_args",
"gdb_get_function", "gdb_get_line", "gdb_get_file",
"gdb_tracepoint_exists", "gdb_get_tracepoint_info", "gdb_actions",
and "gdb_prompt"
(gdb_get_vars_command): new function
(gdb_get_line_command): new function
(gdb_get_file_command): new function
(gdb_get_function_command): new function
(gdb_get_tracepoint_info): new function
(gdbtk_create_tracepoint): new function
(gdbtk_delete_tracepoint): new function
(tracepoint_notify): new function
(tracepoint_exists): new function
(gdb_actions_command): new function
(gdb_tracepoint_exists_command): new function
(gdb_prompt_command): new function
* main.tcl: initialize gdbtk_state(readline)
* console.tcl (invoke): get realine working
(activate): add prompt argument for readline
(setprompt): add prompt argument for readline
* interface.tcl (gdbtk_tcl_readline): hack to get readline working
* lots: Merge with foundry-971118-build
* console.tcl (setprompt): get prompt from gdb
* prefs.tcl (pref_set_defaults): add tracepoint defaults
* interface.tcl (gdbtk_tcl_tracepoint): new function
* src.tcl (constructor): set default behavior of left click, make
a tracepoint dot, too
(fill_files): "new" function: ripped out of "location"
(location): use fill_files instead
(do_bp): add support for tracepoints
(bp_line): add support for tracepoints
(set_tracepoint): new function
(config_win): add "Set tracepoint here" to right-click menu
* actiondlg.tcl: new file to help with tracepoint data collection actions
* tracedlg.tcl: new file to help with tracepoints
1997-11-27 06:38:10 +08:00
|
|
|
WIN32LIBS="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32 -luser32"
|
1998-05-29 09:20:46 +08:00
|
|
|
WIN32LDAPP="-Wl,--subsystem,console"
|
Sat Mar 21 19:34:49 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
merged changes from Foundry (list follows by file/author):
- Tom Tromey <tromey@cygnus.com>
* Makefile.in (gdbres.o): New target.
(WINDRES): New define.
* configure: Rebuilt.
* configure.in (WINDRES): Define.
(CONFIG_OBS): Include gdbres.o on Windows.
* gdbtool.ico: New file.
* gdb.rc: New file.
* ser-unix.c
- Keith Seitz <keiths@onions.cygnus.com>
(wait_for): Don't reset the timeout_remaining for CYGWIN32,
since we now effectively poll the serial port.
Don't reset the current_timeout, either, since this member is used
by hardwire_readchar to track the timeout and call the ui_loop_hook.
(hardwire_readchar): Poll the serial port for Cygwin32. We timeout every
second, update the UI, and loop around doing this until we have hit the real
timeout or we get data or an error. This will allow the UI to stay active
while gdb is "blocked" talking to the target.
- Martin M. Hunt <hunt@cygnus.com>
(wait_for): Do reset current_timeout
because it is only used to keep track of what the
current timeout for the scb is.
* top.c
- Martin M. Hunt <hunt@cygnus.com>
(quit_confirm): Change exit message again
for GUI.
(pc_changed_hook): Add prototype.
- Tom Tromey <tromey@cygnus.com>
(quit_confirm): Added missing `else'.
(quit_confirm): Special-case message if init_ui_hook is
set.
* symtab.c
- Martin M. Hunt <hunt@cygnus.com>
(find_pc_sect_line): If no symbol information
is found, return correct pc anyway.
(find_methods): Comment out an apparently
bogus error message because it messes up Foundry.
* serial.c
- Martin M. Hunt <hunt@cygnus.com>
(_initialize_serial): Add a description of
"set remotelogbase".
* findvar.c
- Martin M. Hunt <hunt@cygnus.com>
(write_register_gen): Add call to
pc_changed_hook if the PC is being changed.
* defs.h
- Martin M. Hunt <hunt@cygnus.com>
(pc_changed_hook): Define.
* command.c
- Martin M. Hunt <hunt@cygnus.com>
(do_setshow_command): If no arguments are supplied,
don't dump core, instead print out an error message.
* breakpoint.c
- Martin M. Hunt <hunt@cygnus.com>
Make set_raw_breakpoint, set_breakpoint_count,
and breakpoint_count non-static so they are accessible from
gdbtk.c.
(enable_breakpoint): Enable breakpoint
with same disposition instead of changing all breakpoints
to donttouch.
* annotate.h
- Keith Seitz <keiths@onions.cygnus.com>
Add declarations for annotation hooks.
* annotate.c
- Keith Seitz <keiths@onions.cygnus.com>
Add hooks: annotate_starting_hook, annotate_stopped_hook,
annotate_signalled_hook, annotate_exited_hook.
(annotate_starting): If hook exists, call it instead.
(annotate_stopped): If hook exists, call it instead.
(annotate_exited): If hook exists, call it instead.
(annotate_signalled): If hook exists, call it instead.
Sat Mar 21 19:34:49 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Merged changes from Foundry: list follows by author:
- Tom Tromey <tromey@cygnus.com>
* Makefile.in (gdbres.o): New target.
(WINDRES): New define.
* configure: Rebuilt.
* configure.in (WINDRES): Define.
(CONFIG_OBS): Include gdbres.o on Windows.
* gdbtool.ico: New file.
* gdb.rc: New file.
* gdbtk.c (gdbtk_init): Call ide_create_messagebox_command.
(gdbtk_cleanup): Call ide_interface_deregister_all.
(gdbtk_init): Pass event handle to cleanup.
(TclDebug): Use Tcl_Merge to construct command.
(gdbtk_init): Call ide_create_cygwin_path_command.
- Martin M. Hunt <hunt@cygnus.com>
* gdbtk.c (gdb_set_bp): Set addr_string for bp.
(gdb_get_breakpoint_info): Demangle function
names in breakpoint info.
Include "demangle.h".
(gdb_loc, gdb_listfuncs): Demangle C++
function names.
(gdb_set_bp): Properly quote filename to fix
problems with spaces. Send pc back as a hex string.
(gdb_listfuncs): Remove debugging line.
Turn off some debugging lines.
(breakpoint_notify): Return correct line number.
(gdb_get_breakpoint_info): Return correct line number.
(gdb_set_bp): New function to provide a better way to
set breakpoints.
(gdbtk_readline, gdbtk_readline_begin): Memory
allocated by tcl needs to be freed by Tcl_Free().
(find_file_in_dir): Deleted.
(gdb_find_file_command): Call full_lookup_symtab().
(gdb_listfuncs): Call full_lookup_symtab().
(full_lookup_symtab): New function. Like lookup_symtab
except handles multiple files with the same basename,
full pathnames, and always sets symtab->fullname.
(gdb_loadfile): Call full_lookup_symtab(). Clear
realloc'd memory.
(gdb_loadfile): Don't tag lines without source.
Tag source lines with source_tag.
(gdb_find_file_command, find_file_in_dir):
Rewrite. Now searches symtabs and psymtabs for a match
on the partial or full filename. Returns the full pathname.
(gdb_loadfile): Realloc additional memory
if someone loads in a file with more than 160,000
lines. I don't know if this really works because
I don't have enough memory to test it.
(gdb_sourcelines): Deleted.
(gdb_loadfile): New function. Takes a text widget
and loads it with the contents of a file. Marks
and tags source lines.
(pc_changed): New function.
(get_pc_register): Returns the value of
the PC to GDB.
(gdb_loc): If looking on the stack, return
real pc along with calling source line.
(gdb_loc): Return "" instead of "N/A" if
filename is not found.
(gdb_get_breakpoint_info): Same.
(get_register): For Natural mode, set format to 0.
Minor bugfixes from keiths.
(TclDebug): New function for debugging use.
(gdb_loc): Return correct PC for frames
that are not the innermost frame.
(gdb_listfiles): Rewritten to use object
API. Now takes an optional dirname which will cause
only files in that directory or its subdirectories
to be returned. Now returns basenames instead of
full pathnames.
(gdb_cmd): Set/reset load_in_progress flag.
(call_wrapper): Don't pop up dialog for errors in
downloads; just abort download.
(gdbtk_load_hash): Set return value correctly.
- Keith Seitz <keiths@onions.cygnus.com>
* gdbtk.c (gdbtk_init): Define the ui_loop_hook so that it can be
called by routines which might block, allowing us to update the GUI.
(gdbtk_wait): Move timer calls to annotation hooks.
(gdbtk_init): Define the annotation hooks.
(gdbtk_annotate_starting): New function for cygwin32 hosts.
(gdbtk_annotate_stopped): New function for cygwin32 hosts.
(gdbtk_annotate_exited): New function for cygwin32 hosts.
(gdbtk_annotate_signalled): New function. for cygwin32 hosts.
(gdbtk_init): Use gdbtk_print_frame_info hook.
(gdbtk_print_frame_info): New function which sets current_source_symtab
based on the given symtab and line info.
(gdb_immediate_command): New function which does
not buffer any
output. (Contrast to gdb_cmd.)
(gdb_prompt_command): New function to return gdb's prompt.
(find_file_in_dir): New functon which searches source paths
for a given filename.
(gdb_find_file): New function which returns path to given file -- uses
find_file_in_dir.
(gdbtk_init): Install "gdb_immediate", "gdb_find_file", and
"gdb_prompt"
commands into interpreter.
- Ian Lance Taylor <ian@cygnus.com>
* gdbtk.c (gdbtk_timer_going): If __CYGWIN32__, new static
variable.
(gdb_cmd): If __CYGWIN32__, if executing the load command, call
gdbtk_start_timer and gdbtk_stop_timer.
(call_wrapper): If __CYGWIN32__, if the timer is going, turn it
off. Clear load_in_progress.
(x_event): If load_in_progress, quit if download_cancel_ok.
(gdbtk_start_timer): Set gdbtk_timer_going.
(gdbtk_stop_timer): Clear gdbtk_timer_going.
(gdbtk_wait): Call x_event.
(gdbtk_init): Call ide_create_win_grab_command if
__CYGIN32__.
(gdb_clear_file): Clear stop_pc.
1998-03-23 07:02:10 +08:00
|
|
|
CONFIG_OBS="${CONFIG_OBS} gdbres.o"
|
1997-08-02 03:24:55 +08:00
|
|
|
fi
|
1996-08-29 01:13:00 +08:00
|
|
|
fi
|
1995-10-25 09:33:26 +08:00
|
|
|
fi
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
fi
|
1995-10-25 09:33:26 +08:00
|
|
|
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
AC_SUBST(ENABLE_GDBTK)
|
1995-11-29 11:34:57 +08:00
|
|
|
AC_SUBST(X_CFLAGS)
|
1995-10-25 09:33:26 +08:00
|
|
|
AC_SUBST(X_LDFLAGS)
|
|
|
|
AC_SUBST(X_LIBS)
|
1997-07-23 10:45:59 +08:00
|
|
|
AC_SUBST(TIXLIB)
|
* tracepoint.c (set_raw_tracepoint): make sure there's a trailing slash on
the directory name
* Merge (lots) with foundry-971118-build
* Makefile.in (install-only): install the new gdbtk, not the old
* top.h: add declaration of get_prompt
* top.c (get_prompt): new function
* gdbtk.c (gdbtk_call_command): also run idle hooks for class_trace
commands
(gdbtk_init): add new commands "gdb_get_locals", "gdb_get_args",
"gdb_get_function", "gdb_get_line", "gdb_get_file",
"gdb_tracepoint_exists", "gdb_get_tracepoint_info", "gdb_actions",
and "gdb_prompt"
(gdb_get_vars_command): new function
(gdb_get_line_command): new function
(gdb_get_file_command): new function
(gdb_get_function_command): new function
(gdb_get_tracepoint_info): new function
(gdbtk_create_tracepoint): new function
(gdbtk_delete_tracepoint): new function
(tracepoint_notify): new function
(tracepoint_exists): new function
(gdb_actions_command): new function
(gdb_tracepoint_exists_command): new function
(gdb_prompt_command): new function
* main.tcl: initialize gdbtk_state(readline)
* console.tcl (invoke): get realine working
(activate): add prompt argument for readline
(setprompt): add prompt argument for readline
* interface.tcl (gdbtk_tcl_readline): hack to get readline working
* lots: Merge with foundry-971118-build
* console.tcl (setprompt): get prompt from gdb
* prefs.tcl (pref_set_defaults): add tracepoint defaults
* interface.tcl (gdbtk_tcl_tracepoint): new function
* src.tcl (constructor): set default behavior of left click, make
a tracepoint dot, too
(fill_files): "new" function: ripped out of "location"
(location): use fill_files instead
(do_bp): add support for tracepoints
(bp_line): add support for tracepoints
(set_tracepoint): new function
(config_win): add "Set tracepoint here" to right-click menu
* actiondlg.tcl: new file to help with tracepoint data collection actions
* tracedlg.tcl: new file to help with tracepoints
1997-11-27 06:38:10 +08:00
|
|
|
AC_SUBST(TIX_DEPS)
|
1998-04-29 12:17:25 +08:00
|
|
|
AC_SUBST(GDBTKLIBS)
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
# end-sanitize-gdbtk
|
|
|
|
|
1998-03-24 02:34:28 +08:00
|
|
|
AC_PATH_X
|
|
|
|
# start-sanitize-sky
|
|
|
|
# Enable GPU2 library for MIPS simulator
|
|
|
|
AC_ARG_WITH(sim-gpu2,
|
|
|
|
[ --with-sim-gpu2=path Use GPU2 library under given directory],
|
1998-03-26 00:48:04 +08:00
|
|
|
[case "${target}" in
|
|
|
|
mips*-sky-*)
|
|
|
|
if test -d "${withval}"
|
|
|
|
then
|
1998-06-24 03:01:10 +08:00
|
|
|
LIBS="${LIBS} -L${withval}/lib -lgpu2 -L${x_libraries} -lX11 -lXext"
|
1998-03-26 00:48:04 +08:00
|
|
|
else
|
|
|
|
AC_MSG_WARN([Directory ${withval} does not exist.])
|
|
|
|
fi ;;
|
|
|
|
*) AC_MSG_WARN([--with-sim-gpu2 option invalid for target ${target}])
|
|
|
|
esac])dnl
|
1998-04-22 05:14:09 +08:00
|
|
|
|
|
|
|
# Enable target accurate FP library
|
|
|
|
AC_ARG_WITH(sim-funit,
|
|
|
|
[ --with-sim-funit=path Use target FP lib under given directory],
|
|
|
|
[case "${target}" in
|
|
|
|
mips*-sky-*)
|
|
|
|
if test -d "${withval}"
|
|
|
|
then
|
|
|
|
LIBS="${LIBS} -L${withval}/lib -lfunit"
|
|
|
|
else
|
|
|
|
AC_MSG_WARN([Directory ${withval} does not exist.])
|
|
|
|
fi ;;
|
|
|
|
*) AC_MSG_WARN([--with-sim-funit option invalid for target ${target}])
|
|
|
|
esac])dnl
|
1998-03-24 02:34:28 +08:00
|
|
|
# end-sanitize-sky
|
|
|
|
|
1998-06-13 05:23:44 +08:00
|
|
|
dnl Solaris puts wctype in /usr/lib/libw.a
|
|
|
|
AC_CHECK_LIB(w, wctype, [LIBS="$LIBS -lw"])
|
|
|
|
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
AC_SUBST(ENABLE_CFLAGS)
|
1997-01-04 08:25:53 +08:00
|
|
|
|
|
|
|
AC_SUBST(CONFIG_OBS)
|
* tracepoint.c (set_raw_tracepoint): make sure there's a trailing slash on
the directory name
* Merge (lots) with foundry-971118-build
* Makefile.in (install-only): install the new gdbtk, not the old
* top.h: add declaration of get_prompt
* top.c (get_prompt): new function
* gdbtk.c (gdbtk_call_command): also run idle hooks for class_trace
commands
(gdbtk_init): add new commands "gdb_get_locals", "gdb_get_args",
"gdb_get_function", "gdb_get_line", "gdb_get_file",
"gdb_tracepoint_exists", "gdb_get_tracepoint_info", "gdb_actions",
and "gdb_prompt"
(gdb_get_vars_command): new function
(gdb_get_line_command): new function
(gdb_get_file_command): new function
(gdb_get_function_command): new function
(gdb_get_tracepoint_info): new function
(gdbtk_create_tracepoint): new function
(gdbtk_delete_tracepoint): new function
(tracepoint_notify): new function
(tracepoint_exists): new function
(gdb_actions_command): new function
(gdb_tracepoint_exists_command): new function
(gdb_prompt_command): new function
* main.tcl: initialize gdbtk_state(readline)
* console.tcl (invoke): get realine working
(activate): add prompt argument for readline
(setprompt): add prompt argument for readline
* interface.tcl (gdbtk_tcl_readline): hack to get readline working
* lots: Merge with foundry-971118-build
* console.tcl (setprompt): get prompt from gdb
* prefs.tcl (pref_set_defaults): add tracepoint defaults
* interface.tcl (gdbtk_tcl_tracepoint): new function
* src.tcl (constructor): set default behavior of left click, make
a tracepoint dot, too
(fill_files): "new" function: ripped out of "location"
(location): use fill_files instead
(do_bp): add support for tracepoints
(bp_line): add support for tracepoints
(set_tracepoint): new function
(config_win): add "Set tracepoint here" to right-click menu
* actiondlg.tcl: new file to help with tracepoint data collection actions
* tracedlg.tcl: new file to help with tracepoints
1997-11-27 06:38:10 +08:00
|
|
|
AC_SUBST(CONFIG_DEPS)
|
1998-02-05 09:47:26 +08:00
|
|
|
AC_SUBST(CONFIG_SRCS)
|
1994-06-17 06:02:24 +08:00
|
|
|
|
1996-09-14 08:09:24 +08:00
|
|
|
# Begin stuff to support --enable-shared
|
|
|
|
AC_ARG_ENABLE(shared,
|
|
|
|
[ --enable-shared use shared libraries],
|
|
|
|
[case "${enableval}" in
|
|
|
|
yes) shared=true ;;
|
|
|
|
no) shared=false ;;
|
|
|
|
*) shared=true ;;
|
|
|
|
esac])dnl
|
|
|
|
|
|
|
|
HLDFLAGS=
|
|
|
|
HLDENV=
|
|
|
|
# If we have shared libraries, try to set rpath reasonably.
|
|
|
|
if test "${shared}" = "true"; then
|
|
|
|
case "${host}" in
|
|
|
|
*-*-hpux*)
|
|
|
|
HLDFLAGS='-Wl,+s,+b,$(libdir)'
|
|
|
|
;;
|
|
|
|
*-*-irix5* | *-*-irix6*)
|
|
|
|
HLDFLAGS='-Wl,-rpath,$(libdir)'
|
|
|
|
;;
|
|
|
|
*-*-linux*aout*)
|
|
|
|
;;
|
1996-10-25 02:51:46 +08:00
|
|
|
*-*-linux* | *-pc-linux-gnu)
|
1996-09-14 08:09:24 +08:00
|
|
|
HLDFLAGS='-Wl,-rpath,$(libdir)'
|
|
|
|
;;
|
|
|
|
*-*-solaris*)
|
|
|
|
HLDFLAGS='-R $(libdir)'
|
|
|
|
;;
|
|
|
|
*-*-sysv4*)
|
|
|
|
HLDENV='if test -z "$${LD_RUN_PATH}"; then LD_RUN_PATH=$(libdir); else LD_RUN_PATH=$${LD_RUN_PATH}:$(libdir); fi; export LD_RUN_PATH;'
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
fi
|
|
|
|
|
|
|
|
# On SunOS, if the linker supports the -rpath option, use it to
|
|
|
|
# prevent ../bfd and ../opcodes from being included in the run time
|
|
|
|
# search path.
|
|
|
|
case "${host}" in
|
|
|
|
*-*-sunos*)
|
|
|
|
echo 'main () { }' > conftest.c
|
|
|
|
${CC} -o conftest -Wl,-rpath= conftest.c >/dev/null 2>conftest.t
|
|
|
|
if grep 'unrecognized' conftest.t >/dev/null 2>&1; then
|
|
|
|
:
|
|
|
|
elif grep 'No such file' conftest.t >/dev/null 2>&1; then
|
|
|
|
:
|
|
|
|
elif grep 'do not mix' conftest.t >/dev/null 2>&1; then
|
|
|
|
:
|
1996-11-09 17:17:34 +08:00
|
|
|
elif grep 'some text already loaded' conftest.t >/dev/null 2>&1; then
|
|
|
|
:
|
1996-09-14 08:09:24 +08:00
|
|
|
elif test "${shared}" = "true"; then
|
|
|
|
HLDFLAGS='-Wl,-rpath=$(libdir)'
|
|
|
|
else
|
|
|
|
HLDFLAGS='-Wl,-rpath='
|
|
|
|
fi
|
|
|
|
rm -f conftest.t conftest.c conftest
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
AC_SUBST(HLDFLAGS)
|
|
|
|
AC_SUBST(HLDENV)
|
|
|
|
# End stuff to support --enable-shared
|
|
|
|
|
1995-11-29 11:34:57 +08:00
|
|
|
# target_subdir is used by the testsuite to find the target libraries.
|
|
|
|
target_subdir=
|
|
|
|
if test "${host}" != "${target}"; then
|
|
|
|
target_subdir="${target_alias}/"
|
|
|
|
fi
|
|
|
|
AC_SUBST(target_subdir)
|
1991-12-07 16:03:27 +08:00
|
|
|
|
1995-07-15 07:28:13 +08:00
|
|
|
frags=
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
host_makefile_frag=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
|
|
|
|
if test ! -f ${host_makefile_frag}; then
|
|
|
|
AC_MSG_ERROR("*** Gdb does not support host ${host}")
|
1991-05-19 09:16:46 +09:00
|
|
|
fi
|
1995-07-15 07:28:13 +08:00
|
|
|
frags="$frags $host_makefile_frag"
|
1991-05-19 09:16:46 +09:00
|
|
|
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
target_makefile_frag=${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt
|
|
|
|
if test ! -f ${target_makefile_frag}; then
|
|
|
|
AC_MSG_ERROR("*** Gdb does not support target ${target}")
|
1991-05-19 09:16:46 +09:00
|
|
|
fi
|
1995-07-15 07:28:13 +08:00
|
|
|
frags="$frags $target_makefile_frag"
|
1991-05-19 09:16:46 +09:00
|
|
|
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
AC_SUBST_FILE(host_makefile_frag)
|
|
|
|
AC_SUBST_FILE(target_makefile_frag)
|
1995-07-15 07:28:13 +08:00
|
|
|
AC_SUBST(frags)
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
|
1995-05-28 15:07:21 +08:00
|
|
|
changequote(,)dnl
|
|
|
|
hostfile=`sed -n '
|
|
|
|
s/XM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
|
|
|
|
' ${host_makefile_frag}`
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
|
1995-05-28 15:07:21 +08:00
|
|
|
targetfile=`sed -n '
|
|
|
|
s/TM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
|
|
|
|
' ${target_makefile_frag}`
|
1993-10-13 09:08:40 +08:00
|
|
|
|
|
|
|
# these really aren't orthogonal true/false values of the same condition,
|
|
|
|
# but shells are slow enough that I like to reuse the test conditions
|
|
|
|
# whenever possible
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
if test "${target}" = "${host}"; then
|
1995-05-28 15:07:21 +08:00
|
|
|
nativefile=`sed -n '
|
|
|
|
s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
|
|
|
|
' ${host_makefile_frag}`
|
1997-03-11 23:49:20 +08:00
|
|
|
# else
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
# GDBserver is only useful in a "native" enviroment
|
1997-03-11 23:49:20 +08:00
|
|
|
# configdirs=`echo $configdirs | sed 's/gdbserver//'`
|
1992-09-19 19:09:01 +08:00
|
|
|
fi
|
1995-05-28 15:07:21 +08:00
|
|
|
changequote([,])
|
1992-09-19 19:09:01 +08:00
|
|
|
|
|
|
|
# If hostfile (XM_FILE) and/or targetfile (TM_FILE) and/or nativefile
|
1994-09-05 07:16:22 +08:00
|
|
|
# (NAT_FILE) is not set in config/*/*.m[ht] files, we don't make the
|
1992-09-19 19:09:01 +08:00
|
|
|
# corresponding links. But we have to remove the xm.h files and tm.h
|
|
|
|
# files anyway, e.g. when switching from "configure host" to
|
|
|
|
# "configure none".
|
|
|
|
|
1991-07-05 00:59:47 +09:00
|
|
|
files=
|
|
|
|
links=
|
1991-07-31 09:34:07 +09:00
|
|
|
rm -f xm.h
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
if test "${hostfile}" != ""; then
|
|
|
|
files="${files} config/${gdb_host_cpu}/${hostfile}"
|
|
|
|
links="${links} xm.h"
|
1991-07-05 00:59:47 +09:00
|
|
|
fi
|
1991-07-31 09:34:07 +09:00
|
|
|
rm -f tm.h
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
if test "${targetfile}" != ""; then
|
|
|
|
files="${files} config/${gdb_target_cpu}/${targetfile}"
|
|
|
|
links="${links} tm.h"
|
1991-07-05 00:59:47 +09:00
|
|
|
fi
|
* config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
z8k}: New directories to hold cpu specific configuration files.
Naming follows gcc convention.
* config/{*.mt, *.mh}: All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.
* nm-*, xm-*, tm-*: All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
moved to appropriate config/<cpu> subdirectory.
* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
Native, host, and target files that are common across more than
one cpu architecture and included by one of the configured
native, host, or target files, get moved to config directory.
* Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
pick up native, host, or target include files moved to one of
the config subdirectories, and that are included by other files.
* Makefile.in (alldeps.mak): Modify to account for new config
directory structure.
* alldeps.mak, depend: Update for new config directory structure.
* config/*/[ntx]m-*.h: Modify all files that include other
[ntx]m-*.h files to use path relative to gdb/config. I.E.
"a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
"tm-29k.h".
* remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
* mipsread.c (tm-mips.h): Include mips/tm-mips.h.
* i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
* configure.in: Default gdb_host_cpu to host_cpu, and remap
the ones where the default is not unique or different than the
config subdirectory name. Similarly, handle gdb_target_cpu.
Modify configure.in as appropriate to make use of gdb_host_cpu
and gdb_target_cpu to find makefile fragments and make links.
1993-03-23 09:01:49 +08:00
|
|
|
rm -f nm.h
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
if test "${nativefile}" != ""; then
|
|
|
|
files="${files} config/${gdb_host_cpu}/${nativefile}"
|
|
|
|
links="${links} nm.h"
|
1992-09-30 10:03:24 +08:00
|
|
|
else
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
# A cross-only configuration.
|
|
|
|
files="${files} config/nm-empty.h"
|
|
|
|
links="${links} nm.h"
|
1992-09-19 19:09:01 +08:00
|
|
|
fi
|
1994-12-31 07:42:46 +08:00
|
|
|
# start-sanitize-gdbtk
|
1997-04-01 14:04:02 +08:00
|
|
|
AC_PROG_LN_S
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
# Make it possible to use the GUI without doing a full install
|
1997-04-01 14:04:02 +08:00
|
|
|
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
|
1994-07-29 06:07:02 +08:00
|
|
|
fi
|
1994-12-31 07:42:46 +08:00
|
|
|
# end-sanitize-gdbtk
|
1994-07-29 06:07:02 +08:00
|
|
|
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
AC_LINK_FILES($files, $links)
|
|
|
|
|
1997-11-20 20:20:39 +08:00
|
|
|
dnl Check for exe extension set on certain hosts (e.g. Win32)
|
|
|
|
AM_EXEEXT
|
|
|
|
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
AC_CONFIG_SUBDIRS($configdirs)
|
1997-04-01 03:57:51 +08:00
|
|
|
AC_OUTPUT(Makefile .gdbinit:gdbinit.in,
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
[
|
|
|
|
dnl Autoconf doesn't provide a mechanism for modifying definitions
|
|
|
|
dnl provided by makefile fragments.
|
|
|
|
dnl
|
|
|
|
if test "${nativefile}" = ""; then
|
1996-09-09 07:33:23 +08:00
|
|
|
sed -e '/^NATDEPFILES[[ ]]*=[[ ]]*/s//# NATDEPFILES=/' \
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
< Makefile > Makefile.tem
|
|
|
|
mv -f Makefile.tem Makefile
|
1995-05-03 09:43:27 +08:00
|
|
|
fi
|
|
|
|
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
changequote(,)dnl
|
* Makefile.in (TAGS): Use variables directly, rather than using
find, to locate TM_FILE, XM_FILE, and NAT_FILE. This is faster
and means that these filenames no longer need be unique across all
the config/* directories.
* configure.in: Put the config/*/ into TM_FILE, etc.
* m68k-stub.c (computeSignal): Return SIGFPE, not SIGURG, for chk
and trapv exceptions.
* target.h (struct section_table), objfiles.h (struct obj_section):
Change name of field sec_ptr to the_bfd_section. More mnemonic
and avoids the (sort of, for the ptx compiler) name clash with
the name of the typedef.
* exec.c, xcoffexec.c, sparc-tdep.c, rs6000-nat.c, osfsolib.c,
solib.c, irix5-nat.c, objfiles.c, remote.c: Change users.
* utils.c: Include readline.h.
* Makefile.in (utils.o): Add dependency.
* remote.c (getpkt): Add support for run-length encoding.
1994-03-20 02:49:50 +08:00
|
|
|
sed -e '/^TM_FILE[ ]*=/s,^TM_FILE[ ]*=[ ]*,&config/'"${gdb_target_cpu}"'/,
|
|
|
|
/^XM_FILE[ ]*=/s,^XM_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,
|
|
|
|
/^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile >Makefile.tmp
|
|
|
|
mv -f Makefile.tmp Makefile
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
changequote([,])dnl
|
|
|
|
|
1996-03-17 14:28:57 +08:00
|
|
|
case x$CONFIG_HEADERS in
|
1996-03-21 23:59:01 +08:00
|
|
|
xconfig.h:config.in)
|
1996-03-17 14:28:57 +08:00
|
|
|
echo > stamp-h ;;
|
|
|
|
esac
|
1995-05-17 04:21:58 +08:00
|
|
|
],
|
|
|
|
[
|
|
|
|
gdb_host_cpu=$gdb_host_cpu
|
|
|
|
gdb_target_cpu=$gdb_target_cpu
|
|
|
|
nativefile=$nativefile
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
])
|
1995-09-02 21:48:16 +08:00
|
|
|
|
|
|
|
exit 0
|
1996-02-22 17:11:16 +08:00
|
|
|
|