summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-11-10 16:33:38 +0000
committerRichard M. Stallman <rms@gnu.org>1995-11-10 16:33:38 +0000
commitdb5768dd27534ce2294c5bdd9997f24d6096d27f (patch)
tree5c21e68d00b576b97e5e1cf7fc5b2595d37a45a2 /src
parent67313ab5283a55778d94262bc4609406d9508883 (diff)
downloademacs-db5768dd27534ce2294c5bdd9997f24d6096d27f.tar.gz
Test NOT_C_CODE instead of THIS_IS_YMAKEFILE.
Get fatal error if not using GCC.
Diffstat (limited to 'src')
-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. */
/* #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 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
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