From 46ccc6bfc90d764bbc6f3dda5b588e37887cd918 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Thu, 11 Jun 1998 22:08:46 +0000 Subject: Thu Jun 11 15:05:10 1998 Jason Molenda (crash@bugshack.cygnus.com) * btowc.c: Removed. * configure.in: Don't see if we need to replace btowc(). * Makefile.in: Don't include LIBOBJS. * configure: Regenerated. * gnu-regex.c (regex_compile): Only support i18n [:foo:] if we have btowc(). --- gdb/configure.in | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'gdb/configure.in') diff --git a/gdb/configure.in b/gdb/configure.in index 93cc177559b..0e3021e054b 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -68,18 +68,13 @@ AC_ARG_PROGRAM AC_TYPE_SIGNAL AC_HEADER_STDC -AC_CHECK_HEADERS(limits.h memory.h string.h strings.h unistd.h termios.h termio.h sgtty.h stddef.h stdlib.h sys/procfs.h link.h endian.h objlist.h libintl.h) -AC_CHECK_HEADERS(wctype.h wchar.h, USE_WCHAR=yes, USE_WCHAR=no) -dnl Solaris 2.5 don't define btowc() in the wchar.h -if test "$USE_WCHAR" = "yes"; then - AC_REPLACE_FUNCS(btowc) -fi +AC_CHECK_HEADERS(limits.h memory.h string.h strings.h unistd.h termios.h termio.h sgtty.h stddef.h stdlib.h sys/procfs.h link.h endian.h objlist.h libintl.h wctype.h wchar.h) AC_HEADER_STAT AC_C_CONST -AC_CHECK_FUNCS(setpgid sbrk select poll sigaction isascii bzero bcopy memcpy) +AC_CHECK_FUNCS(setpgid sbrk select poll sigaction isascii bzero bcopy memcpy btowc) AC_FUNC_ALLOCA # If we are configured native on GNU/Linux, work around problems with sys/procfs.h -- cgit v1.2.1