aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-11-10 16:33:38 +0000
committerRichard M. Stallman1995-11-10 16:33:38 +0000
commit24916110d20b3d969bd6815bde0ba50da3c587b9 (patch)
treef57b6180dd33ed27745b3696f4146a0b9a6a284e
parent7ee4884a7d3bb291ae10b4e184a9a9c0ba5b671c (diff)
downloademacs-24916110d20b3d969bd6815bde0ba50da3c587b9.tar.gz
emacs-24916110d20b3d969bd6815bde0ba50da3c587b9.zip
Test NOT_C_CODE instead of THIS_IS_YMAKEFILE.
Get fatal error if not using GCC.
-rw-r--r--src/s/dgux.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/s/dgux.h b/src/s/dgux.h
index b380db0daa1..a53185f5dc2 100644
--- a/src/s/dgux.h
+++ b/src/s/dgux.h
@@ -237,7 +237,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
237/* #define SYSTEM_MALLOC */ 237/* #define SYSTEM_MALLOC */
238 238
239/* MAKING_MAKEFILE must be defined in "ymakefile" before including config.h */ 239/* MAKING_MAKEFILE must be defined in "ymakefile" before including config.h */
240#ifndef THIS_IS_YMAKEFILE 240#ifndef NOT_C_CODE
241 241
242/* Make sure signal.h is included so macros below don't mess with it. */ 242/* Make sure signal.h is included so macros below don't mess with it. */
243/* DG/UX include files prevent multiple inclusion. */ 243/* DG/UX include files prevent multiple inclusion. */
@@ -266,10 +266,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
266extern struct sigaction act, oact; 266extern struct sigaction act, oact;
267#define signal(SIG,FUNC) berk_signal(SIG,FUNC) 267#define signal(SIG,FUNC) berk_signal(SIG,FUNC)
268 268
269#else /* THIS_IS_YMAKEFILE */ 269#endif /* not NOT_C_CODE */
270/* force gcc to be used */ 270
271CC=gcc 271#ifndef __GNUC__
272#endif /* not THIS_IS_YMAKEFILE */ 272#error You must use GCC to compiler Emascs on DGUX
273#endif
273 274
274#define ORDINARY_LINK 275#define ORDINARY_LINK
275#define START_FILES pre-crt0.o 276#define START_FILES pre-crt0.o