Commit f2a77c3a authored by Dan Nicolaescu's avatar Dan Nicolaescu

* unexnext.c:

* m/ews4800.h:
* m/hp9000s300.h:
* m/ibm370aix.h:
* m/mips-siemens.h:
* m/ncr386.h:
* m/next.h:
* m/pmax.h:
* m/powerpcle.h:
* m/tandem-s2.h:
* s/386bsd.h:
* s/bsd386.h:
* s/bsd4-1.h:
* s/bsd4-2.h:
* s/bsdos2-1.h:
* s/bsdos2.h:
* s/bsdos3.h:
* s/bsdos4.h:
* s/nextstep.h:
* s/ultrix4-3.h:
* s/usg5-0.h:
* s/usg5-2-2.h:
* s/usg5-2.h:
* s/usg5-4-3.h:
* s/ux4800.h:
* s/uxpds.h:
* s/uxpv.h: Remove support for obsolete systems.
* s/hpux.h, s/hpux10.h, s/hpux8.h, s/hpux9.h, s/hpux9shr.h:
Remove, insert contents in s/hpux-10.20.h
* s/aix3-1.h, s/aix3-2-5.h, s/aix3-2.h, s/aix4-1.h, s/aix4.h:
Remove, insert contents in s/aix-4.2.h
* s/usg5-3.h: Remove, insert contents in s/usg5-4.h.
* s/bsd4-3.h: Rename to ..
* s/bsd-common.h: ... this.
* src/data.c:
* src/doc.c:
* src/ecrt0.c:
* src/emacs.c:
* src/fileio.c:
* src/floatfns.c:
* src/keyboard.c:
* src/mem-limits.h:
* src/print.c:
* src/process.c:
* src/sysdep.c:
* src/syssignal.h:
* src/systty.h:
* src/syswait.h:
* src/term.c:
* src/unexec.c:
* src/unexelf.c:
* src/unexhp9k800.c:
* src/m/hp800.h:
* src/m/ibmrs6000.h:
* src/m/mips.h:
* src/m/vax.h:
* src/s/darwin.h:
* src/s/freebsd.h:
* src/s/gnu.h:
* src/s/ms-w32.h:
* src/s/msdos.h:
* src/s/netbsd.h:
* src/s/template.h: Remove references to obsolete variables.

* Makefile.in: Add dependencies for all unexec files.
(admindir): Remove unused variable.
(UNEXEC_SRC): Remove references.

* config.nt: Remove reference to UNEXEC_SRC.

* lwlib.c: Remove references to obsolete variables.

* fakemail.c: Remove references to obsolete variables.

* os.texi: Remove references to obsolete systems.

