aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2003-06-05 16:37:13 +0000
committerDave Love2003-06-05 16:37:13 +0000
commit12c0a8da7fa4cae2d98702a47fc84709061cb8e4 (patch)
tree184e7fe1aae008b49cdd74257897ba3de4d738c8
parent87c359749caa9203fa3eac4370bb088397f11e1d (diff)
downloademacs-12c0a8da7fa4cae2d98702a47fc84709061cb8e4.tar.gz
emacs-12c0a8da7fa4cae2d98702a47fc84709061cb8e4.zip
Check for memcpy, mempcpy, mblen, mbrlen. Use
AC_FUNC_STRFTIME, AC_STRUCT_TIMEZONE, AC_TYPE_MBSTATE_T. (NLIST_STRUCT): Don't define.
-rw-r--r--configure.in14
1 files changed, 9 insertions, 5 deletions
diff --git a/configure.in b/configure.in
index a4eb85b220f..fd2dd9f089d 100644
--- a/configure.in
+++ b/configure.in
@@ -2225,11 +2225,11 @@ AC_CHECK_FUNCS(gethostname getdomainname dup2 \
2225rename closedir mkdir rmdir sysinfo \ 2225rename closedir mkdir rmdir sysinfo \
2226random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ 2226random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
2227strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ 2227strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
2228utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ 2228utimes setrlimit setpgid getcwd getwd shutdown getaddrinfo \
2229__fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ 2229__fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
2230sendto recvfrom getsockopt setsockopt getsockname getpeername \ 2230sendto recvfrom getsockopt setsockopt getsockname getpeername \
2231gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \ 2231gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \
2232memset memcmp memmove difftime) 2232memset memcmp memmove difftime memcpy mempcpy mblen mbrlen)
2233 2233
2234AC_CHECK_HEADERS(sys/un.h) 2234AC_CHECK_HEADERS(sys/un.h)
2235 2235
@@ -2244,6 +2244,8 @@ AC_FUNC_FSEEKO
2244 2244
2245AC_FUNC_GETPGRP 2245AC_FUNC_GETPGRP
2246 2246
2247AC_FUNC_STRFTIME
2248
2247# UNIX98 PTYs. 2249# UNIX98 PTYs.
2248AC_CHECK_FUNCS(grantpt) 2250AC_CHECK_FUNCS(grantpt)
2249 2251
@@ -2378,6 +2380,9 @@ if test "x$HAVE_TIMEVAL" = xyes; then
2378 fi 2380 fi
2379fi 2381fi
2380 2382
2383# This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
2384AC_STRUCT_TIMEZONE
2385
2381dnl Note that AC_STRUCT_TIMEZONE doesn't do what you might expect. 2386dnl Note that AC_STRUCT_TIMEZONE doesn't do what you might expect.
2382if test "$ac_cv_func_gettimeofday" = yes; then 2387if test "$ac_cv_func_gettimeofday" = yes; then
2383 AC_CACHE_CHECK([for struct timezone], emacs_cv_struct_timezone, 2388 AC_CACHE_CHECK([for struct timezone], emacs_cv_struct_timezone,
@@ -2450,6 +2455,8 @@ fi
2450 2455
2451AC_CHECK_TYPES(size_t) 2456AC_CHECK_TYPES(size_t)
2452 2457
2458AC_TYPE_MBSTATE_T
2459
2453dnl Restrict could probably be used effectively other than in regex.c. 2460dnl Restrict could probably be used effectively other than in regex.c.
2454AC_CACHE_CHECK([for C restrict keyword], emacs_cv_c_restrict, 2461AC_CACHE_CHECK([for C restrict keyword], emacs_cv_c_restrict,
2455 [AC_TRY_COMPILE([void fred (int *restrict x);], [], 2462 [AC_TRY_COMPILE([void fred (int *restrict x);], [],
@@ -2477,9 +2484,6 @@ if test "$emacs_cv_c_restrict_arr" = yes; then
2477 declarations. Define as empty for no equivalent.]) 2484 declarations. Define as empty for no equivalent.])
2478fi 2485fi
2479 2486
2480AC_CHECK_HEADERS(nlist.h, [AC_DEFINE(NLIST_STRUCT, 1,
2481 [Define to 1 if you have <nlist.h>.])])
2482
2483dnl Fixme: AC_SYS_POSIX_TERMIOS should probably be used, but it's not clear 2487dnl Fixme: AC_SYS_POSIX_TERMIOS should probably be used, but it's not clear
2484dnl how the tty code is related to POSIX and/or other versions of termios. 2488dnl how the tty code is related to POSIX and/or other versions of termios.
2485dnl The following looks like a useful start. 2489dnl The following looks like a useful start.