(config-stamp): If $(defs) contains multiple words, emit a #define line for
authorKen Raeburn <raeburn@cygnus>
Thu, 16 Jun 1994 00:46:20 +0000 (00:46 +0000)
committerKen Raeburn <raeburn@cygnus>
Thu, 16 Jun 1994 00:46:20 +0000 (00:46 +0000)
each.

gas/Makefile.in

index fd2519cceaf8da46e73e8a0ce3538b93084e9aa4..332e9d812a463947251ed4936d1cf1de35916751 100644 (file)
@@ -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
This page took 0.026909 seconds and 4 git commands to generate.