mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-07-26 10:39:01 +02:00
.
This commit is contained in:
+1
-1
@@ -217,7 +217,7 @@ $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
$(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
||||
cd $(srcdir) && $(AUTOCONF)
|
||||
|
||||
$(ACLOCAL_M4): configure.ac m4/acl.m4 m4/afs.m4 m4/alloca.m4 m4/assert.m4 m4/atexit.m4 m4/backupfile.m4 m4/bison.m4 m4/boottime.m4 m4/c-stack.m4 m4/canon-host.m4 m4/canonicalize.m4 m4/check-decl.m4 m4/chown.m4 m4/clock_time.m4 m4/closeout.m4 m4/codeset.m4 m4/d-ino.m4 m4/d-type.m4 m4/dirfd.m4 m4/dirname.m4 m4/dos.m4 m4/dup2.m4 m4/error.m4 m4/euidaccess.m4 m4/exclude.m4 m4/exitfail.m4 m4/extensions.m4 m4/file-type.m4 m4/fileblocks.m4 m4/filemode.m4 m4/fnmatch.m4 m4/fpending.m4 m4/fstypename.m4 m4/fsusage.m4 m4/ftruncate.m4 m4/ftw.m4 m4/getcwd-path-max.m4 m4/getcwd.m4 m4/getdate.m4 m4/getgroups.m4 m4/gethostname.m4 m4/getline.m4 m4/getloadavg.m4 m4/getndelim2.m4 m4/getopt.m4 m4/getpagesize.m4 m4/getpass.m4 m4/gettext.m4 m4/gettextext.m4 m4/gettimeofday.m4 m4/getusershell.m4 m4/glibc.m4 m4/glibc21.m4 m4/group-member.m4 m4/hard-locale.m4 m4/hash.m4 m4/host-os.m4 m4/human.m4 m4/iconv.m4 m4/intdiv0.m4 m4/intmax_t.m4 m4/inttypes-pri.m4 m4/inttypes.m4 m4/inttypes_h.m4 m4/isc-posix.m4 m4/jm-macros.m4 m4/jm-mktime.m4 m4/jm-winsz1.m4 m4/jm-winsz2.m4 m4/lchown.m4 m4/lcmessage.m4 m4/lib-check.m4 m4/lib-ld.m4 m4/lib-link.m4 m4/lib-prefix.m4 m4/link-follow.m4 m4/longdouble.m4 m4/longlong.m4 m4/ls-mntd-fs.m4 m4/lstat.m4 m4/malloc.m4 m4/mbrtowc.m4 m4/mbswidth.m4 m4/memchr.m4 m4/memcmp.m4 m4/memcoll.m4 m4/memcpy.m4 m4/memmove.m4 m4/memrchr.m4 m4/memset.m4 m4/mkdir-slash.m4 m4/mkstemp.m4 m4/mktime.m4 m4/modechange.m4 m4/mountlist.m4 m4/nanosleep.m4 m4/nls.m4 m4/obstack.m4 m4/onceonly.m4 m4/open-max.m4 m4/path-concat.m4 m4/pathmax.m4 m4/perl.m4 m4/physmem.m4 m4/po.m4 m4/posixtm.m4 m4/posixver.m4 m4/prereq.m4 m4/progtest.m4 m4/putenv.m4 m4/quote.m4 m4/quotearg.m4 m4/readdir.m4 m4/readlink.m4 m4/readutmp.m4 m4/realloc.m4 m4/regex.m4 m4/rename.m4 m4/restrict.m4 m4/rmdir-errno.m4 m4/rmdir.m4 m4/rpmatch.m4 m4/safe-read.m4 m4/safe-write.m4 m4/same.m4 m4/save-cwd.m4 m4/savedir.m4 m4/search-libs.m4 m4/settime.m4 m4/sha.m4 m4/sig2str.m4 m4/signed.m4 m4/ssize_t.m4 m4/st_dm_mode.m4 m4/st_mtim.m4 m4/stat.m4 m4/stdbool.m4 m4/stdint_h.m4 m4/stdio-safer.m4 m4/stpcpy.m4 m4/strcase.m4 m4/strcspn.m4 m4/strdup.m4 m4/strftime.m4 m4/strndup.m4 m4/strnlen.m4 m4/strpbrk.m4 m4/strstr.m4 m4/strtod.m4 m4/strtoimax.m4 m4/strtol.m4 m4/strtoll.m4 m4/strtoul.m4 m4/strtoull.m4 m4/strtoumax.m4 m4/strverscmp.m4 m4/timespec.m4 m4/tm_gmtoff.m4 m4/tzset.m4 m4/uintmax_t.m4 m4/ulonglong.m4 m4/unicodeio.m4 m4/unistd-safer.m4 m4/unlink-busy.m4 m4/unlocked-io.m4 m4/uptime.m4 m4/userspec.m4 m4/utimbuf.m4 m4/utime.m4 m4/utimens.m4 m4/utimes-null.m4 m4/utimes.m4 m4/vasnprintf.m4 m4/vasprintf.m4 m4/wchar_t.m4 m4/wint_t.m4 m4/xalloc.m4 m4/xgetcwd.m4 m4/xreadlink.m4 m4/xstrtod.m4 m4/xstrtoimax.m4 m4/xstrtol.m4 m4/xstrtoumax.m4 m4/yesno.m4
|
||||
$(ACLOCAL_M4): configure.ac m4/acl.m4 m4/afs.m4 m4/alloca.m4 m4/assert.m4 m4/atexit.m4 m4/backupfile.m4 m4/bison.m4 m4/boottime.m4 m4/c-stack.m4 m4/canon-host.m4 m4/canonicalize.m4 m4/check-decl.m4 m4/chown.m4 m4/clock_time.m4 m4/closeout.m4 m4/codeset.m4 m4/d-ino.m4 m4/d-type.m4 m4/dirfd.m4 m4/dirname.m4 m4/dos.m4 m4/dup2.m4 m4/error.m4 m4/euidaccess.m4 m4/exclude.m4 m4/exitfail.m4 m4/extensions.m4 m4/file-type.m4 m4/fileblocks.m4 m4/filemode.m4 m4/fnmatch.m4 m4/fpending.m4 m4/fstypename.m4 m4/fsusage.m4 m4/ftruncate.m4 m4/ftw.m4 m4/getcwd-path-max.m4 m4/getcwd.m4 m4/getdate.m4 m4/getgroups.m4 m4/gethostname.m4 m4/getline.m4 m4/getloadavg.m4 m4/getndelim2.m4 m4/getopt.m4 m4/getpagesize.m4 m4/getpass.m4 m4/gettext.m4 m4/gettextext.m4 m4/gettimeofday.m4 m4/getugroups.m4 m4/getusershell.m4 m4/glibc.m4 m4/glibc21.m4 m4/group-member.m4 m4/hard-locale.m4 m4/hash.m4 m4/host-os.m4 m4/human.m4 m4/iconv.m4 m4/idcache.m4 m4/intdiv0.m4 m4/intmax_t.m4 m4/inttypes-pri.m4 m4/inttypes.m4 m4/inttypes_h.m4 m4/isc-posix.m4 m4/jm-macros.m4 m4/jm-mktime.m4 m4/jm-winsz1.m4 m4/jm-winsz2.m4 m4/lchown.m4 m4/lcmessage.m4 m4/lib-check.m4 m4/lib-ld.m4 m4/lib-link.m4 m4/lib-prefix.m4 m4/link-follow.m4 m4/long-options.m4 m4/longdouble.m4 m4/longlong.m4 m4/ls-mntd-fs.m4 m4/lstat.m4 m4/makepath.m4 m4/malloc.m4 m4/mbrtowc.m4 m4/mbswidth.m4 m4/md5.m4 m4/memchr.m4 m4/memcmp.m4 m4/memcoll.m4 m4/memcpy.m4 m4/memmove.m4 m4/memrchr.m4 m4/memset.m4 m4/mkdir-slash.m4 m4/mkstemp.m4 m4/mktime.m4 m4/modechange.m4 m4/mountlist.m4 m4/nanosleep.m4 m4/nls.m4 m4/obstack.m4 m4/onceonly.m4 m4/open-max.m4 m4/path-concat.m4 m4/pathmax.m4 m4/perl.m4 m4/physmem.m4 m4/po.m4 m4/posixtm.m4 m4/posixver.m4 m4/prereq.m4 m4/progtest.m4 m4/putenv.m4 m4/quote.m4 m4/quotearg.m4 m4/readdir.m4 m4/readlink.m4 m4/readtokens.m4 m4/readutmp.m4 m4/realloc.m4 m4/regex.m4 m4/rename.m4 m4/restrict.m4 m4/rmdir-errno.m4 m4/rmdir.m4 m4/rpmatch.m4 m4/safe-read.m4 m4/safe-write.m4 m4/same.m4 m4/save-cwd.m4 m4/savedir.m4 m4/search-libs.m4 m4/settime.m4 m4/sha.m4 m4/sig2str.m4 m4/signed.m4 m4/ssize_t.m4 m4/st_dm_mode.m4 m4/st_mtim.m4 m4/stat.m4 m4/stdbool.m4 m4/stdint_h.m4 m4/stdio-safer.m4 m4/stpcpy.m4 m4/strcase.m4 m4/strcspn.m4 m4/strdup.m4 m4/strftime.m4 m4/strndup.m4 m4/strnlen.m4 m4/strpbrk.m4 m4/strstr.m4 m4/strtod.m4 m4/strtoimax.m4 m4/strtol.m4 m4/strtoll.m4 m4/strtoul.m4 m4/strtoull.m4 m4/strtoumax.m4 m4/strverscmp.m4 m4/timespec.m4 m4/tm_gmtoff.m4 m4/tzset.m4 m4/uintmax_t.m4 m4/ulonglong.m4 m4/unicodeio.m4 m4/unistd-safer.m4 m4/unlink-busy.m4 m4/unlocked-io.m4 m4/uptime.m4 m4/userspec.m4 m4/utimbuf.m4 m4/utime.m4 m4/utimens.m4 m4/utimes-null.m4 m4/utimes.m4 m4/vasnprintf.m4 m4/vasprintf.m4 m4/wchar_t.m4 m4/wint_t.m4 m4/xalloc.m4 m4/xgetcwd.m4 m4/xreadlink.m4 m4/xstrtod.m4 m4/xstrtoimax.m4 m4/xstrtol.m4 m4/xstrtoumax.m4 m4/yesno.m4
|
||||
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||
|
||||
config.h: stamp-h1
|
||||
|
||||
Vendored
+186
-155
@@ -838,7 +838,9 @@ fi])])
|
||||
# Enable extensions on systems that normally disable them,
|
||||
# typically due to standards-conformance issues.
|
||||
AC_DEFUN([gl_USE_SYSTEM_EXTENSIONS], [
|
||||
AC_REQUIRE([AC_AIX])
|
||||
AC_REQUIRE([AC_GNU_SOURCE])
|
||||
AC_REQUIRE([AC_MINIX])
|
||||
AH_VERBATIM([__EXTENSIONS__],
|
||||
[/* Enable extensions on Solaris. */
|
||||
#ifndef __EXTENSIONS__
|
||||
@@ -1496,7 +1498,7 @@ AC_DEFUN([jm_CHECK_TYPE_STRUCT_DIRENT_D_INO],
|
||||
]
|
||||
)
|
||||
|
||||
#serial 18
|
||||
#serial 19
|
||||
|
||||
dnl This is just a wrapper function to encapsulate this kludge.
|
||||
dnl Putting it in a separate file like this helps share it between
|
||||
@@ -1507,19 +1509,9 @@ AC_DEFUN([jm_CHECK_DECLS],
|
||||
AC_REQUIRE([AC_HEADER_TIME])
|
||||
headers='
|
||||
#include <stdio.h>
|
||||
#if HAVE_STRING_H
|
||||
# if !STDC_HEADERS && HAVE_MEMORY_H
|
||||
# include <memory.h>
|
||||
# endif
|
||||
# include <string.h>
|
||||
#else
|
||||
# if HAVE_STRINGS_H
|
||||
# include <strings.h>
|
||||
# endif
|
||||
#endif
|
||||
#if HAVE_STDLIB_H
|
||||
# include <stdlib.h>
|
||||
#endif
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#if HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
@@ -1582,7 +1574,7 @@ AC_DEFUN([_jm_DECL_HEADERS],
|
||||
unistd.h sys/time.h utmp.h utmpx.h)
|
||||
])
|
||||
|
||||
#serial 35
|
||||
#serial 36
|
||||
|
||||
dnl We use jm_ for non Autoconf macros.
|
||||
m4_pattern_forbid([^jm_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])dnl
|
||||
@@ -1651,10 +1643,15 @@ AC_DEFUN([jm_PREREQ],
|
||||
AC_REQUIRE([gl_GETNDELIM2])
|
||||
AC_REQUIRE([gl_GETOPT])
|
||||
AC_REQUIRE([gl_GETPAGESIZE])
|
||||
AC_REQUIRE([gl_GETUGROUPS])
|
||||
AC_REQUIRE([gl_HARD_LOCALE])
|
||||
AC_REQUIRE([gl_HASH])
|
||||
AC_REQUIRE([gl_HUMAN])
|
||||
AC_REQUIRE([gl_IDCACHE])
|
||||
AC_REQUIRE([gl_LONG_OPTIONS])
|
||||
AC_REQUIRE([gl_MAKEPATH])
|
||||
AC_REQUIRE([gl_MBSWIDTH])
|
||||
AC_REQUIRE([gl_MD5])
|
||||
AC_REQUIRE([gl_MEMCOLL])
|
||||
AC_REQUIRE([gl_MODECHANGE])
|
||||
AC_REQUIRE([gl_MOUNTLIST])
|
||||
@@ -1666,6 +1663,7 @@ AC_DEFUN([jm_PREREQ],
|
||||
AC_REQUIRE([gl_POSIXVER])
|
||||
AC_REQUIRE([gl_QUOTEARG])
|
||||
AC_REQUIRE([gl_QUOTE])
|
||||
AC_REQUIRE([gl_READTOKENS])
|
||||
AC_REQUIRE([gl_READUTMP])
|
||||
AC_REQUIRE([gl_REGEX])
|
||||
AC_REQUIRE([gl_SAFE_READ])
|
||||
@@ -1698,21 +1696,12 @@ AC_DEFUN([jm_PREREQ],
|
||||
AC_REQUIRE([jm_FUNC_REALLOC])
|
||||
AC_REQUIRE([jm_FUNC_STAT])
|
||||
AC_REQUIRE([jm_FUNC_UTIME])
|
||||
AC_REQUIRE([jm_PREREQ_ADDEXT])
|
||||
AC_REQUIRE([jm_PREREQ_STAT])
|
||||
AC_REQUIRE([jm_XSTRTOIMAX])
|
||||
AC_REQUIRE([jm_XSTRTOUMAX])
|
||||
AC_REQUIRE([vb_FUNC_RENAME])
|
||||
])
|
||||
|
||||
AC_DEFUN([jm_PREREQ_ADDEXT],
|
||||
[
|
||||
dnl For addext.c.
|
||||
AC_REQUIRE([AC_SYS_LONG_FILE_NAMES])
|
||||
AC_CHECK_FUNCS(pathconf)
|
||||
AC_CHECK_HEADERS(limits.h string.h unistd.h)
|
||||
])
|
||||
|
||||
AC_DEFUN([jm_PREREQ_STAT],
|
||||
[
|
||||
AC_CHECK_HEADERS(sys/sysmacros.h sys/statvfs.h sys/vfs.h inttypes.h)
|
||||
@@ -2063,7 +2052,6 @@ AC_DEFUN([gl_PREREQ_MKSTEMP],
|
||||
# Prerequisites of lib/tempname.c.
|
||||
AC_DEFUN([jm_PREREQ_TEMPNAME],
|
||||
[
|
||||
AC_REQUIRE([AC_HEADER_STDC])
|
||||
AC_REQUIRE([AC_HEADER_STAT])
|
||||
AC_CHECK_HEADERS_ONCE(fcntl.h sys/time.h unistd.h)
|
||||
AC_CHECK_HEADERS(stdint.h)
|
||||
@@ -2331,8 +2319,8 @@ AC_DEFUN([AC_SEARCH_LIBS],
|
||||
fi
|
||||
])
|
||||
|
||||
# closeout.m4 serial 1
|
||||
dnl Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
# closeout.m4 serial 2
|
||||
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
dnl Public License, this file may be distributed as part of a program
|
||||
@@ -2342,7 +2330,7 @@ dnl the same distribution terms as the rest of that program.
|
||||
AC_DEFUN([gl_CLOSEOUT],
|
||||
[
|
||||
dnl Prerequisites of lib/closeout.c.
|
||||
AC_CHECK_HEADERS_ONCE(stdlib.h)
|
||||
:
|
||||
])
|
||||
|
||||
# dirname.m4 serial 2
|
||||
@@ -2361,7 +2349,7 @@ AC_DEFUN([gl_DIRNAME],
|
||||
dnl No prerequisites of lib/basename.c, lib/dirname.c, lib/stripslash.c.
|
||||
])
|
||||
|
||||
#serial 8
|
||||
#serial 9
|
||||
|
||||
AC_DEFUN([gl_ERROR],
|
||||
[
|
||||
@@ -2373,8 +2361,8 @@ AC_DEFUN([gl_ERROR],
|
||||
# Prerequisites of lib/error.c.
|
||||
AC_DEFUN([jm_PREREQ_ERROR],
|
||||
[
|
||||
AC_REQUIRE([AC_FUNC_VPRINTF])
|
||||
AC_FUNC_STRERROR_R
|
||||
AC_REQUIRE([AC_FUNC_STRERROR_R])
|
||||
:
|
||||
])
|
||||
|
||||
# exclude.m4 serial 3
|
||||
@@ -3130,7 +3118,6 @@ AC_DEFUN([gl_PREREQ_GETUSERSHELL], [
|
||||
AC_CHECK_FUNCS_ONCE(isascii)
|
||||
])
|
||||
|
||||
|
||||
# memchr.m4 serial 2
|
||||
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
@@ -3486,7 +3473,7 @@ AC_DEFUN([gl_PREREQ_RMDIR], [
|
||||
])
|
||||
|
||||
|
||||
# rpmatch.m4 serial 3
|
||||
# rpmatch.m4 serial 4
|
||||
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
@@ -3503,11 +3490,7 @@ AC_DEFUN([gl_FUNC_RPMATCH],
|
||||
])
|
||||
|
||||
# Prerequisites of lib/rpmatch.c.
|
||||
AC_DEFUN([gl_PREREQ_RPMATCH], [
|
||||
AC_REQUIRE([AC_HEADER_STDC])
|
||||
:
|
||||
])
|
||||
|
||||
AC_DEFUN([gl_PREREQ_RPMATCH], [:])
|
||||
|
||||
# sig2str.m4 serial 1
|
||||
dnl Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
@@ -3556,8 +3539,8 @@ AC_DEFUN([gl_PREREQ_STPCPY], [
|
||||
])
|
||||
|
||||
|
||||
# strcspn.m4 serial 1
|
||||
dnl Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
# strcspn.m4 serial 2
|
||||
dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
dnl Public License, this file may be distributed as part of a program
|
||||
@@ -3573,12 +3556,10 @@ AC_DEFUN([gl_FUNC_STRCSPN],
|
||||
])
|
||||
|
||||
# Prerequisites of lib/strcspn.c.
|
||||
AC_DEFUN([gl_PREREQ_STRCSPN], [
|
||||
AC_CHECK_HEADERS_ONCE(string.h)
|
||||
])
|
||||
AC_DEFUN([gl_PREREQ_STRCSPN], [:])
|
||||
|
||||
# strdup.m4 serial 1
|
||||
dnl Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
# strdup.m4 serial 2
|
||||
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
dnl Public License, this file may be distributed as part of a program
|
||||
@@ -3595,7 +3576,6 @@ AC_DEFUN([gl_FUNC_STRDUP],
|
||||
|
||||
# Prerequisites of lib/strdup.c.
|
||||
AC_DEFUN([gl_PREREQ_STRDUP], [
|
||||
AC_REQUIRE([AC_HEADER_STDC])
|
||||
:
|
||||
])
|
||||
|
||||
@@ -3626,7 +3606,7 @@ AC_DEFUN([gl_PREREQ_STRNDUP], [
|
||||
])
|
||||
|
||||
|
||||
# strnlen.m4 serial 2
|
||||
# strnlen.m4 serial 3
|
||||
dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
@@ -3652,15 +3632,10 @@ AC_DEFUN([gl_FUNC_STRNLEN],
|
||||
])
|
||||
|
||||
# Prerequisites of lib/strnlen.c.
|
||||
AC_DEFUN([gl_PREREQ_STRNLEN], [
|
||||
AC_REQUIRE([AC_HEADER_STDC])
|
||||
AC_CHECK_HEADERS_ONCE(memory.h string.h)
|
||||
AC_CHECK_DECLS(memchr)
|
||||
])
|
||||
AC_DEFUN([gl_PREREQ_STRNLEN], [:])
|
||||
|
||||
|
||||
# strpbrk.m4 serial 1
|
||||
dnl Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
# strpbrk.m4 serial 2
|
||||
dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
dnl Public License, this file may be distributed as part of a program
|
||||
@@ -3676,12 +3651,10 @@ AC_DEFUN([gl_FUNC_STRPBRK],
|
||||
])
|
||||
|
||||
# Prerequisites of lib/strpbrk.c.
|
||||
AC_DEFUN([gl_PREREQ_STRPBRK], [
|
||||
AC_CHECK_HEADERS_ONCE(string.h)
|
||||
])
|
||||
AC_DEFUN([gl_PREREQ_STRPBRK], [:])
|
||||
|
||||
# strstr.m4 serial 1
|
||||
dnl Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
# strstr.m4 serial 2
|
||||
dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
dnl Public License, this file may be distributed as part of a program
|
||||
@@ -3697,11 +3670,9 @@ AC_DEFUN([gl_FUNC_STRSTR],
|
||||
])
|
||||
|
||||
# Prerequisites of lib/strstr.c.
|
||||
AC_DEFUN([gl_PREREQ_STRSTR], [
|
||||
AC_CHECK_HEADERS_ONCE(string.h)
|
||||
])
|
||||
AC_DEFUN([gl_PREREQ_STRSTR], [:])
|
||||
|
||||
# strtod.m4 serial 2
|
||||
# strtod.m4 serial 3
|
||||
dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
@@ -3723,11 +3694,10 @@ AC_DEFUN([gl_FUNC_STRTOD],
|
||||
# The need for pow() is already handled by AC_FUNC_STRTOD.
|
||||
AC_DEFUN([gl_PREREQ_STRTOD], [
|
||||
AC_REQUIRE([AC_HEADER_STDC])
|
||||
AC_CHECK_HEADERS(float.h)
|
||||
AC_CHECK_FUNCS_ONCE(isascii)
|
||||
])
|
||||
|
||||
# strtoimax.m4 serial 2
|
||||
# strtoimax.m4 serial 3
|
||||
dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
@@ -3761,8 +3731,6 @@ AC_DEFUN([gl_FUNC_STRTOIMAX],
|
||||
# Prerequisites of lib/strtoimax.c.
|
||||
AC_DEFUN([gl_PREREQ_STRTOIMAX], [
|
||||
jm_AC_TYPE_INTMAX_T
|
||||
AC_CHECK_HEADERS_ONCE(stdlib.h)
|
||||
AC_CHECK_DECLS_ONCE(strtol)
|
||||
AC_CHECK_DECLS(strtoll)
|
||||
AC_REQUIRE([jm_AC_TYPE_LONG_LONG])
|
||||
])
|
||||
@@ -3884,8 +3852,8 @@ AC_DEFUN([gl_PREREQ_STRTOLL], [
|
||||
])
|
||||
|
||||
|
||||
# strtol.m4 serial 1
|
||||
dnl Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
# strtol.m4 serial 2
|
||||
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
dnl Public License, this file may be distributed as part of a program
|
||||
@@ -3903,7 +3871,6 @@ AC_DEFUN([gl_FUNC_STRTOL],
|
||||
# Prerequisites of lib/strtol.c.
|
||||
AC_DEFUN([gl_PREREQ_STRTOL], [
|
||||
AC_REQUIRE([AC_HEADER_STDC])
|
||||
AC_CHECK_HEADERS_ONCE(limits.h)
|
||||
AC_CHECK_FUNCS_ONCE(isascii)
|
||||
])
|
||||
|
||||
@@ -3955,7 +3922,7 @@ AC_DEFUN([gl_PREREQ_STRTOUL], [
|
||||
gl_PREREQ_STRTOL
|
||||
])
|
||||
|
||||
# strtoumax.m4 serial 2
|
||||
# strtoumax.m4 serial 3
|
||||
dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
@@ -3989,8 +3956,6 @@ AC_DEFUN([gl_FUNC_STRTOUMAX],
|
||||
# Prerequisites of lib/strtoumax.c.
|
||||
AC_DEFUN([gl_PREREQ_STRTOUMAX], [
|
||||
jm_AC_TYPE_UINTMAX_T
|
||||
AC_CHECK_HEADERS_ONCE(stdlib.h)
|
||||
AC_CHECK_DECLS_ONCE(strtoul)
|
||||
AC_CHECK_DECLS(strtoull)
|
||||
AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG])
|
||||
])
|
||||
@@ -4284,6 +4249,21 @@ AC_DEFUN([gl_GETPAGESIZE],
|
||||
AC_CHECK_FUNCS(getpagesize)
|
||||
])
|
||||
|
||||
# getugroups.m4 serial 2
|
||||
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
dnl Public License, this file may be distributed as part of a program
|
||||
dnl that contains a configuration script generated by Autoconf, under
|
||||
dnl the same distribution terms as the rest of that program.
|
||||
|
||||
AC_DEFUN([gl_GETUGROUPS],
|
||||
[
|
||||
dnl Prerequisites of lib/getugroups.c.
|
||||
AC_CHECK_HEADERS_ONCE(unistd.h)
|
||||
AC_TYPE_GETGROUPS
|
||||
])
|
||||
|
||||
# hard-locale.m4 serial 2
|
||||
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
@@ -4332,6 +4312,65 @@ AC_DEFUN([gl_HUMAN],
|
||||
AC_CHECK_FUNCS_ONCE(localeconv)
|
||||
])
|
||||
|
||||
# idcache.m4 serial 2
|
||||
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
dnl Public License, this file may be distributed as part of a program
|
||||
dnl that contains a configuration script generated by Autoconf, under
|
||||
dnl the same distribution terms as the rest of that program.
|
||||
|
||||
AC_DEFUN([gl_IDCACHE],
|
||||
[
|
||||
dnl Prerequisites of lib/idcache.c.
|
||||
AC_CHECK_HEADERS_ONCE(unistd.h)
|
||||
])
|
||||
|
||||
# long-options.m4 serial 2
|
||||
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
dnl Public License, this file may be distributed as part of a program
|
||||
dnl that contains a configuration script generated by Autoconf, under
|
||||
dnl the same distribution terms as the rest of that program.
|
||||
|
||||
AC_DEFUN([gl_LONG_OPTIONS],
|
||||
[
|
||||
dnl Prerequisites of lib/long-options.c.
|
||||
:
|
||||
])
|
||||
|
||||
# makepath.m4 serial 2
|
||||
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
dnl Public License, this file may be distributed as part of a program
|
||||
dnl that contains a configuration script generated by Autoconf, under
|
||||
dnl the same distribution terms as the rest of that program.
|
||||
|
||||
AC_DEFUN([gl_MAKEPATH],
|
||||
[
|
||||
dnl Prerequisites of lib/makepath.c.
|
||||
AC_REQUIRE([AC_FUNC_ALLOCA])
|
||||
AC_CHECK_HEADERS_ONCE(unistd.h)
|
||||
AC_REQUIRE([AC_HEADER_STAT])
|
||||
AC_REQUIRE([jm_AFS])
|
||||
])
|
||||
|
||||
#serial 5
|
||||
|
||||
AC_DEFUN([jm_AFS],
|
||||
[
|
||||
AC_MSG_CHECKING(for AFS)
|
||||
if test -d /afs; then
|
||||
AC_DEFINE(AFS, 1, [Define if you have the Andrew File System.])
|
||||
ac_result=yes
|
||||
else
|
||||
ac_result=no
|
||||
fi
|
||||
AC_MSG_RESULT($ac_result)
|
||||
])
|
||||
|
||||
#serial 9
|
||||
|
||||
dnl autoconf tests required for use of mbswidth.c
|
||||
@@ -4397,6 +4436,22 @@ AC_DEFUN([jm_FUNC_MBRTOWC],
|
||||
fi
|
||||
])
|
||||
|
||||
# md5.m4 serial 3
|
||||
dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
dnl Public License, this file may be distributed as part of a program
|
||||
dnl that contains a configuration script generated by Autoconf, under
|
||||
dnl the same distribution terms as the rest of that program.
|
||||
|
||||
AC_DEFUN([gl_MD5],
|
||||
[
|
||||
dnl Prerequisites of lib/md5.h.
|
||||
AC_REQUIRE([AC_C_INLINE])
|
||||
|
||||
dnl No prerequisites of lib/md5.c.
|
||||
])
|
||||
|
||||
# memcoll.m4 serial 3
|
||||
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
@@ -4910,7 +4965,21 @@ AC_DEFUN([gl_QUOTE],
|
||||
dnl (none)
|
||||
])
|
||||
|
||||
# readutmp.m4 serial 2
|
||||
# readtokens.m4 serial 2
|
||||
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
dnl Public License, this file may be distributed as part of a program
|
||||
dnl that contains a configuration script generated by Autoconf, under
|
||||
dnl the same distribution terms as the rest of that program.
|
||||
|
||||
AC_DEFUN([gl_READTOKENS],
|
||||
[
|
||||
dnl Prerequisites of lib/readtokens.c.
|
||||
:
|
||||
])
|
||||
|
||||
# readutmp.m4 serial 3
|
||||
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
@@ -4970,11 +5039,10 @@ $ac_includes_default
|
||||
# Prerequisites of lib/readutmp.c.
|
||||
AC_DEFUN([gl_PREREQ_READUTMP],
|
||||
[
|
||||
AC_REQUIRE([AC_HEADER_STDC])
|
||||
AC_CHECK_HEADERS_ONCE(string.h)
|
||||
:
|
||||
])
|
||||
|
||||
#serial 19
|
||||
#serial 20
|
||||
|
||||
dnl Initially derived from code in GNU grep.
|
||||
dnl Mostly written by Jim Meyering.
|
||||
@@ -5089,7 +5157,7 @@ AC_DEFUN([jm_PREREQ_REGEX],
|
||||
AC_REQUIRE([gl_C_RESTRICT])
|
||||
AC_REQUIRE([AC_FUNC_ALLOCA])
|
||||
AC_REQUIRE([AC_HEADER_STDC])
|
||||
AC_CHECK_HEADERS_ONCE(limits.h string.h wchar.h wctype.h)
|
||||
AC_CHECK_HEADERS_ONCE(wchar.h wctype.h)
|
||||
AC_CHECK_FUNCS_ONCE(isascii mempcpy)
|
||||
AC_CHECK_FUNCS(btowc)
|
||||
])
|
||||
@@ -5197,8 +5265,8 @@ AC_DEFUN([gl_SAVEDIR],
|
||||
AC_REQUIRE([AC_FUNC_CLOSEDIR_VOID])
|
||||
])
|
||||
|
||||
# save-cwd.m4 serial 1
|
||||
dnl Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
# save-cwd.m4 serial 2
|
||||
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
dnl Public License, this file may be distributed as part of a program
|
||||
@@ -5208,7 +5276,6 @@ dnl the same distribution terms as the rest of that program.
|
||||
AC_DEFUN([gl_SAVE_CWD],
|
||||
[
|
||||
dnl Prerequisites for lib/save-cwd.c.
|
||||
AC_REQUIRE([AC_HEADER_STDC])
|
||||
AC_CHECK_HEADERS_ONCE(fcntl.h unistd.h)
|
||||
AC_CHECK_FUNCS(fchdir)
|
||||
])
|
||||
@@ -5407,8 +5474,8 @@ AC_DEFUN([AC_STRUCT_ST_MTIM_NSEC],
|
||||
]
|
||||
)
|
||||
|
||||
# unicodeio.m4 serial 1
|
||||
dnl Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
# unicodeio.m4 serial 2
|
||||
dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
dnl Public License, this file may be distributed as part of a program
|
||||
@@ -5417,8 +5484,8 @@ dnl the same distribution terms as the rest of that program.
|
||||
|
||||
AC_DEFUN([gl_UNICODEIO],
|
||||
[
|
||||
dnl Prerequisites of lib/unicodeio.c.
|
||||
AC_CHECK_HEADERS_ONCE(string.h)
|
||||
dnl No prerequisites of lib/unicodeio.c.
|
||||
:
|
||||
])
|
||||
|
||||
# unistd-safer.m4 serial 1
|
||||
@@ -5439,7 +5506,7 @@ AC_DEFUN([gl_PREREQ_DUP_SAFER], [
|
||||
AC_CHECK_HEADERS_ONCE(fcntl.h unistd.h)
|
||||
])
|
||||
|
||||
# userspec.m4 serial 2
|
||||
# userspec.m4 serial 3
|
||||
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
@@ -5450,9 +5517,8 @@ dnl the same distribution terms as the rest of that program.
|
||||
AC_DEFUN([gl_USERSPEC],
|
||||
[
|
||||
dnl Prerequisites of lib/userspec.c.
|
||||
AC_REQUIRE([AC_HEADER_STDC])
|
||||
AC_REQUIRE([AC_FUNC_ALLOCA])
|
||||
AC_CHECK_HEADERS_ONCE(string.h sys/param.h unistd.h)
|
||||
AC_CHECK_HEADERS_ONCE(sys/param.h unistd.h)
|
||||
])
|
||||
|
||||
dnl Copyright (C) 2003 Free Software Foundation, Inc.
|
||||
@@ -5518,8 +5584,8 @@ main ()
|
||||
fi
|
||||
])
|
||||
|
||||
# xalloc.m4 serial 1
|
||||
dnl Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
# xalloc.m4 serial 3
|
||||
dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
dnl Public License, this file may be distributed as part of a program
|
||||
@@ -5534,15 +5600,13 @@ AC_DEFUN([gl_XALLOC],
|
||||
|
||||
# Prerequisites of lib/xmalloc.c.
|
||||
AC_DEFUN([gl_PREREQ_XMALLOC], [
|
||||
AC_REQUIRE([AC_HEADER_STDC])
|
||||
AC_REQUIRE([jm_FUNC_MALLOC])
|
||||
AC_REQUIRE([jm_FUNC_REALLOC])
|
||||
])
|
||||
|
||||
# Prerequisites of lib/xstrdup.c.
|
||||
AC_DEFUN([gl_PREREQ_XSTRDUP], [
|
||||
AC_REQUIRE([AC_HEADER_STDC])
|
||||
AC_CHECK_HEADERS_ONCE(string.h)
|
||||
:
|
||||
])
|
||||
|
||||
# malloc.m4 serial 7
|
||||
@@ -5597,8 +5661,8 @@ AC_DEFUN([gl_PREREQ_REALLOC], [
|
||||
:
|
||||
])
|
||||
|
||||
# xgetcwd.m4 serial 1
|
||||
dnl Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
# xgetcwd.m4 serial 2
|
||||
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
dnl Public License, this file may be distributed as part of a program
|
||||
@@ -5608,14 +5672,14 @@ dnl the same distribution terms as the rest of that program.
|
||||
AC_DEFUN([gl_XGETCWD],
|
||||
[
|
||||
dnl Prerequisites of lib/xgetcwd.c.
|
||||
AC_CHECK_HEADERS_ONCE(stdlib.h unistd.h)
|
||||
AC_CHECK_HEADERS_ONCE(unistd.h)
|
||||
AC_CHECK_FUNCS(getcwd)
|
||||
AC_FUNC_GETCWD_NULL
|
||||
])
|
||||
|
||||
# getcwd.m4 - check whether getcwd (NULL, 0) allocates memory for result
|
||||
|
||||
# Copyright 2001 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -5635,14 +5699,12 @@ AC_DEFUN([gl_XGETCWD],
|
||||
|
||||
AC_DEFUN([AC_FUNC_GETCWD_NULL],
|
||||
[
|
||||
AC_CHECK_HEADERS_ONCE(stdlib.h unistd.h)
|
||||
AC_CHECK_HEADERS_ONCE(unistd.h)
|
||||
AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result],
|
||||
[ac_cv_func_getcwd_null],
|
||||
[AC_TRY_RUN(
|
||||
[
|
||||
# ifdef HAVE_STDLIB_H
|
||||
# include <stdlib.h>
|
||||
# endif
|
||||
# include <stdlib.h>
|
||||
# ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
# endif
|
||||
@@ -5668,7 +5730,7 @@ AC_DEFUN([AC_FUNC_GETCWD_NULL],
|
||||
[Define if getcwd (NULL, 0) allocates memory for result.])
|
||||
fi])
|
||||
|
||||
# xreadlink.m4 serial 3
|
||||
# xreadlink.m4 serial 4
|
||||
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
@@ -5680,11 +5742,11 @@ AC_DEFUN([gl_XREADLINK],
|
||||
[
|
||||
dnl Prerequisites of lib/xreadlink.c.
|
||||
AC_REQUIRE([gt_TYPE_SSIZE_T])
|
||||
AC_CHECK_HEADERS_ONCE(stdlib.h unistd.h)
|
||||
AC_CHECK_HEADERS_ONCE(unistd.h)
|
||||
])
|
||||
|
||||
# xstrtod.m4 serial 1
|
||||
dnl Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
# xstrtod.m4 serial 2
|
||||
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
dnl Public License, this file may be distributed as part of a program
|
||||
@@ -5694,10 +5756,10 @@ dnl the same distribution terms as the rest of that program.
|
||||
# Prerequisites of lib/xstrtod.c.
|
||||
AC_DEFUN([gl_XSTRTOD],
|
||||
[
|
||||
AC_REQUIRE([AC_HEADER_STDC])
|
||||
:
|
||||
])
|
||||
|
||||
# xstrtol.m4 serial 2
|
||||
# xstrtol.m4 serial 3
|
||||
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
@@ -5723,9 +5785,7 @@ AC_DEFUN([gl_PREREQ_XSTRTOL],
|
||||
[
|
||||
AC_REQUIRE([gl_PREREQ_XSTRTOL_H])
|
||||
AC_REQUIRE([AC_HEADER_STDC])
|
||||
AC_CHECK_HEADERS_ONCE(string.h)
|
||||
AC_CHECK_FUNCS_ONCE(isascii)
|
||||
AC_CHECK_DECLS_ONCE(strtol strtoul)
|
||||
AC_CHECK_DECLS([strtoimax, strtoumax])
|
||||
])
|
||||
|
||||
@@ -5735,8 +5795,8 @@ AC_DEFUN([gl_PREREQ_XSTRTOUL],
|
||||
AC_REQUIRE([gl_PREREQ_XSTRTOL])
|
||||
])
|
||||
|
||||
# yesno.m4 serial 1
|
||||
dnl Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
# yesno.m4 serial 2
|
||||
dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
dnl Public License, this file may be distributed as part of a program
|
||||
@@ -5745,8 +5805,8 @@ dnl the same distribution terms as the rest of that program.
|
||||
|
||||
AC_DEFUN([gl_YESNO],
|
||||
[
|
||||
dnl Prerequisites of lib/yesno.c.
|
||||
AC_CHECK_HEADERS_ONCE(stdlib.h)
|
||||
dnl No prerequisites of lib/yesno.c.
|
||||
:
|
||||
])
|
||||
|
||||
#serial 8 -*- autoconf -*-
|
||||
@@ -5772,7 +5832,7 @@ AC_DEFUN([jm_FUNC_GLIBC_UNLOCKED_IO],
|
||||
getchar_unlocked putc_unlocked putchar_unlocked])
|
||||
])
|
||||
|
||||
#serial 20
|
||||
#serial 21
|
||||
|
||||
dnl This macro is intended to be used solely in this file.
|
||||
dnl These are the prerequisite macros for GNU's strftime.c replacement.
|
||||
@@ -5781,9 +5841,8 @@ AC_DEFUN([_jm_STRFTIME_PREREQS],
|
||||
dnl strftime.c uses the underyling system strftime if it exists.
|
||||
AC_FUNC_STRFTIME
|
||||
|
||||
AC_CHECK_HEADERS_ONCE(limits.h)
|
||||
AC_CHECK_FUNCS_ONCE(memcpy mempcpy)
|
||||
AC_CHECK_FUNCS(tzset memset)
|
||||
AC_CHECK_FUNCS_ONCE(mempcpy)
|
||||
AC_CHECK_FUNCS(tzset)
|
||||
|
||||
# This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
|
||||
AC_STRUCT_TIMEZONE
|
||||
@@ -5803,7 +5862,6 @@ AC_DEFUN([jm_FUNC_GNU_STRFTIME],
|
||||
_jm_STRFTIME_PREREQS
|
||||
|
||||
AC_REQUIRE([AC_C_CONST])dnl
|
||||
AC_REQUIRE([AC_HEADER_STDC])dnl
|
||||
AC_CHECK_HEADERS_ONCE(sys/time.h)
|
||||
AC_DEFINE([my_strftime], [nstrftime],
|
||||
[Define to the name of the strftime replacement function.])
|
||||
@@ -5877,7 +5935,7 @@ main ()
|
||||
fi
|
||||
])
|
||||
|
||||
#serial 4
|
||||
#serial 5
|
||||
|
||||
dnl From Jim Meyering.
|
||||
dnl
|
||||
@@ -5891,14 +5949,11 @@ dnl the wrapper functions that work around the problem.
|
||||
AC_DEFUN([AC_FUNC_GETTIMEOFDAY_CLOBBER],
|
||||
[
|
||||
AC_REQUIRE([AC_HEADER_TIME])
|
||||
AC_CHECK_HEADERS_ONCE(stdlib.h string.h)
|
||||
AC_CACHE_CHECK([whether gettimeofday clobbers localtime buffer],
|
||||
jm_cv_func_gettimeofday_clobber,
|
||||
[AC_TRY_RUN([
|
||||
#include <stdio.h>
|
||||
#if HAVE_STRING_H
|
||||
# include <string.h>
|
||||
#endif
|
||||
#include <string.h>
|
||||
|
||||
#if TIME_WITH_SYS_TIME
|
||||
# include <sys/time.h>
|
||||
@@ -5911,9 +5966,7 @@ AC_DEFUN([AC_FUNC_GETTIMEOFDAY_CLOBBER],
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if HAVE_STDLIB_H
|
||||
# include <stdlib.h>
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
|
||||
int
|
||||
main ()
|
||||
@@ -5960,7 +6013,7 @@ AC_DEFUN([gl_PREREQ_GETTIMEOFDAY], [
|
||||
AC_REQUIRE([AC_HEADER_TIME])
|
||||
])
|
||||
|
||||
#serial 9
|
||||
#serial 10
|
||||
|
||||
dnl From Jim Meyering.
|
||||
dnl Determine whether lstat has the bug that it succeeds when given the
|
||||
@@ -5984,8 +6037,7 @@ AC_DEFUN([jm_FUNC_LSTAT],
|
||||
AC_DEFUN([gl_PREREQ_LSTAT],
|
||||
[
|
||||
AC_REQUIRE([AC_HEADER_STAT])
|
||||
AC_CHECK_HEADERS_ONCE(stdlib.h)
|
||||
AC_CHECK_DECLS_ONCE(free)
|
||||
:
|
||||
])
|
||||
|
||||
# memcmp.m4 serial 9
|
||||
@@ -6229,7 +6281,7 @@ AC_DEFUN([jm_XSTRTOUMAX],
|
||||
AC_REQUIRE([gl_PREREQ_XSTRTOL])
|
||||
])
|
||||
|
||||
#serial 5
|
||||
#serial 6
|
||||
|
||||
dnl From Volker Borchert.
|
||||
dnl Determine whether rename works for source paths with a trailing slash.
|
||||
@@ -6274,11 +6326,7 @@ AC_DEFUN([vb_FUNC_RENAME],
|
||||
])
|
||||
|
||||
# Prerequisites of lib/rename.c.
|
||||
AC_DEFUN([gl_PREREQ_RENAME],
|
||||
[
|
||||
AC_CHECK_HEADERS_ONCE(stdlib.h string.h)
|
||||
AC_CHECK_DECLS_ONCE(free)
|
||||
])
|
||||
AC_DEFUN([gl_PREREQ_RENAME], [:])
|
||||
|
||||
#serial 6
|
||||
|
||||
@@ -6579,20 +6627,6 @@ AC_DEFUN([gl_PREREQ_GROUP_MEMBER],
|
||||
AC_REQUIRE([AC_FUNC_GETGROUPS])
|
||||
])
|
||||
|
||||
#serial 5
|
||||
|
||||
AC_DEFUN([jm_AFS],
|
||||
[
|
||||
AC_MSG_CHECKING(for AFS)
|
||||
if test -d /afs; then
|
||||
AC_DEFINE(AFS, 1, [Define if you have the Andrew File System.])
|
||||
ac_result=yes
|
||||
else
|
||||
ac_result=no
|
||||
fi
|
||||
AC_MSG_RESULT($ac_result)
|
||||
])
|
||||
|
||||
#serial 3
|
||||
dnl Run a program to determine whether whether link(2) follows symlinks.
|
||||
dnl Set LINK_FOLLOWS_SYMLINKS accordingly.
|
||||
@@ -7032,7 +7066,7 @@ main ()
|
||||
fi
|
||||
])
|
||||
|
||||
#serial 6
|
||||
#serial 7
|
||||
|
||||
dnl SunOS's readdir is broken in such a way that rm.c has to add extra code
|
||||
dnl to test whether a NULL return value really means there are no more files
|
||||
@@ -7052,7 +7086,6 @@ dnl Written by Jim Meyering.
|
||||
AC_DEFUN([GL_FUNC_READDIR],
|
||||
[dnl
|
||||
AC_REQUIRE([AC_HEADER_DIRENT])
|
||||
AC_CHECK_HEADERS_ONCE(string.h)
|
||||
AC_CACHE_CHECK([for working readdir], gl_cv_func_working_readdir,
|
||||
[dnl
|
||||
# Arrange for deletion of the temporary directory this test creates, in
|
||||
@@ -7062,9 +7095,7 @@ AC_CACHE_CHECK([for working readdir], gl_cv_func_working_readdir,
|
||||
AC_TRY_RUN(
|
||||
[# include <stdio.h>
|
||||
# include <sys/types.h>
|
||||
# if HAVE_STRING_H
|
||||
# include <string.h>
|
||||
# endif
|
||||
# include <string.h>
|
||||
|
||||
# ifdef HAVE_DIRENT_H
|
||||
# include <dirent.h>
|
||||
|
||||
-10
@@ -275,10 +275,6 @@
|
||||
don't. */
|
||||
#undef HAVE_DECL_STRTOIMAX
|
||||
|
||||
/* Define to 1 if you have the declaration of `strtol', and to 0 if you don't.
|
||||
*/
|
||||
#undef HAVE_DECL_STRTOL
|
||||
|
||||
/* Define to 1 if you have the declaration of `strtoll', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_STRTOLL
|
||||
@@ -326,9 +322,6 @@
|
||||
/* Define to 1 if you have the `dirfd' function. */
|
||||
#undef HAVE_DIRFD
|
||||
|
||||
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
|
||||
#undef HAVE_DOPRNT
|
||||
|
||||
/* Define to 1 if you have the `dup2' function. */
|
||||
#undef HAVE_DUP2
|
||||
|
||||
@@ -1087,9 +1080,6 @@
|
||||
/* Define to 1 if you have the `vasprintf' function. */
|
||||
#undef HAVE_VASPRINTF
|
||||
|
||||
/* Define to 1 if you have the `vprintf' function. */
|
||||
#undef HAVE_VPRINTF
|
||||
|
||||
/* Define to 1 if you have the <wchar.h> header file. */
|
||||
#undef HAVE_WCHAR_H
|
||||
|
||||
|
||||
+3
-3
@@ -189,7 +189,7 @@ ASSORT = LC_ALL=C sort
|
||||
programs = \
|
||||
echo 'spy:;@echo $$(all_programs)' \
|
||||
| MAKEFLAGS= $(MAKE) -s -C ../src -f Makefile -f - spy \
|
||||
| fmt -1 | $(ASSORT) -u | grep -v '\['
|
||||
| ../src/tr -s ' ' '\n' | $(ASSORT) -u | grep -v '\['
|
||||
|
||||
subdir = man
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
@@ -502,8 +502,8 @@ check-x-vs-1:
|
||||
PATH=../src$(PATH_SEPARATOR)$$PATH; export PATH; \
|
||||
t=ls-files.$$$$; \
|
||||
(cd $(srcdir) && ls -1 *.x) | sed 's/\.x$$//' | $(ASSORT) > $$t;\
|
||||
echo $(dist_man_MANS) | fmt -w1 | sed 's/\.1$$//' | $(ASSORT) \
|
||||
| diff - $$t || { rm $$t; exit 1; }; \
|
||||
echo $(dist_man_MANS) | tr -s ' ' '\n' | sed 's/\.1$$//' \
|
||||
| $(ASSORT) | diff - $$t || { rm $$t; exit 1; }; \
|
||||
rm $$t
|
||||
|
||||
.PHONY: check-programs-vs-x
|
||||
|
||||
+1
-1
@@ -160,7 +160,7 @@ ASSORT = LC_ALL=C sort
|
||||
all_programs = \
|
||||
echo 'spy:;@echo $$(all_programs)' \
|
||||
| MAKEFLAGS= $(MAKE) -s -C ../src -f Makefile -f - spy \
|
||||
| fmt -1 | $(ASSORT) -u
|
||||
| ../src/tr -s ' ' '\n' | $(ASSORT) -u
|
||||
|
||||
|
||||
TESTS = help-version
|
||||
|
||||
Reference in New Issue
Block a user