]> git.eshelyaron.com Git - emacs.git/commitdiff
* Makefile.in (src/Makefile): Propagate C_SWITCH_SYSTEM to the src
authorJim Blandy <jimb@redhat.com>
Sun, 18 Jul 1993 06:10:46 +0000 (06:10 +0000)
committerJim Blandy <jimb@redhat.com>
Sun, 18 Jul 1993 06:10:46 +0000 (06:10 +0000)
directory's makefile.  This allows the invocation of CPP which
builds xmakefile to receive these switches.  The SunSoft C
preprocessor inserts spaces between tokens if it doesn't get the
-Xs flag requested in src/s/sol2.h.

Makefile.in

index 630df20da7e51dc0011093acb6f310745793d4df..101b7d6eeba5d45de942b8d9782a18c5fa55cc68 100644 (file)
@@ -282,6 +282,7 @@ src/Makefile: ${srcdir}/src/Makefile.in Makefile
          -e 's|^CPP *=.*$$|CPP=${CPP}|'                                \
          -e 's|^LN_S *=.*$$|LN_S=${LN_S}|'                             \
          -e 's|^CFLAGS *=.*$$|CFLAGS=${CFLAGS}|'                       \
+         -e 's|^\(C_SWITCH_SYSTEM *=\).*$$|\1'"${C_SWITCH_SYSTEM}"'|'  \
          -e 's|^\(LD_SWITCH_X_SITE *=\).*$$|\1${LD_SWITCH_X_SITE}|'    \
          -e '/^# DIST: /d') > src/Makefile.tmp
        @${srcdir}/move-if-change src/Makefile.tmp src/Makefile