* configure.in:
* configure: Remove references to obsolete systems.
parent 3617b1eb
2008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
* configure.in:
* configure: Remove references to obsolete systems.
2008-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
* Makefile.in (Makefile): Use it for its timestamp value as well, and
......
......@@ -57,7 +57,6 @@ BROKEN_FIONREAD
BROKEN_SIGIO
BROKEN_TIOCGETC
BROKEN_TIOCGWINSZ
BSD4_2
BSD4_3
BSD4_4
BSD_PGRPS
......@@ -102,6 +101,7 @@ HAVE_LIBRESOLV
HAVE_PTYS
HAVE_SELECT
HAVE_SOCKETS
HAVE_STRING_H
HAVE_SYSVIPC
HAVE_SYSV_SIGPAUSE
HAVE_SYS_WAIT_H
......@@ -140,17 +140,21 @@ LIB_X11_LIB
LINKER
LOAD_AVE_CVT
LOAD_AVE_TYPE
MACH
MAIL_USE_FLOCK
MKDIR_PROTOTYPE
MOTIF
NARROWPROTO
NEED_BSDTTY
NEED_ERRNO
NEED_PTEM_H
NEED_SIOCTL
NEED_UNISTD_H
NLIST_STRUCT
NOMULTIPLEJOBS
NONSYSTEM_DIR_LIBRARY
NOT_C_CODE
NO_ABORT
NO_ARG_ARRAY
NO_REMAP
NO_SIOCTL_H
......@@ -167,6 +171,7 @@ PERROR
PNTR_COMPARISON_TYPE
POSIX_SIGNALS
PREFER_VSUSP
PREFER_VSUSP
PTY_ITERATION
PTY_NAME_SPRINTF
PTY_OPEN
......@@ -196,6 +201,8 @@ S_IFLNK
S_IFMT
S_IREAD
S_IWRITE
TAB3
TABDLY
TERMCAP
TERMINFO
TEXT_END
......@@ -211,11 +218,11 @@ USG5_4
USG_JOBCTRL
USG_SHARED_LIBRARIES
VIRT_ADDR_VARIES
WCOREDUMP
WORDS_BIG_ENDIAN
WORD_MACHINE
XINT
XSET
XUINT
X11R5_INHIBIT_I18N
XOS_NEEDS_TIME_H
X_DEFAULT_FONT
_ABIN32
_MIPS_SZLONG
......@@ -240,6 +247,7 @@ m68k
magic
mc68000
mips
prep
sel
subprocesses
sun
......
......@@ -178,11 +178,10 @@ that *might* break other systems without the risk that it will fail to
work and therefore require an additional cycle of pretesting.
People often suggest fixing a problem by changing config.h or
src/ymakefile or even src/Makefile to do something special that a
particular system needs. Sometimes it is totally obvious that such
changes would break Emacs for almost all users. We can't possibly
make a change like that. All we can do is ask you to find a fix that
is safe to install.
src/Makefile to do something special that a particular system needs.
Sometimes it is totally obvious that such changes would break Emacs
for almost all users. We can't possibly make a change like that. All
we can do is ask you to find a fix that is safe to install.
Sometimes people send fixes that *might* be an improvement in
general--but it is hard to be sure of this. I can install such
......
......@@ -2360,9 +2360,8 @@ configuration=${host_alias-${build_alias-$host}}
### based on the machine portion of the configuration name, and an s-
### file based on the operating system portion. However, it turns out
### that each m/*.h file is pretty manufacturer-specific - for
### example hp9000s300.h is a 68000 machine;
### mips.h, pmax.h are all MIPS
### machines. So we basically have to have a special case for each
### example mips.h is MIPS
### So we basically have to have a special case for each
### configuration name.
###
### As far as handling version numbers on operating systems is
......@@ -2419,12 +2418,6 @@ _ACEOF
case "${canonical}" in
alpha*-*-netbsd*) machine=alpha ;;
i[3456]86-*-netbsd*) machine=intel386 ;;
m68k-*-netbsd*)
# This is somewhat bogus.
machine=hp9000s300 ;;
mips-*-netbsd*) machine=pmax ;;
mipsel-*-netbsd*) machine=pmax ;;
mipseb-*-netbsd*) machine=pmax ;;
powerpc-*-netbsd*) machine=macppc ;;
sparc*-*-netbsd*) machine=sparc ;;
vax-*-netbsd*) machine=vax ;;
......@@ -2440,9 +2433,7 @@ _ACEOF
case "${canonical}" in
alpha*-*-openbsd*) machine=alpha ;;
arm-*-openbsd*) machine=arm ;;
hppa-*-openbsd*) machine=hp9000s300 ;;
i386-*-openbsd*) machine=intel386 ;;
m68k-*-openbsd*) machine=hp9000s300 ;;
powerpc-*-openbsd*) machine=macppc ;;
sparc*-*-openbsd*) machine=sparc ;;
vax-*-openbsd*) machine=vax ;;
......@@ -2459,23 +2450,6 @@ _ACEOF
esac
;;
## BSDI ports
*-*-bsdi* )
opsys=bsdi
case "${canonical}" in
i[345]86-*-bsdi*) machine=intel386 ;;
sparc-*-bsdi*) machine=sparc ;;
powerpc-*-bsdi*) machine=macppc ;;
esac
case "${canonical}" in
*-*-bsd386* | *-*-bsdi1* ) opsys=bsd386 ;;
*-*-bsdi2.0* ) opsys=bsdos2 ;;
*-*-bsdi2* ) opsys=bsdos2-1 ;;
*-*-bsdi3* ) opsys=bsdos3 ;;
*-*-bsdi[45]* ) opsys=bsdos4 ;;
esac
;;
alpha*-*-linux-gnu* )
machine=alpha opsys=gnu-linux
;;
......@@ -2502,56 +2476,10 @@ _ACEOF
fi
;;
## Cubix QBx/386
i[3456]86-cubix-sysv* )
machine=intel386 opsys=usg5-3
;;
mips-dec-ultrix[0-3].* | mips-dec-ultrix4.0* | mips-dec-bsd4.2* )
machine=pmax opsys=bsd4-2
;;
mips-dec-ultrix4.[12]* | mips-dec-bsd* )
machine=pmax opsys=bsd4-3
;;
mips-dec-ultrix* )
machine=pmax opsys=ultrix4-3
;;
## HP 9000 series 200 or 300
m68*-hp-bsd* )
machine=hp9000s300 opsys=bsd4-3
;;
## HP/UX 7, 8, 9, and 10 are supported on these machines.
m68*-hp-hpux* )
case "`uname -r`" in
## Someone's system reports A.B8.05 for this.
## I wonder what other possibilities there are.
*.B8.* ) machine=hp9000s300 opsys=hpux8 ;;
*.08.* ) machine=hp9000s300 opsys=hpux8 ;;
*.09.* ) machine=hp9000s300 opsys=hpux9 ;;
*.1[0-9].* ) machine=hp9000s300 opsys=hpux9shr ;;
*) machine=hp9000s300 opsys=hpux ;;
esac
;;
## HP 9000 series 700 and 800, running HP/UX
hppa*-hp-hpux7* )
machine=hp800 opsys=hpux
;;
hppa*-hp-hpux8* )
machine=hp800 opsys=hpux8
;;
hppa*-hp-hpux9shr* )
machine=hp800 opsys=hpux9shr
;;
hppa*-hp-hpux9* )
machine=hp800 opsys=hpux9
;;
hppa*-hp-hpux10.2* )
machine=hp800 opsys=hpux10-20
;;
hppa*-hp-hpux10* )
machine=hp800 opsys=hpux10
;;
hppa*-hp-hpux1[1-9]* )
machine=hp800 opsys=hpux11
CFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CFLAGS"
......@@ -2561,41 +2489,13 @@ _ACEOF
machine=hp800 opsys=gnu-linux
;;
## HP 9000 series 700 and 800, running HP/UX
hppa*-hp-hpux* )
## Cross-compilation? Nah!
case "`uname -r`" in
## Someone's system reports A.B8.05 for this.
## I wonder what other possibilities there are.
*.B8.* ) machine=hp800 opsys=hpux8 ;;
*.08.* ) machine=hp800 opsys=hpux8 ;;
*.09.* ) machine=hp800 opsys=hpux9 ;;
*) machine=hp800 opsys=hpux10 ;;
esac
;;
hppa*-*-nextstep* )
machine=hp800 opsys=nextstep
;;
## IBM machines
i370-ibm-aix*)
machine=ibm370aix opsys=usg5-3
;;
s390-*-linux-gnu* )
machine=ibms390 opsys=gnu-linux
;;
s390x-*-linux-gnu* )
machine=ibms390x opsys=gnu-linux
;;
rs6000-ibm-aix3.1* | powerpc-ibm-aix3.1* )
machine=ibmrs6000 opsys=aix3-1
;;
rs6000-ibm-aix3.2.5 | powerpc-ibm-aix3.2.5 )
machine=ibmrs6000 opsys=aix3-2-5
;;
rs6000-ibm-aix4.1* | powerpc-ibm-aix4.1* )
machine=ibmrs6000 opsys=aix4-1
;;
rs6000-ibm-aix4.2* | powerpc-ibm-aix4.2* )
machine=ibmrs6000 opsys=aix4-2
;;
......@@ -2608,65 +2508,12 @@ _ACEOF
rs6000-ibm-aix5* | powerpc-ibm-aix6* )
machine=ibmrs6000 opsys=aix4-2
;;
rs6000-ibm-aix4.0* | powerpc-ibm-aix4.0* )
machine=ibmrs6000 opsys=aix4
;;
rs6000-ibm-aix4* | powerpc-ibm-aix4* )
machine=ibmrs6000 opsys=aix4-1
;;
rs6000-ibm-aix* | powerpc-ibm-aix* )
machine=ibmrs6000 opsys=aix3-2
;;
## Prime EXL
i[3456]86-prime-sysv* )
machine=i386 opsys=usg5-3
;;
## ncr machine running svr4.3.
i[3456]86-ncr-sysv4.3 )
machine=ncr386 opsys=usg5-4-3
;;
## Unspecified sysv on an ncr machine defaults to svr4.2.
## (Plain usg5-4 doesn't turn on POSIX signals, which we need.)
i[3456]86-ncr-sysv* )
machine=ncr386 opsys=usg5-4-2
;;
## Macintosh PowerPC
powerpc*-*-linux-gnu* )
machine=macppc opsys=gnu-linux
;;
## Workstations sold by MIPS
## This is not necessarily all workstations using the MIPS processor -
## Irises are produced by SGI, and DECstations by DEC.
mips-mips-bsd* )
machine=mips opsys=bsd4-3
;;
mips-mips-* )
machine=mips opsys=usg5-2-2
;;
## NeXT
m68*-next-* | m68k-*-nextstep* )
machine=m68k opsys=nextstep
;;
## NEC EWS4800
mips-nec-sysv4*)
machine=ews4800 opsys=ux4800
;;
## Siemens Nixdorf
mips-siemens-sysv* | mips-sni-sysv*)
machine=mips-siemens opsys=usg5-4
NON_GNU_CC=/usr/ccs/bin/cc
NON_GNU_CPP=/usr/ccs/lib/cpp
;;
## Silicon Graphics machines
## Iris 4D
mips-sgi-irix6.5 )
......@@ -2689,7 +2536,6 @@ _ACEOF
case "${canonical}" in
i[3456]86-*-* ) machine=intel386 ;;
amd64-*-*|x86_64-*-*) machine=amdx86-64 ;;
powerpcle* ) machine=powerpcle ;;
powerpc* | rs6000* ) machine=ibmrs6000 ;;
sparc* ) machine=sparc ;;
* ) unported=yes ;;
......@@ -2719,7 +2565,6 @@ _ACEOF
emacs_check_sunpro_c=yes
NON_GNU_CPP=/usr/ccs/lib/cpp
;;
* ) opsys=bsd4-2 ;;
esac
## Watch out for a compiler that we know will not work.
case "${canonical}" in
......@@ -2733,24 +2578,11 @@ _ACEOF
*) ;;
esac
;;
sparc-*-nextstep* )
machine=sparc opsys=nextstep
;;
## Tandem Integrity S2
mips-tandem-sysv* )
machine=tandem-s2 opsys=usg5-3
;;
## Vaxen.
vax-dec-* )
machine=vax
case "${canonical}" in
*-bsd4.1* ) opsys=bsd4-1 ;;
*-bsd4.2* | *-ultrix[0-3].* | *-ultrix4.0* ) opsys=bsd4-2 ;;
*-bsd4.3* | *-ultrix* ) opsys=bsd4-3 ;;
*-sysv[01]* | *-sysvr[01]* ) opsys=usg5-0 ;;
*-sysv2* | *-sysvr2* ) opsys=usg5-2 ;;
*-vms* ) opsys=vms ;;
* ) unported=yes
esac
......@@ -2773,8 +2605,6 @@ _ACEOF
*-sysv4.2uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
*-sysv5uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
*-sysv5OpenUNIX* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
*-386bsd* ) opsys=386bsd ;;
*-nextstep* ) opsys=nextstep ;;
## Otherwise, we'll fall through to the generic opsys code at the bottom.
esac
;;
......@@ -2789,13 +2619,6 @@ _ACEOF
machine=mips opsys=gnu-linux
;;
## UXP/DS
sparc-fujitsu-sysv4* )
machine=sparc opsys=uxpds
NON_GNU_CPP=/usr/ccs/lib/cpp
RANLIB="ar -ts"
;;
## AMD x86-64 Linux-based GNU system
x86_64-*-linux-gnu* )
machine=amdx86-64 opsys=gnu-linux
......@@ -2820,13 +2643,6 @@ esac
if test x"${opsys}" = x; then
case "${canonical}" in
*-gnu* ) opsys=gnu ;;
*-bsd4.[01] ) opsys=bsd4-1 ;;
*-bsd4.2 ) opsys=bsd4-2 ;;
*-bsd4.3 ) opsys=bsd4-3 ;;
*-sysv0 | *-sysvr0 ) opsys=usg5-0 ;;
*-sysv2 | *-sysvr2 ) opsys=usg5-2 ;;
*-sysv2.2 | *-sysvr2.2 ) opsys=usg5-2-2 ;;
*-sysv3* | *-sysvr3* ) opsys=usg5-3 ;;
*-sysv4.2uw* ) opsys=unixware ;;
*-sysv5uw* ) opsys=unixware ;;
*-sysv5OpenUNIX* ) opsys=unixware ;;
......@@ -2849,30 +2665,6 @@ if test x"${opsys}" = x; then
esac
fi
### Tests for sytems that we beleive are obsolete and should be desupported.
case "${machine}" in
pmax | hp9000s300 | ibm370aix | ncr386 | ews4800 | mips-siemens | powerpcle | tandem-s2 )
echo "The system that you are configuring on: ${canonical} is considered to be obsolete"
echo "and it is planned to be desupported in the next version of Emacs"
echo "Please email emacs-devel@gnu.org as soon as possible if this system is still in use."
echo "The code is still functional, but you need to edit the 'configure' script and remove the"
echo "exit 33 line. After that you can run configure again and 'complete' the build."
exit 33
;;
esac
case "${opsys}" in
bsd386 | bsdos2-1 | bsdos2 | bsdos3 | bsdos4 | bsd4-1 | bsd4-2 | bsd4-3 | usg5-0 | usg5-2-2 | usg5-2 | usg5-3 | ultrix4-3 | 386bsd | hpux | hpux8 | hpux9 | hpux9shr | hpux10 | aix3-1 | aix3-2-5 | aix3-2 | aix4-1 | nextstep | ux4800 | uxpds | uxpv )
echo "The system that you are configuring on: ${canonical} is considered to be obsolete"
echo "and it is planned to be desupported in the next version of Emacs"
echo "Please email emacs-devel@gnu.org as soon as possible if this system is still in use."
echo "The code is still functional, but you need to edit the 'configure' script and remove the"
echo "'exit 44' line. After that you can run 'configure' again and complete the build."
exit 44
;;
esac
if test $unported = yes; then
......
This diff is collapsed.
2008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
* os.texi: Remove references to obsolete systems.
2008-06-20 Eli Zaretskii <eliz@gnu.org>
* makefile.w32-in (distclean): Remove makefile.
......
......@@ -664,9 +664,6 @@ Microsoft MS-DOS ``operating system.'' Emacs compiled with DJGPP for
MS-DOS binds @code{system-type} to @code{ms-dos} even when you run it on
MS-Windows.
@item next-mach
NeXT Mach-based system.
@item usg-unix-v
AT&T System V.
......
This diff is collapsed.
2008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
* fakemail.c: Remove references to obsolete variables.
2008-06-02 Jim Meyering <meyering@redhat.com>
* ebrowse.c (xfree): Remove definition; s/xfree/free/.
......
......@@ -24,7 +24,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
#endif
#if defined (BSD_SYSTEM) && !defined (BSD4_1) && !defined (USE_FAKEMAIL)
#if defined (BSD_SYSTEM) && !defined (USE_FAKEMAIL)
/* This program isnot used in BSD, so just avoid loader complaints. */
int
main ()
......
2008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
* lwlib.c: Remove references to obsolete variables.
2008-06-02 Jim Meyering <meyering@redhat.com>
remove useless if-before-free tests
......
......@@ -20,10 +20,6 @@ along with GNU Emacs; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#ifdef NeXT
#undef __STRICT_BSD__ /* ick */
#endif
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
2008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
* config.nt: Remove reference to UNEXEC_SRC.
2008-06-23 Juanma Barranquero <lekktu@gmail.com>
Eli Zaretskii <eliz@gnu.org>
......
......@@ -202,8 +202,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#undef CRAY_STACKSEG_END
#undef UNEXEC_SRC
#undef HAVE_LIBXBSD
#undef HAVE_XRMSETDATABASE
#undef HAVE_XSCREENRESOURCESTRING
......
2008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
* unexnext.c:
* m/ews4800.h:
* m/hp9000s300.h:
* m/ibm370aix.h:
* m/mips-siemens.h:
* m/ncr386.h:
* m/next.h:
* m/pmax.h:
* m/powerpcle.h:
* m/tandem-s2.h:
* s/386bsd.h:
* s/bsd386.h:
* s/bsd4-1.h:
* s/bsd4-2.h:
* s/bsdos2-1.h:
* s/bsdos2.h:
* s/bsdos3.h:
* s/bsdos4.h:
* s/nextstep.h:
* s/ultrix4-3.h:
* s/usg5-0.h:
* s/usg5-2-2.h:
* s/usg5-2.h:
* s/usg5-4-3.h:
* s/ux4800.h:
* s/uxpds.h:
* s/uxpv.h: Remove support for obsolete systems.
* s/hpux.h, s/hpux10.h, s/hpux8.h, s/hpux9.h, s/hpux9shr.h:
Remove, insert contents in s/hpux-10.20.h
* s/aix3-1.h, s/aix3-2-5.h, s/aix3-2.h, s/aix4-1.h, s/aix4.h:
Remove, insert contents in s/aix-4.2.h
* s/usg5-3.h: Remove, insert contents in s/usg5-4.h.
* s/bsd4-3.h: Rename to ..
* s/bsd-common.h: ... this.
* src/data.c:
* src/doc.c:
* src/ecrt0.c:
* src/emacs.c:
* src/fileio.c:
* src/floatfns.c:
* src/keyboard.c:
* src/mem-limits.h:
* src/print.c:
* src/process.c:
* src/sysdep.c:
* src/syssignal.h:
* src/systty.h:
* src/syswait.h:
* src/term.c:
* src/unexec.c:
* src/unexelf.c:
* src/unexhp9k800.c:
* src/m/hp800.h:
* src/m/ibmrs6000.h:
* src/m/mips.h:
* src/m/vax.h:
* src/s/darwin.h:
* src/s/freebsd.h:
* src/s/gnu.h:
* src/s/ms-w32.h:
* src/s/msdos.h:
* src/s/netbsd.h:
* src/s/template.h: Remove references to obsolete variables.
* Makefile.in: Add dependencies for all unexec files.
(admindir): Remove unused variable.
(UNEXEC_SRC): Remove references.
2008-06-25 Chong Yidong <cyd@stupidchicken.com>
* xfns.c (x_default_font_parameter): If Xft is available, first
......
......@@ -52,7 +52,6 @@ version=@version@
LIBOBJS = @LIBOBJS@
lispsource = ${srcdir}/../lisp/
admindir = $(srcdir)/../admin/
libsrc = ../lib-src/
etc = ../etc/
oldXMenudir = ../oldXMenu/
......@@ -94,11 +93,6 @@ SHELL=/bin/sh
do not let it interfere with this file. */
#undef register
/* On some systems we may not be able to use the system make command. */
#ifdef MAKE_COMMAND
MAKE = MAKE_COMMAND
#endif
/* GNU libc requires ORDINARY_LINK so that its own crt0 is used.
GNU/Linux is an exception because it uses a funny variant of GNU libc. */
#ifdef __GNU_LIBRARY__
......@@ -500,9 +494,6 @@ TEMACS_LDFLAGS = LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_TEMACS LD_SWITCH_MACHINE LD_S
#ifndef UNEXEC
#define UNEXEC unexec.o
#endif
#ifndef UNEXEC_SRC
#define UNEXEC_SRC unexec.c
#endif
INTERVAL_SRC = intervals.h composite.h
......@@ -1141,10 +1132,17 @@ terminal.o: terminal.c frame.h termchar.h termhooks.h charset.h coding.h \
terminfo.o: terminfo.c $(config_h)
tparam.o: tparam.c $(config_h)
undo.o: undo.c buffer.h commands.h window.h $(config_h)
/* This hack is to discard any space that cpp might put at the beginning
of UNEXEC when substituting it in. */
UNEXEC_ALIAS=UNEXEC
$(UNEXEC_ALIAS): UNEXEC_SRC $(config_h)
unexaix.o: unexaix.c $(config_h)
unexalpha.o: unexalpha.c $(config_h)
unexcw.o: unexcw.c $(config_h)
unexec.o: unexec.c $(config_h)
unexelf.o: unexelf.c $(config_h)
unexhp9k800.o: unexhp9k800.c $(config_h)
unexmacosx.o: unexmacosx.c $(config_h)
unexmips.o: unexmips.c $(config_h)
unexnext.o: unexnext.c $(config_h)
unexsol.o: unexsol.c $(config_h)
unexw32.o: unexw32.c $(config_h)
w16select.o: w16select.c dispextern.h frame.h blockinput.h atimer.h systime.h \
msdos.h buffer.h charset.h coding.h composite.h $(config_h)
widget.o: widget.c xterm.h frame.h dispextern.h widgetprv.h \
......
......@@ -45,16 +45,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#endif
#endif
/* Work around a problem that happens because math.h on hpux 7
defines two static variables--which, in Emacs, are not really static,
because `static' is defined as nothing. The problem is that they are
here, in floatfns.c, and in lread.c.
These macros prevent the name conflict. */
#if defined (HPUX) && !defined (HPUX8)
#define _MAXLDBL data_c_maxldbl
#define _NMAXLDBL data_c_nmaxldbl
#endif
#include <math.h>
#if !defined (atof)
......@@ -3285,11 +3275,7 @@ arith_error (signo)
/* VMS systems are like USG. */
signal (signo, arith_error);
#endif /* VMS */
#ifdef BSD4_1
sigrelse (SIGFPE);
#else /* not BSD4_1 */
sigsetmask (SIGEMPTYMASK);
#endif /* not BSD4_1 */
SIGNAL_THREAD_CHECK (signo);
xsignal0 (Qarith_error);
......
......@@ -22,7 +22,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
#include <sys/types.h>
#include <sys/file.h> /* Must be after sys/types.h for USG and BSD4_1*/
#include <sys/file.h> /* Must be after sys/types.h for USG*/
#include <ctype.h>
#ifdef HAVE_FCNTL_H
......
......@@ -200,120 +200,6 @@ start1 (ignore, argc, xargv)
#endif /* not CRT0_DUMMIES */
#ifdef hp9000s300
int argc_value;
char **argv_value;
#ifdef OLD_HP_ASSEMBLER
asm(" text");
asm(" globl __start");
asm(" globl _exit");
asm(" globl _main");
asm("__start");
asm(" dc.l 0");
asm(" subq.w #0x1,d0");
asm(" move.w d0,float_soft");
asm(" move.l 0x4(a7),d0");
asm(" beq.s skip_1");
asm(" move.l d0,a0");
asm(" clr.l -0x4(a0)");
asm("skip_1");
asm(" move.l a7,a0");
asm(" subq.l #0x8,a7");
asm(" move.l (a0),(a7)");
asm(" move.l (a0),_argc_value");
asm(" addq.l #0x4,a0");
asm(" move.l a0,0x4(a7)");
asm(" move.l a0,_argv_value");
asm("incr_loop");
asm(" tst.l (a0)+");
asm(" bne.s incr_loop");
asm(" move.l 0x4(a7),a1");
asm(" cmp.l (a1),a0");
asm(" blt.s skip_2");
asm(" subq.l #0x4,a0");
asm("skip_2");
asm(" move.l a0,0x8(a7)");
asm(" move.l a0,_environ");
asm(" jsr _main");