Bug 846687 - Set the transport as non-seekable if the server sends Accept-Ranges...
[gecko.git] / config / baseconfig.mk
blobae69bae92835cb5a66f60c05e203fddfc3797c86
1 INCLUDED_AUTOCONF_MK = 1
3 includedir := $(includedir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
4 idldir = $(datadir)/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
5 installdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
6 sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION)
7 DIST = $(DEPTH)/dist
9 # We do magic with OBJ_SUFFIX in config.mk, the following ensures we don't
10 # manually use it before config.mk inclusion
11 _OBJ_SUFFIX := $(OBJ_SUFFIX)
12 OBJ_SUFFIX = $(error config/config.mk needs to be included before using OBJ_SUFFIX)
14 # We only want to do the pymake sanity on Windows, other os's can cope
15 ifeq ($(HOST_OS_ARCH),WINNT)
16 # Ensure invariants between GNU Make and pymake
17 # Checked here since we want the sane error in a file that
18 # actually can be found regardless of path-style.
19 ifeq (_:,$(.PYMAKE)_$(findstring :,$(srcdir)))
20 $(error Windows-style srcdir being used with GNU make. Did you mean to run $(topsrcdir)/build/pymake/make.py instead? [see-also: https://developer.mozilla.org/en/Gmake_vs._Pymake])
21 endif
22 ifeq (1_a,$(.PYMAKE)_$(firstword a$(subst /, ,$(srcdir))))
23 $(error MSYS-style srcdir being used with Pymake. Did you mean to run GNU Make instead? [see-also: https://developer.mozilla.org/ en/Gmake_vs._Pymake])
24 endif
25 endif # WINNT