mirror of
git://git.sv.gnu.org/autoconf
synced 2024-12-27 02:39:00 +08:00
4ce12bf79e
(_AC_FUNC_VFORK): this. Remove AC_DEFINEs and don't guess cross-compilation values. (_AC_FUNC_FORK): New, check whether fork() isn't just a stub. (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if vfork doesn't work. Guess values if cross-compiling, but warn. * acfunctions: Add AC_FUNC_FORK. * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define and vfork appropriately.
179 lines
2.9 KiB
Plaintext
179 lines
2.9 KiB
Plaintext
# acfunctions -- autoscan's mapping from functions to Autoconf macros
|
|
# Copyright 1992, 1993, 1994, 1996, 1999, 2000, 2001
|
|
# 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
|
|
# the Free Software Foundation; either version 2, or (at your option)
|
|
# any later version.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
# 02111-1307, USA.
|
|
|
|
# Ones that have their own macros.
|
|
alloca AC_FUNC_ALLOCA
|
|
bcmp AC_HEADER_STDC
|
|
bcopy AC_HEADER_STDC
|
|
bzero AC_HEADER_STDC
|
|
chown AC_FUNC_CHOWN
|
|
error AC_FUNC_ERROR_AT_LINE
|
|
error_at_line AC_FUNC_ERROR_AT_LINE
|
|
fnmatch AC_FUNC_FNMATCH
|
|
fork AC_FUNC_FORK
|
|
fseeko AC_FUNC_FSEEKO
|
|
ftello AC_FUNC_FSEEKO
|
|
getgroups AC_FUNC_GETGROUPS
|
|
getloadavg AC_FUNC_GETLOADAVG
|
|
getpgrp AC_FUNC_GETPGRP
|
|
index AC_HEADER_STDC
|
|
ioctl AC_PROG_GCC_TRADITIONAL
|
|
lstat AC_FUNC_LSTAT
|
|
major AC_HEADER_MAJOR
|
|
malloc AC_FUNC_MALLOC
|
|
makedev AC_HEADER_MAJOR
|
|
memchr AC_HEADER_STDC
|
|
memcmp AC_FUNC_MEMCMP
|
|
memcpy AC_HEADER_STDC
|
|
memmove AC_HEADER_STDC
|
|
memset AC_HEADER_STDC
|
|
minor AC_HEADER_MAJOR
|
|
mktime AC_FUNC_MKTIME
|
|
mmap AC_FUNC_MMAP
|
|
obstack_init AC_FUNC_OBSTACK
|
|
rindex AC_HEADER_STDC
|
|
setpgrp AC_FUNC_SETPGRP
|
|
setvbuf AC_FUNC_SETVBUF_REVERSED
|
|
signal AC_TYPE_SIGNAL
|
|
stat AC_FUNC_STAT
|
|
strcoll AC_FUNC_STRCOLL
|
|
strerror_r AC_FUNC_STRERROR_R
|
|
strftime AC_FUNC_STRFTIME
|
|
strtod AC_FUNC_STRTOD
|
|
utime AC_FUNC_UTIME_NULL
|
|
vfork AC_FUNC_FORK
|
|
vfprintf AC_FUNC_VPRINTF
|
|
vprintf AC_FUNC_VPRINTF
|
|
vsprintf AC_FUNC_VPRINTF
|
|
wait3 AC_FUNC_WAIT3
|
|
|
|
# Others, checked with AC_CHECK_FUNCS.
|
|
__argz_count
|
|
__argz_next
|
|
__argz_stringify
|
|
__fpending
|
|
acl
|
|
alarm
|
|
atexit
|
|
btowc
|
|
bzero
|
|
clock_gettime
|
|
dcgettext
|
|
doprnt
|
|
dup2
|
|
endgrent
|
|
endpwent
|
|
euidaccess
|
|
fchdir
|
|
fdatasync
|
|
fesetround
|
|
floor
|
|
fs_stat_dev
|
|
fseeko
|
|
ftime
|
|
ftruncate
|
|
getcwd
|
|
getdelim
|
|
getgroups
|
|
gethostbyaddr
|
|
gethostbyname
|
|
gethostname
|
|
gethrtime
|
|
getloadavg
|
|
getmntent
|
|
getmntinfo
|
|
getpagesize
|
|
getpass
|
|
getspnam
|
|
gettimeofday
|
|
getusershell
|
|
getwd
|
|
hasmntopt
|
|
inet_ntoa
|
|
isascii
|
|
iswprint
|
|
lchown
|
|
listmntent
|
|
localeconv
|
|
localtime_r
|
|
mblen
|
|
mbrlen
|
|
mbrtowc
|
|
memchr
|
|
memmove
|
|
mempcpy
|
|
memset
|
|
mkdir
|
|
mkfifo
|
|
modf
|
|
munmap
|
|
next_dev
|
|
nl_langinfo
|
|
pathconf
|
|
pow
|
|
pstat_getdynamic
|
|
putenv
|
|
re_comp
|
|
realpath
|
|
regcmp
|
|
regcomp
|
|
resolvepath
|
|
rint
|
|
rmdir
|
|
rpmatch
|
|
select
|
|
setenv
|
|
sethostname
|
|
setlocale
|
|
socket
|
|
sqrt
|
|
stime
|
|
stpcpy
|
|
strcasecmp
|
|
strchr
|
|
strcspn
|
|
strdup
|
|
strerror
|
|
strftime
|
|
strncasecmp
|
|
strndup
|
|
strnlen
|
|
strpbrk
|
|
strrchr
|
|
strspn
|
|
strstr
|
|
strtod
|
|
strtol
|
|
strtoul
|
|
strtoull
|
|
strtoumax
|
|
strverscmp
|
|
sysinfo
|
|
tzset
|
|
uname
|
|
utime
|
|
utmpname
|
|
utmpxname
|
|
vprintf
|
|
wcwidth
|
|
|
|
# Local Variables:
|
|
# mode: shell-script
|
|
# End:
|