summaryrefslogtreecommitdiff
path: root/src/gnu
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-05-14 18:49:10 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-05-14 18:49:10 +0000
commitedcde41ec26d75aa1194202f2bcac17b38bc01c7 (patch)
tree42be8fd47e9a25ca9a54ed08b90f74a9a5c5dce0 /src/gnu
parent9ea344a738c629c90aeffd712ebd6e02a878a8ef (diff)
Checks the value of the BUILD_GETOPT and BUILD_REGEX flags before
adding the files to the SRCS line. You may need to do a reconfig after this update. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1660 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/gnu')
-rw-r--r--src/gnu/make.code.defn13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/gnu/make.code.defn b/src/gnu/make.code.defn
index 01f9ad65..0839b06f 100644
--- a/src/gnu/make.code.defn
+++ b/src/gnu/make.code.defn
@@ -2,8 +2,13 @@
#
# $Header$
-SRCS=\
-getopt.c\
-getopt1.c\
-regex.c
+SRCS=
+
+ifeq ($(strip $(BUILD_GETOPT)),yes)
+SRCS += getopt.c getopt1.c
+endif
+
+ifeq ($(strip $(BUILD_REGEX)),yes)
+SRCS += regex.c
+endif