# HG changeset patch # User Richard M. Stallman # Date 816021218 0 # Node ID 3096bad240b38905175478924f898a11d5267c2f # Parent 8371f44b70995ebc6e3d1c727b06fab5dfd692a9 Test NOT_C_CODE instead of THIS_IS_YMAKEFILE. Get fatal error if not using GCC. diff -r 8371f44b7099 -r 3096bad240b3 src/s/dgux.h --- a/src/s/dgux.h Fri Nov 10 16:27:28 1995 +0000 +++ b/src/s/dgux.h Fri Nov 10 16:33:38 1995 +0000 @@ -237,7 +237,7 @@ /* #define SYSTEM_MALLOC */ /* 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. */ /* DG/UX include files prevent multiple inclusion. */ @@ -266,10 +266,11 @@ extern struct sigaction act, oact; #define signal(SIG,FUNC) berk_signal(SIG,FUNC) -#else /* THIS_IS_YMAKEFILE */ -/* force gcc to be used */ -CC=gcc -#endif /* not THIS_IS_YMAKEFILE */ +#endif /* not NOT_C_CODE */ + +#ifndef __GNUC__ +#error You must use GCC to compiler Emascs on DGUX +#endif #define ORDINARY_LINK #define START_FILES pre-crt0.o