]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdbsupport: use AC_FUNC_FORK instead of AC_FUNC_VFORK
authorSimon Marchi <simon.marchi@polymtl.ca>
Sat, 31 Oct 2020 12:31:00 +0000 (08:31 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sat, 31 Oct 2020 12:31:00 +0000 (08:31 -0400)
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

gdbsupport/ChangeLog
gdbsupport/common.m4

index 1f4f4a2b4c68c821c934ce0140213c8d2326d0c2..2532a3973a73a5119d4b1cadd7d22a5c2a6d74fd 100644 (file)
@@ -1,3 +1,7 @@
+2020-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * common.m4: Replace AC_FUNC_VFORK with AC_FUNC_FORK.
+
 2020-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
 
        * configure: Re-generate.
index 2b5750e81d1f855f46c9f0cb65a43823552b1220..c265a9b94222821cd97fb865e65ed2413bd2f1f5 100644 (file)
@@ -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])