security/nss/lib/dbm/config/config.mk

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 #! gmake
michael@0 2 #
michael@0 3 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 6
michael@0 7 #
michael@0 8 # These macros are defined by mozilla's configure script.
michael@0 9 # We define them manually here.
michael@0 10 #
michael@0 11
michael@0 12 DEFINES += -DSTDC_HEADERS -DHAVE_STRERROR
michael@0 13
michael@0 14 #
michael@0 15 # Most platforms have snprintf, so it's simpler to list the exceptions.
michael@0 16 #
michael@0 17 HAVE_SNPRINTF = 1
michael@0 18 #
michael@0 19 # OSF1 V4.0D doesn't have snprintf but V5.0A does.
michael@0 20 #
michael@0 21 ifeq ($(OS_TARGET)$(OS_RELEASE),OSF1V4.0D)
michael@0 22 HAVE_SNPRINTF =
michael@0 23 endif
michael@0 24 ifdef HAVE_SNPRINTF
michael@0 25 DEFINES += -DHAVE_SNPRINTF
michael@0 26 endif
michael@0 27
michael@0 28 ifeq (,$(filter-out IRIX Linux,$(OS_TARGET)))
michael@0 29 DEFINES += -DHAVE_SYS_CDEFS_H
michael@0 30 endif
michael@0 31
michael@0 32 ifeq (,$(filter-out DGUX NCR ReliantUNIX SCO_SV SCOOS UNIXWARE,$(OS_TARGET)))
michael@0 33 DEFINES += -DHAVE_SYS_BYTEORDER_H
michael@0 34 endif
michael@0 35
michael@0 36 #
michael@0 37 # None of the platforms that we are interested in need to
michael@0 38 # define HAVE_MEMORY_H.
michael@0 39 #

mercurial