diff options
| author | Dave Love | 2003-06-05 16:37:13 +0000 |
|---|---|---|
| committer | Dave Love | 2003-06-05 16:37:13 +0000 |
| commit | 12c0a8da7fa4cae2d98702a47fc84709061cb8e4 (patch) | |
| tree | 184e7fe1aae008b49cdd74257897ba3de4d738c8 | |
| parent | 87c359749caa9203fa3eac4370bb088397f11e1d (diff) | |
| download | emacs-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.in | 14 |
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 \ | |||
| 2225 | rename closedir mkdir rmdir sysinfo \ | 2225 | rename closedir mkdir rmdir sysinfo \ |
| 2226 | random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ | 2226 | random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ |
| 2227 | strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ | 2227 | strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ |
| 2228 | utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ | 2228 | utimes 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 \ |
| 2230 | sendto recvfrom getsockopt setsockopt getsockname getpeername \ | 2230 | sendto recvfrom getsockopt setsockopt getsockname getpeername \ |
| 2231 | gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \ | 2231 | gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \ |
| 2232 | memset memcmp memmove difftime) | 2232 | memset memcmp memmove difftime memcpy mempcpy mblen mbrlen) |
| 2233 | 2233 | ||
| 2234 | AC_CHECK_HEADERS(sys/un.h) | 2234 | AC_CHECK_HEADERS(sys/un.h) |
| 2235 | 2235 | ||
| @@ -2244,6 +2244,8 @@ AC_FUNC_FSEEKO | |||
| 2244 | 2244 | ||
| 2245 | AC_FUNC_GETPGRP | 2245 | AC_FUNC_GETPGRP |
| 2246 | 2246 | ||
| 2247 | AC_FUNC_STRFTIME | ||
| 2248 | |||
| 2247 | # UNIX98 PTYs. | 2249 | # UNIX98 PTYs. |
| 2248 | AC_CHECK_FUNCS(grantpt) | 2250 | AC_CHECK_FUNCS(grantpt) |
| 2249 | 2251 | ||
| @@ -2378,6 +2380,9 @@ if test "x$HAVE_TIMEVAL" = xyes; then | |||
| 2378 | fi | 2380 | fi |
| 2379 | fi | 2381 | fi |
| 2380 | 2382 | ||
| 2383 | # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE. | ||
| 2384 | AC_STRUCT_TIMEZONE | ||
| 2385 | |||
| 2381 | dnl Note that AC_STRUCT_TIMEZONE doesn't do what you might expect. | 2386 | dnl Note that AC_STRUCT_TIMEZONE doesn't do what you might expect. |
| 2382 | if test "$ac_cv_func_gettimeofday" = yes; then | 2387 | if 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 | ||
| 2451 | AC_CHECK_TYPES(size_t) | 2456 | AC_CHECK_TYPES(size_t) |
| 2452 | 2457 | ||
| 2458 | AC_TYPE_MBSTATE_T | ||
| 2459 | |||
| 2453 | dnl Restrict could probably be used effectively other than in regex.c. | 2460 | dnl Restrict could probably be used effectively other than in regex.c. |
| 2454 | AC_CACHE_CHECK([for C restrict keyword], emacs_cv_c_restrict, | 2461 | AC_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.]) |
| 2478 | fi | 2485 | fi |
| 2479 | 2486 | ||
| 2480 | AC_CHECK_HEADERS(nlist.h, [AC_DEFINE(NLIST_STRUCT, 1, | ||
| 2481 | [Define to 1 if you have <nlist.h>.])]) | ||
| 2482 | |||
| 2483 | dnl Fixme: AC_SYS_POSIX_TERMIOS should probably be used, but it's not clear | 2487 | dnl Fixme: AC_SYS_POSIX_TERMIOS should probably be used, but it's not clear |
| 2484 | dnl how the tty code is related to POSIX and/or other versions of termios. | 2488 | dnl how the tty code is related to POSIX and/or other versions of termios. |
| 2485 | dnl The following looks like a useful start. | 2489 | dnl The following looks like a useful start. |