1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/nss/lib/dbm/config/config.mk Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,39 @@ 1.4 +#! gmake 1.5 +# 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +# 1.11 +# These macros are defined by mozilla's configure script. 1.12 +# We define them manually here. 1.13 +# 1.14 + 1.15 +DEFINES += -DSTDC_HEADERS -DHAVE_STRERROR 1.16 + 1.17 +# 1.18 +# Most platforms have snprintf, so it's simpler to list the exceptions. 1.19 +# 1.20 +HAVE_SNPRINTF = 1 1.21 +# 1.22 +# OSF1 V4.0D doesn't have snprintf but V5.0A does. 1.23 +# 1.24 +ifeq ($(OS_TARGET)$(OS_RELEASE),OSF1V4.0D) 1.25 +HAVE_SNPRINTF = 1.26 +endif 1.27 +ifdef HAVE_SNPRINTF 1.28 +DEFINES += -DHAVE_SNPRINTF 1.29 +endif 1.30 + 1.31 +ifeq (,$(filter-out IRIX Linux,$(OS_TARGET))) 1.32 +DEFINES += -DHAVE_SYS_CDEFS_H 1.33 +endif 1.34 + 1.35 +ifeq (,$(filter-out DGUX NCR ReliantUNIX SCO_SV SCOOS UNIXWARE,$(OS_TARGET))) 1.36 +DEFINES += -DHAVE_SYS_BYTEORDER_H 1.37 +endif 1.38 + 1.39 +# 1.40 +# None of the platforms that we are interested in need to 1.41 +# define HAVE_MEMORY_H. 1.42 +#