Mercurial > trustbridge > nss-cmake-static
comparison nss/lib/dbm/config/config.mk @ 3:150b72113545
Add DBM and legacydb support
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 05 Aug 2014 18:32:02 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2:a945361df361 | 3:150b72113545 |
---|---|
1 #! gmake | |
2 # | |
3 # This Source Code Form is subject to the terms of the Mozilla Public | |
4 # License, v. 2.0. If a copy of the MPL was not distributed with this | |
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
6 | |
7 # | |
8 # These macros are defined by mozilla's configure script. | |
9 # We define them manually here. | |
10 # | |
11 | |
12 DEFINES += -DSTDC_HEADERS -DHAVE_STRERROR | |
13 | |
14 # | |
15 # Most platforms have snprintf, so it's simpler to list the exceptions. | |
16 # | |
17 HAVE_SNPRINTF = 1 | |
18 # | |
19 # OSF1 V4.0D doesn't have snprintf but V5.0A does. | |
20 # | |
21 ifeq ($(OS_TARGET)$(OS_RELEASE),OSF1V4.0D) | |
22 HAVE_SNPRINTF = | |
23 endif | |
24 ifdef HAVE_SNPRINTF | |
25 DEFINES += -DHAVE_SNPRINTF | |
26 endif | |
27 | |
28 ifeq (,$(filter-out IRIX Linux,$(OS_TARGET))) | |
29 DEFINES += -DHAVE_SYS_CDEFS_H | |
30 endif | |
31 | |
32 ifeq (,$(filter-out DGUX NCR ReliantUNIX SCO_SV SCOOS UNIXWARE,$(OS_TARGET))) | |
33 DEFINES += -DHAVE_SYS_BYTEORDER_H | |
34 endif | |
35 | |
36 # | |
37 # None of the platforms that we are interested in need to | |
38 # define HAVE_MEMORY_H. | |
39 # |