bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #63070] posix_spawn fails to run a child process.


From: Dmitry Goncharov
Subject: [bug #63070] posix_spawn fails to run a child process.
Date: Sun, 18 Sep 2022 19:32:54 -0400 (EDT)

Follow-up Comment #8, bug #63070 (project make):

However, maybe we should also define _GNU_SOURCE in the configure check before
including #include <spawn.h>.
Something like

++++
index ec8b4c13..38418142 100644
--- a/configure.ac
+++ b/configure.ac
@@ -369,6 +369,7 @@ AS_IF([test "$make_cv_posix_spawn" = yes],
     [make_cv_synchronous_posix_spawn],
     [make_cv_synchronous_posix_spawn=no
      AC_RUN_IFELSE([AC_LANG_SOURCE([[
+       #define _GNU_SOURCE 1
        #include <spawn.h>
        #include <string.h>
----


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63070>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]