From 3686497f31ac9f548f6f3aa5d4418a96fe564497 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 21 May 2007 18:42:56 -0700 Subject: Remove old Imake checks now that we always build with autoconf --- xinit.c | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'xinit.c') diff --git a/xinit.c b/xinit.c index 0fe6863..46dee54 100644 --- a/xinit.c +++ b/xinit.c @@ -85,14 +85,14 @@ char **newenvironlast = NULL; #define SHELL "sh" #endif -#if !defined(HAS_VFORK) /* Imake */ && !defined(HAVE_WORKING_VFORK) /* autoconf*/ -#ifndef vfork -#define vfork() fork() -#endif +#ifndef HAVE_WORKING_VFORK +# ifndef vfork +# define vfork() fork() +# endif #else -#if (defined(sun) && !defined(SVR4)) || defined(HAVE_VFORK_H) -#include -#endif +# ifdef HAVE_VFORK_H +# include +# endif #endif /* A/UX setpgid incorrectly removes the controlling terminal. @@ -195,12 +195,6 @@ static void Error ( char *fmt, ... ); #ifdef RETSIGTYPE /* autoconf AC_TYPE_SIGNAL */ # define SIGVAL RETSIGTYPE -#else /* Imake */ -#ifdef SIGNALRETURNSINT -#define SIGVAL int -#else -#define SIGVAL void -#endif #endif /* RETSIGTYPE */ static SIGVAL -- cgit v1.2.3