From: Simon Marchi Date: Sat, 31 Oct 2020 12:31:00 +0000 (-0400) Subject: gdbsupport: use AC_FUNC_FORK instead of AC_FUNC_VFORK X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15dabc52a1a2552e77432f920fd3f501f92bcf4f;p=binutils-gdb.git 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 --- diff --git a/gdbsupport/ChangeLog b/gdbsupport/ChangeLog index 1f4f4a2b4c6..2532a3973a7 100644 --- a/gdbsupport/ChangeLog +++ b/gdbsupport/ChangeLog @@ -1,3 +1,7 @@ +2020-10-31 Simon Marchi + + * common.m4: Replace AC_FUNC_VFORK with AC_FUNC_FORK. + 2020-10-31 Simon Marchi * configure: Re-generate. 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])