Commit 24916110 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

Test NOT_C_CODE instead of THIS_IS_YMAKEFILE.

Get fatal error if not using GCC.
parent 7ee4884a
...@@ -237,7 +237,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -237,7 +237,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* #define SYSTEM_MALLOC */ /* #define SYSTEM_MALLOC */
/* MAKING_MAKEFILE must be defined in "ymakefile" before including config.h */ /* MAKING_MAKEFILE must be defined in "ymakefile" before including config.h */
#ifndef THIS_IS_YMAKEFILE #ifndef NOT_C_CODE
/* Make sure signal.h is included so macros below don't mess with it. */ /* Make sure signal.h is included so macros below don't mess with it. */
/* DG/UX include files prevent multiple inclusion. */ /* DG/UX include files prevent multiple inclusion. */
...@@ -266,10 +266,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -266,10 +266,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
extern struct sigaction act, oact; extern struct sigaction act, oact;
#define signal(SIG,FUNC) berk_signal(SIG,FUNC) #define signal(SIG,FUNC) berk_signal(SIG,FUNC)
#else /* THIS_IS_YMAKEFILE */ #endif /* not NOT_C_CODE */
/* force gcc to be used */
CC=gcc #ifndef __GNUC__
#endif /* not THIS_IS_YMAKEFILE */ #error You must use GCC to compiler Emascs on DGUX
#endif
#define ORDINARY_LINK #define ORDINARY_LINK
#define START_FILES pre-crt0.o #define START_FILES pre-crt0.o
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment