mirror of
https://https.git.savannah.gnu.org/git/diffutils.git
synced 2026-01-30 03:14:25 +00:00
(AC_FUNC_MEMCHR): Remove. Autoconf didn't adopt this, since we need not
worry about an old experimental library where memchr didn't work. (AC_FUNC_MEMCMP): Not needed, since we only test for equality. (AC_REPLACE_FUNCS): Add test for memchr. (AC_CHECK_FUNCS): Check for memchr, not memcpy, since it'll be cached. (AC_CHECK_HEADERS): Add string.h; regex.c uses on some old hosts.
This commit is contained in:
parent
ea404e8bfb
commit
262be8ba54
@ -1,11 +1,11 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
AC_INIT(diff.h)
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
AC_CONFIG_HEADER(config.h:config.hin)
|
||||
AC_PROG_CC
|
||||
AC_PROG_CPP
|
||||
AC_PROG_INSTALL
|
||||
AC_OS_ISC
|
||||
AC_OS_MINIX
|
||||
AC_ISC_POSIX
|
||||
AC_MINIX
|
||||
AC_C_CONST
|
||||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS(unistd.h fcntl.h limits.h stdlib.h string.h sys/file.h sys/wait.h time.h)
|
||||
@ -13,10 +13,11 @@ AC_HEADER_DIRENT
|
||||
AC_HEADER_STAT
|
||||
AC_TYPE_PID_T
|
||||
AC_TYPE_SIGNAL
|
||||
AC_CHECK_FUNCS(dup2 sigaction strerror memchr)
|
||||
AC_CHECK_FUNCS(dup2 memchr sigaction strchr strerror)
|
||||
AC_REPLACE_FUNCS(memchr waitpid)
|
||||
AC_FUNC_ALLOCA
|
||||
AC_FUNC_CLOSEDIR_VOID
|
||||
dnl No need for AC_FUNC_MEMCMP, since memcmp is used only to test for equality.
|
||||
AC_FUNC_VFORK
|
||||
AC_FUNC_VPRINTF
|
||||
AC_STRUCT_ST_BLKSIZE
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user