diff options
author | Jason Molenda <jmolenda@apple.com> | 1998-06-10 21:08:38 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1998-06-10 21:08:38 +0000 |
commit | 9ed669cf7671e30fc9ae982fd147905a78364ee7 (patch) | |
tree | 621bc22768a653396e1a31f61c3c5c15b0578661 /gdb/configure.in | |
parent | a4122443afc9130bc65910974728b468b217d3c2 (diff) | |
download | gdb-9ed669cf7671e30fc9ae982fd147905a78364ee7.zip gdb-9ed669cf7671e30fc9ae982fd147905a78364ee7.tar.gz gdb-9ed669cf7671e30fc9ae982fd147905a78364ee7.tar.bz2 |
Wed Jun 10 14:06:05 1998 Jason Molenda (crash@bugshack.cygnus.com)
* configure.in: Add some tests for gnu-regex.c's benefit.
See if btowc() function is provided in C library.
* configure, config.in: Regenerated.
* Makefile.in (CLIBS, CDEPS): Add @LIBOBJS@ to build btowc.c
if necessary.
* btowc.c: New file.
* gnu-regex.c: Reorder wchar.h and wctype.h includes for Solaris'
benefit.
Drop namespace preserving defines for now.
Mods based on the modifications used in GNU grep 2.2 to make gnu-regex.c
compile on other OSes.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index cb61339..93cc177 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -68,12 +68,18 @@ 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) +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_HEADER_STAT AC_C_CONST -AC_CHECK_FUNCS(setpgid sbrk select poll sigaction) +AC_CHECK_FUNCS(setpgid sbrk select poll sigaction isascii bzero bcopy memcpy) AC_FUNC_ALLOCA # If we are configured native on GNU/Linux, work around problems with sys/procfs.h |