summaryrefslogtreecommitdiff
path: root/usr.bin/make/suff.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-09-16 09:49:25 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-09-16 09:49:25 +0000
commitbff3eae682b5024393fa0f8d9b0c75321d9451b6 (patch)
tree1866e29998c23545f51361be4f96cbda980d4454 /usr.bin/make/suff.c
parentbd69b445ac167caf8d7d677876c8b78a2dcd60aa (diff)
more dead code: we always define LIBRARIES and INCLUDES
Diffstat (limited to 'usr.bin/make/suff.c')
-rw-r--r--usr.bin/make/suff.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/make/suff.c b/usr.bin/make/suff.c
index 35c273b1e71..2b43ed72aa2 100644
--- a/usr.bin/make/suff.c
+++ b/usr.bin/make/suff.c
@@ -1,5 +1,5 @@
/* $OpenPackages$ */
-/* $OpenBSD: suff.c,v 1.61 2007/09/16 09:46:14 espie Exp $ */
+/* $OpenBSD: suff.c,v 1.62 2007/09/16 09:49:24 espie Exp $ */
/* $NetBSD: suff.c,v 1.13 1996/11/06 17:59:25 christos Exp $ */
/*
@@ -777,16 +777,12 @@ Suff_DoPaths(void)
for (ln = Lst_First(&sufflist); ln != NULL; ln = Lst_Adv(ln)) {
s = (Suff *)Lst_Datum(ln);
if (!Lst_IsEmpty(&s->searchPath)) {
-#ifdef INCLUDES
if (s->flags & SUFF_INCLUDE) {
Dir_Concat(&inIncludes, &s->searchPath);
}
-#endif /* INCLUDES */
-#ifdef LIBRARIES
if (s->flags & SUFF_LIBRARY) {
Dir_Concat(&inLibs, &s->searchPath);
}
-#endif /* LIBRARIES */
Dir_Concat(&s->searchPath, dirSearchPath);
} else
Lst_Clone(&s->searchPath, dirSearchPath, Dir_CopyDir);