diff options
author | Ken Raeburn <raeburn@cygnus> | 1994-06-16 00:46:20 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1994-06-16 00:46:20 +0000 |
commit | 9a0d0964d8bc3887bba03734de3dfdf833618db6 (patch) | |
tree | 61c34dc7a8f07909f12e032be095529694ba9330 /gas/Makefile.in | |
parent | 2e4ebfe2b03348ddd731d8c2a19392727109fa36 (diff) | |
download | gdb-9a0d0964d8bc3887bba03734de3dfdf833618db6.zip gdb-9a0d0964d8bc3887bba03734de3dfdf833618db6.tar.gz gdb-9a0d0964d8bc3887bba03734de3dfdf833618db6.tar.bz2 |
(config-stamp): If $(defs) contains multiple words, emit a #define line for
each.
Diffstat (limited to 'gas/Makefile.in')
-rw-r--r-- | gas/Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
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 |