aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport
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
parent864ca435655273c773055213f033ba621a9f9b17 (diff)
downloadgdb-15dabc52a1a2552e77432f920fd3f501f92bcf4f.zip
gdb-15dabc52a1a2552e77432f920fd3f501f92bcf4f.tar.gz
gdb-15dabc52a1a2552e77432f920fd3f501f92bcf4f.tar.bz2
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')
-rw-r--r--gdbsupport/ChangeLog4
-rw-r--r--gdbsupport/common.m42
2 files changed, 5 insertions, 1 deletions
diff --git a/gdbsupport/ChangeLog b/gdbsupport/ChangeLog
index 1f4f4a2..2532a39 100644
--- a/gdbsupport/ChangeLog
+++ b/gdbsupport/ChangeLog
@@ -1,5 +1,9 @@
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.
* warning.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
AC_LANG_PROGRAM.
diff --git a/gdbsupport/common.m4 b/gdbsupport/common.m4
index 2b5750e..c265a9b 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])