diff options
author | slamm%netscape.com <devnull@localhost> | 1999-09-17 20:28:28 +0000 |
---|---|---|
committer | slamm%netscape.com <devnull@localhost> | 1999-09-17 20:28:28 +0000 |
commit | 2b647a698b19c2d91f1501788ce075115ddc9041 (patch) | |
tree | ab7c0eef320cbe83f1267ad91b87ea6631e92166 | |
parent | e5e25472be3a79e12d184e98c563880e2de5d60f (diff) | |
download | nss-hg-2b647a698b19c2d91f1501788ce075115ddc9041.tar.gz |
Fix a build warning (do not compile a file if it isn't needed).
-rw-r--r-- | dbm/src/Makefile.in | 5 |
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 |