diff options
author | Jason Molenda <jmolenda@apple.com> | 1998-10-14 23:44:13 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1998-10-14 23:44:13 +0000 |
commit | 879c041771ae0fcd6a58373b926c31df992af1ab (patch) | |
tree | 4d1ba0c8d464a28ed36382223c68100028909810 /gdb/configure.in | |
parent | aad579b0308d17e8d0ae39b2c175a926531f7378 (diff) | |
download | gdb-879c041771ae0fcd6a58373b926c31df992af1ab.zip gdb-879c041771ae0fcd6a58373b926c31df992af1ab.tar.gz gdb-879c041771ae0fcd6a58373b926c31df992af1ab.tar.bz2 |
1998-10-14 Jason Molenda (jsm@bugshack.cygnus.com)
* defs.h: Move _initialize_printcmd, _initialize_stack,
_initialize_blockframe out of here and in to their respective .c files.
* blockframe.c: Move _initialize_blockframe prototype to here.
* printcmd.c: Move _initialize_printcmd prototype to here.
* stack.c: Move _initialize_stack prototype to here.
* source.c, symtab.h: Move _initialize_source prototype to the .c file.
* values.c, value.h: Move _initialize_values prototype to the .c file.
* gdbthread.h, thread.c: Move _initialize_thread prototype to the .c
file.
* breakpoint.c, breakpoint.h: Move _initialize_breakpoint prototype
to the .c file.
* abug-rom.c alpha-nat.c alpha-tdep.c annotate.c ax-gdb.c bcache.c:
Standardize comments for the prototype section of these files.
* configure.in: Look in libc for wctype before looking for it in libc.
The last one is to fix the GNU ld (~2.9.1) + Solaris 2.6 interaction problem
where an empty stub library (libw) causes a core dump when we call vasprintf
(e.g. `info br') in the final linked gdb.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index 4c5272d..71d4ed1 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -113,6 +113,13 @@ fi dnl See if host has libm. This is usually needed by simulators. AC_CHECK_LIB(m, main) +dnl Solaris puts wctype in /usr/lib/libw.a before Solaris 2.6. +dnl +dnl A bug in GNU ld 2.9.1 causes a problem if we link in -lw +dnl under Solaris 2.6 because it is some funky empty library. +dnl So only link in libw if we have to. +AC_CHECK_LIB(c, wctype,: ,AC_CHECK_LIB(w, wctype)) + dnl See if compiler supports "long long" type. AC_MSG_CHECKING(for long long support in compiler) @@ -677,9 +684,6 @@ AC_ARG_WITH(sim-funit, esac])dnl # end-sanitize-sky -dnl Solaris puts wctype in /usr/lib/libw.a -AC_CHECK_LIB(w, wctype, [LIBS="$LIBS -lw"]) - AC_SUBST(ENABLE_CFLAGS) AC_SUBST(CONFIG_OBS) |