[PATCH xinit 06/14] killpg(2) is in Unix98

Mikhail Gusarov dottedmag at dottedmag.net
Tue Apr 13 13:03:21 PDT 2010


Signed-off-by: Mikhail Gusarov <dottedmag at dottedmag.net>
---
 configure.ac |    2 --
 xinit.c      |    4 ----
 2 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/configure.ac b/configure.ac
index cec5d31..0ead99d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,8 +42,6 @@ AC_CANONICAL_HOST
 
 AC_TYPE_SIGNAL
 
-AC_CHECK_FUNCS([killpg])
-
 m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))])
 
 
diff --git a/xinit.c b/xinit.c
index ead06a9..311c279 100644
--- a/xinit.c
+++ b/xinit.c
@@ -629,10 +629,6 @@ startClient(char *client[])
     }
 }
 
-#ifndef HAVE_KILLPG
-#define killpg(pgrp, sig) kill(-(pgrp), sig)
-#endif
-
 static jmp_buf close_env;
 
 static int
-- 
1.7.0



More information about the xorg-devel mailing list