From: Ken Raeburn Date: Thu, 16 Jun 1994 00:46:20 +0000 (+0000) Subject: (config-stamp): If $(defs) contains multiple words, emit a #define line for X-Git-Tag: gdb-4_18~14259 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a0d0964d8bc3887bba03734de3dfdf833618db6;p=external%2Fbinutils.git (config-stamp): If $(defs) contains multiple words, emit a #define line for each. --- diff --git a/gas/Makefile.in b/gas/Makefile.in index fd2519c..332e9d8 100644 --- a/gas/Makefile.in +++ b/gas/Makefile.in @@ -311,7 +311,9 @@ config-stamp: Makefile echo '#define TARGET_CANONICAL "$(target_canonical)"' >> config.new echo '#define GAS_VERSION "$(VERSION)"' >> config.new if [ "$(defs)" != "" ]; then \ - echo '#define $(defs)' >> config.new ; \ + for d in $(defs) ; do \ + echo "#define $$d" >> config.new ; \ + done ; \ else true; fi echo '#endif /* TARGET_CPU */' >> config.new $(srcdir)/../move-if-change config.new config.h