rename closedir mkdir rmdir sysinfo \
random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
-utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
+utimes setrlimit setpgid getcwd getwd shutdown getaddrinfo \
__fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
sendto recvfrom getsockopt setsockopt getsockname getpeername \
gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \
-memset memcmp memmove difftime)
+memset memcmp memmove difftime memcpy mempcpy mblen mbrlen)
AC_CHECK_HEADERS(sys/un.h)
AC_FUNC_GETPGRP
+AC_FUNC_STRFTIME
+
# UNIX98 PTYs.
AC_CHECK_FUNCS(grantpt)
fi
fi
+# This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
+AC_STRUCT_TIMEZONE
+
dnl Note that AC_STRUCT_TIMEZONE doesn't do what you might expect.
if test "$ac_cv_func_gettimeofday" = yes; then
AC_CACHE_CHECK([for struct timezone], emacs_cv_struct_timezone,
AC_CHECK_TYPES(size_t)
+AC_TYPE_MBSTATE_T
+
dnl Restrict could probably be used effectively other than in regex.c.
AC_CACHE_CHECK([for C restrict keyword], emacs_cv_c_restrict,
[AC_TRY_COMPILE([void fred (int *restrict x);], [],
declarations. Define as empty for no equivalent.])
fi
-AC_CHECK_HEADERS(nlist.h, [AC_DEFINE(NLIST_STRUCT, 1,
- [Define to 1 if you have <nlist.h>.])])
-
dnl Fixme: AC_SYS_POSIX_TERMIOS should probably be used, but it's not clear
dnl how the tty code is related to POSIX and/or other versions of termios.
dnl The following looks like a useful start.