summaryrefslogtreecommitdiff
path: root/xinit.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-05-21 18:42:56 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-05-21 18:42:56 -0700
commit3686497f31ac9f548f6f3aa5d4418a96fe564497 (patch)
treed5ac98c7f43fbcf48681fa6746e4638c71185ade /xinit.c
parentd5b726c2dbc22b6fd9623604e9252aaef30c387c (diff)
downloadxorg-app-xinit-3686497f31ac9f548f6f3aa5d4418a96fe564497.tar.gz
Remove old Imake checks now that we always build with autoconf
Diffstat (limited to 'xinit.c')
-rw-r--r--xinit.c20
1 files changed, 7 insertions, 13 deletions
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 <vfork.h>
-#endif
+# ifdef HAVE_VFORK_H
+# include <vfork.h>
+# 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