From xemacs-m  Thu Jan  2 16:26:36 1997
Received: from sol1.cybernet-ag.net (sol1.cybernet-ag.net [194.221.86.98])
          by xemacs.cs.uiuc.edu (8.8.4/8.8.4) with ESMTP
	  id QAA07401 for <xemacs-beta@xemacs.org>; Thu, 2 Jan 1997 16:26:35 -0600 (CST)
Received: (from aseibert@localhost) by sol1.cybernet-ag.net  id XAA15880; Thu, 2 Jan 1997 23:26:10 +0100 (MET)
Date: Thu, 2 Jan 1997 23:26:10 +0100 (MET)
Message-Id: <199701022226.XAA15880@sol1.cybernet-ag.net>
From: Axel Seibert <aseibert@cybernet-ag.net>
To: xemacs-beta@xemacs.org
Subject: patches to syssignal.h, next.h and nextstep.h

I tried to tidy a bit up in the two files; as time got short I didn't
have the time to really test it; but I guess, there aren't too many of
us NEXTSTEP'ler out there any more...

I'm still trying to work out why configure messes up a few things.

Axel

diff -c syssignal.h.orig syssignal.h
*** syssignal.h.orig    Thu Jan  2 23:21:25 1997
--- syssignal.h Wed Jan  1 18:23:58 1997
***************
*** 88,94 ****
--- 88,96 ----
     the risk of someone forgetting this convention and calling
     signal() directly. */
  
+ #ifndef NeXT 
  typedef SIGTYPE (*signal_handler_t) (int);
+ #endif
  
  #if defined (HAVE_SIGPROCMASK)
  
diff -c nextstep.h.orig nextstep.h
*** nextstep.h.orig     Wed Jan  1 17:41:55 1997
--- nextstep.h  Thu Jan  2 22:58:02 1997
***************
*** 113,121 ****
  /* The following are glommed from the hp9000s800.h file */
  #define STACK_DIRECTION 1
  #endif
! /* Axel Seibert <seibert@leo.org> says the following is necessary
due
!    to configure problems. */
! #undef REL_ALLOC
  #undef SYSV_SYSTEM_DIR
  #undef NONSYSTEM_DIR_LIBRARY
  #define signal_handler_t int
--- 113,119 ----
  /* The following are glommed from the hp9000s800.h file */
  #define STACK_DIRECTION 1
  #endif
! 
  #undef SYSV_SYSTEM_DIR
  #undef NONSYSTEM_DIR_LIBRARY
  #define signal_handler_t int
***************
*** 123,129 ****
  #undef BSD_TERMIOS
  #undef HAVE_TERMIOS
  #undef HAVE_TERMIO
- #undef HAVE_MMAP
  #define NO_TERMIO
  #define TAB3 XTABS
  #define C_OPTIMIZE_SWITCH -pipe
--- 121,126 ----
diff -c next.h.orig next.h
*** next.h.orig	Wed Jan  1 17:36:25 1997
--- next.h	Wed Jan  1 17:43:30 1997
***************
*** 35,48 ****
  
  #define EXPLICIT_SIGN_EXTEND
  
- /* Data type of load average, as read out of kmem.  */
- 
- #define LOAD_AVE_TYPE long
- 
- /* Convert that into an integer that is 100 for a load average of
1.0  */
- 
- #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
- 
  /* Say that the text segment of a.out includes the header;
     the header actually occupies the first few bytes of the text
segment
     and is counted in hdr.a_text.  */
--- 35,40 ----
***************
*** 54,63 ****
  #define SEGSIZ 0x20000
  #define SEGMENT_MASK (SEGSIZ - 1)
  
- #define HAVE_ALLOCA
- 
- #define SYSTEM_MALLOC
- 
  #define HAVE_UNIX_DOMAIN
  
  #define LIB_X11_LIB -L/usr/lib/X11 -lX11
--- 46,51 ----
***************
*** 108,141 ****
   */
  typedef unsigned short mode_t;
  #endif /* ! NOT_C_CODE */
- 
- #ifdef hppa
- /* The following are glommed from the hp9000s800.h file */
- 
- #define STACK_DIRECTION 1
- #endif
- 
- /* Axel Seibert <seibert@leo.org> says the following is necessary
due
-    to configure problems. */
- 
- #undef REL_ALLOC
- 
- #undef SYSV_SYSTEM_DIR
- #undef NONSYSTEM_DIR_LIBRARY
- 
- #define signal_handler_t int
- #define pid_t int
- 
- #undef HAVE_TERMIOS
- #undef BSD_TERMIOS
- #define NO_TERMIO
- #undef HAVE_TERMIO
- #undef HAVE_MMAP
- 
- #define TAB3 XTABS
- 
- #define C_OPTIMIZE_SWITCH -pipe
- 
- #undef HAVE_SETITIMER
  
  #define ASSERT_VALID_POINTER(pnt) (assert ((((int) pnt) & 1) == 0))
--- 96,100 ----

