* configure, config.in: Rebuild.

* configure.ac: Don't check for ctype.h, time.h.
	* expprint.c: Don't use HAVE_CTYPE_H.
This commit is contained in:
Tom Tromey 2012-11-14 19:16:04 +00:00
parent 5e487a5f92
commit e68227b907
5 changed files with 8 additions and 14 deletions

View File

@ -1,3 +1,9 @@
2012-11-14 Tom Tromey <tromey@redhat.com>
* configure, config.in: Rebuild.
* configure.ac: Don't check for ctype.h, time.h.
* expprint.c: Don't use HAVE_CTYPE_H.
2012-11-13 Tom Tromey <tromey@redhat.com> 2012-11-13 Tom Tromey <tromey@redhat.com>
* gdbarch.h, gdbarch.c: Rebuild. * gdbarch.h, gdbarch.c: Rebuild.

View File

@ -78,9 +78,6 @@
/* Define to 1 if you have the `canonicalize_file_name' function. */ /* Define to 1 if you have the `canonicalize_file_name' function. */
#undef HAVE_CANONICALIZE_FILE_NAME #undef HAVE_CANONICALIZE_FILE_NAME
/* Define to 1 if you have the <ctype.h> header file. */
#undef HAVE_CTYPE_H
/* Define to 1 if you have the <cursesX.h> header file. */ /* Define to 1 if you have the <cursesX.h> header file. */
#undef HAVE_CURSESX_H #undef HAVE_CURSESX_H
@ -536,9 +533,6 @@
/* Define if using Solaris thread debugging. */ /* Define if using Solaris thread debugging. */
#undef HAVE_THREAD_DB_LIB #undef HAVE_THREAD_DB_LIB
/* Define to 1 if you have the <time.h> header file. */
#undef HAVE_TIME_H
/* Define if you support the tkill syscall. */ /* Define if you support the tkill syscall. */
#undef HAVE_TKILL_SYSCALL #undef HAVE_TKILL_SYSCALL

4
gdb/configure vendored
View File

@ -8919,8 +8919,6 @@ $as_echo "#define STDC_HEADERS 1" >>confdefs.h
fi fi
# elf_hp.h is for HP/UX 64-bit shared library support. # elf_hp.h is for HP/UX 64-bit shared library support.
# FIXME: kettenis/20030102: In most cases we include these (ctype.h, time.h)
# unconditionally, so what's the point in checking these?
for ac_header in nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \ for ac_header in nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \
thread_db.h signal.h stddef.h \ thread_db.h signal.h stddef.h \
stdlib.h string.h memory.h strings.h sys/fault.h \ stdlib.h string.h memory.h strings.h sys/fault.h \
@ -8928,7 +8926,7 @@ for ac_header in nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \
sys/resource.h sys/procfs.h sys/ptrace.h ptrace.h \ sys/resource.h sys/procfs.h sys/ptrace.h ptrace.h \
sys/reg.h sys/debugreg.h sys/select.h sys/syscall.h \ sys/reg.h sys/debugreg.h sys/select.h sys/syscall.h \
sys/types.h sys/wait.h wait.h termios.h termio.h \ sys/types.h sys/wait.h wait.h termios.h termio.h \
sgtty.h unistd.h elf_hp.h ctype.h time.h locale.h \ sgtty.h unistd.h elf_hp.h locale.h \
dlfcn.h sys/socket.h sys/un.h dlfcn.h sys/socket.h sys/un.h
do : do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`

View File

@ -1075,8 +1075,6 @@ AC_HEADER_DIRENT
AC_HEADER_STAT AC_HEADER_STAT
AC_HEADER_STDC AC_HEADER_STDC
# elf_hp.h is for HP/UX 64-bit shared library support. # elf_hp.h is for HP/UX 64-bit shared library support.
# FIXME: kettenis/20030102: In most cases we include these (ctype.h, time.h)
# unconditionally, so what's the point in checking these?
AC_CHECK_HEADERS([nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \ AC_CHECK_HEADERS([nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \
thread_db.h signal.h stddef.h \ thread_db.h signal.h stddef.h \
stdlib.h string.h memory.h strings.h sys/fault.h \ stdlib.h string.h memory.h strings.h sys/fault.h \
@ -1084,7 +1082,7 @@ AC_CHECK_HEADERS([nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \
sys/resource.h sys/procfs.h sys/ptrace.h ptrace.h \ sys/resource.h sys/procfs.h sys/ptrace.h ptrace.h \
sys/reg.h sys/debugreg.h sys/select.h sys/syscall.h \ sys/reg.h sys/debugreg.h sys/select.h sys/syscall.h \
sys/types.h sys/wait.h wait.h termios.h termio.h \ sys/types.h sys/wait.h wait.h termios.h termio.h \
sgtty.h unistd.h elf_hp.h ctype.h time.h locale.h \ sgtty.h unistd.h elf_hp.h locale.h \
dlfcn.h sys/socket.h sys/un.h]) dlfcn.h sys/socket.h sys/un.h])
AC_CHECK_HEADERS(link.h, [], [], AC_CHECK_HEADERS(link.h, [], [],
[#if HAVE_SYS_TYPES_H [#if HAVE_SYS_TYPES_H

View File

@ -33,9 +33,7 @@
#include "gdb_assert.h" #include "gdb_assert.h"
#include "valprint.h" #include "valprint.h"
#ifdef HAVE_CTYPE_H
#include <ctype.h> #include <ctype.h>
#endif
void void
print_expression (struct expression *exp, struct ui_file *stream) print_expression (struct expression *exp, struct ui_file *stream)