diff options
author | Daniel Jacobowitz <drow@false.org> | 2008-06-26 15:51:28 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2008-06-26 15:51:28 +0000 |
commit | d5af19bafb85ea444b237ed2eab15aebeac1adca (patch) | |
tree | e09852d9c8d38d370fde461026c74d228597e3e8 /gdb/configure.ac | |
parent | 00fbcec4ab2d975199647a43b5cb73734d40bea1 (diff) | |
download | gdb-d5af19bafb85ea444b237ed2eab15aebeac1adca.zip gdb-d5af19bafb85ea444b237ed2eab15aebeac1adca.tar.gz gdb-d5af19bafb85ea444b237ed2eab15aebeac1adca.tar.bz2 |
* Makefile.in (GNULIB_H): Use GNULIB_STDINT_H.
(gdb_stdint_h, gdb_stdint.h, stamp-int): Delete. Remove
all dependencies on $(gdb_stdint_h).
(distclean): Do not delete gdb_stdint.h.
* acinclude.m4: Do not use stdint.m4.
* configure.ac: Set GNULIB_STDINT_H. Remove tests for stdint.h,
uintptr_t, and gdb_stdint.h.
* defs.h: Include <stdint.h>.
* gdb_thread_db.h: Assume stdint.h is already included.
* breakpoint.c, findcmd.c, hppa-tdep.c, inf-ptrace.c, proc-service.c,
rs6000-nat.c, spu-linux-nat.c, target.c, win32-nat.c: Do not
include gdb_stdint.h.
* configure, config.in: Regenerate.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r-- | gdb/configure.ac | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index 8d79d8b..3c203a1 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -62,6 +62,13 @@ fi gl_INIT +# For Makefile dependencies. +GNULIB_STDINT_H= +if test x"$STDINT_H" != x; then + GNULIB_STDINT_H=gnulib/$STDINT_H +fi +AC_SUBST(GNULIB_STDINT_H) + PACKAGE=gdb AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of this package. ]) AC_SUBST(PACKAGE) @@ -512,7 +519,6 @@ AC_CHECK_HEADERS(proc_service.h thread_db.h gnu/libc-version.h) AC_CHECK_HEADERS(signal.h) AC_CHECK_HEADERS(stddef.h) AC_CHECK_HEADERS(stdlib.h) -AC_CHECK_HEADERS(stdint.h) AC_CHECK_HEADERS(string.h memory.h strings.h) AC_CHECK_HEADERS(sys/fault.h) AC_CHECK_HEADERS(sys/file.h) @@ -566,9 +572,6 @@ AC_CHECK_HEADERS(elf_hp.h) # unconditionally, so what's the point in checking these? AC_CHECK_HEADERS(ctype.h time.h) -# Create a header we can use portably to get the standard integer types. -GCC_HEADER_STDINT(gdb_stdint.h) - # ------------------------- # # Checks for declarations. # # ------------------------- # @@ -593,7 +596,6 @@ AC_CHECK_TYPES(socklen_t, [], [], [#include <sys/types.h> #include <sys/socket.h> ]) -AC_CHECK_TYPES(uintptr_t, [], [], [#include <stdint.h>]) # ------------------------------------- # # Checks for compiler characteristics. # |