summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorslamm%netscape.com <devnull@localhost>1999-09-17 20:28:28 +0000
committerslamm%netscape.com <devnull@localhost>1999-09-17 20:28:28 +0000
commit2b647a698b19c2d91f1501788ce075115ddc9041 (patch)
treeab7c0eef320cbe83f1267ad91b87ea6631e92166
parente5e25472be3a79e12d184e98c563880e2de5d60f (diff)
downloadnss-hg-2b647a698b19c2d91f1501788ce075115ddc9041.tar.gz
Fix a build warning (do not compile a file if it isn't needed).
-rw-r--r--dbm/src/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/dbm/src/Makefile.in b/dbm/src/Makefile.in
index 64f72ff63..6797a54fe 100644
--- a/dbm/src/Makefile.in
+++ b/dbm/src/Makefile.in
@@ -37,11 +37,14 @@ CSRCS = \
memmove.c \
mktemp.c \
ndbm.c \
- snprintf.c \
strerror.c \
nsres.c \
$(NULL)
+ifeq (,$(filter -DHAVE_SNPRINTF=1,$(DEFS)))
+CSRC += snprintf.c
+endif
+
LOCAL_INCLUDES = -I$(srcdir)/../include
override NO_SHARED_LIB=1