summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-03-05 01:19:58 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:36 +0200
commit8348c5a39cfa664d9c1a2b27d7f0e3e1615f37cb (patch)
tree8db631a3ce01851bc965382433e1ab7b6ec99201 /Makefile.in
parent6acee54e03c9b6380b148c3005578c4a401a0da9 (diff)
2006-03-04 Roland McGrath <roland@frob.com>
* Makefile.in (DEFS): Substitute once and use the variable elsewhere.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index b86b91f..2ec9968 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -40,6 +40,7 @@ systype = @systype@
top_builddir = ./
+DEFS = @DEFS@
#
# Default target
@@ -47,16 +48,15 @@ top_builddir = ./
all:
-
# Detect if the user wants KDB
-ifeq ($(findstring -DMACH_KDB,@DEFS@),-DMACH_KDB)
+ifeq ($(findstring -DMACH_KDB,$(DEFS)),-DMACH_KDB)
enable_kdb=yes
else
enable_kdb=no
endif
# Detect if the user wants KMSG
-ifeq ($(findstring -DMACH_KMSG,@DEFS@),-DMACH_KMSG)
+ifeq ($(findstring -DMACH_KMSG,$(DEFS)),-DMACH_KMSG)
enable_kmsg=yes
else
enable_kmsg=no