summaryrefslogtreecommitdiff
path: root/gdbsupport/common.m4
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2020-10-31 08:31:00 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2020-10-31 08:31:00 -0400
commit15dabc52a1a2552e77432f920fd3f501f92bcf4f (patch)
tree82d7accb546d693fd7880bdaf69e7c5308507a96 /gdbsupport/common.m4
parent864ca435655273c773055213f033ba621a9f9b17 (diff)
downloadbinutils-gdb-15dabc52a1a2552e77432f920fd3f501f92bcf4f.tar.gz
gdbsupport: use AC_FUNC_FORK instead of AC_FUNC_VFORK
autoupdate does this change, it fixes this warning: configure.ac:50: warning: The macro `AC_FUNC_VFORK' is obsolete. configure.ac:50: You should run autoupdate. ../../lib/autoconf/functions.m4:1944: AC_FUNC_VFORK is expanded from... common.m4:20: GDB_AC_COMMON is expanded from... configure.ac:50: the top level There are not changes in the generated configure files. gdbsupport/ChangeLog: * common.m4: Replace AC_FUNC_VFORK with AC_FUNC_FORK. Change-Id: I9de9f718c57e6d51c9734161f36c36ce39170325
Diffstat (limited to 'gdbsupport/common.m4')
-rw-r--r--gdbsupport/common.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbsupport/common.m4 b/gdbsupport/common.m4
index 2b5750e81d1..c265a9b9422 100644
--- a/gdbsupport/common.m4
+++ b/gdbsupport/common.m4
@@ -50,7 +50,7 @@ AC_DEFUN([GDB_AC_COMMON], [
poll.h sys/poll.h sys/select.h)
AC_FUNC_MMAP
- AC_FUNC_VFORK
+ AC_FUNC_FORK
AC_CHECK_FUNCS([fdwalk getrlimit pipe pipe2 poll socketpair sigaction \
ptrace64 sbrk setns sigaltstack sigprocmask \
setpgid setpgrp getrusage getauxval])