X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=m4%2Fspawn_h.m4;h=22511c7026cd51315ebb8761abd390ae875c9333;hb=8308b9eb6f9aac709f37c0ef5bd136ec9effe0ad;hp=fb789f01e1cb069f918d2681ee5a2df4da465350;hpb=4004be01b47284e84aa0533a290c4d1a6908312e;p=gnulib.git diff --git a/m4/spawn_h.m4 b/m4/spawn_h.m4 index fb789f01e..22511c702 100644 --- a/m4/spawn_h.m4 +++ b/m4/spawn_h.m4 @@ -1,4 +1,4 @@ -# spawn_h.m4 serial 7 +# spawn_h.m4 serial 8 dnl Copyright (C) 2008-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -33,6 +33,11 @@ AC_DEFUN([gl_SPAWN_H], fi AC_SUBST([HAVE_SPAWN_H]) + AC_CHECK_FUNCS_ONCE([posix_spawn]) + if test $ac_cv_func_posix_spawn != yes; then + HAVE_POSIX_SPAWN=0 + fi + AC_REQUIRE([AC_C_RESTRICT]) dnl Check for declarations of anything we want to poison if the