Source code

Revision control

Other Tools

1
dnl
2
dnl Local autoconf macros used with mozilla
3
dnl The contents of this file are under the Public Domain.
4
dnl
5
6
builtin(include, ../../build/autoconf/hotfixes.m4)dnl
7
builtin(include, ../../build/autoconf/hooks.m4)dnl
8
builtin(include, ../../build/autoconf/config.status.m4)dnl
9
builtin(include, ../../build/autoconf/toolchain.m4)dnl
10
builtin(include, ../../build/autoconf/pkg.m4)dnl
11
builtin(include, ../../build/autoconf/nspr.m4)dnl
12
builtin(include, ../../build/autoconf/nspr-build.m4)dnl
13
builtin(include, ../../build/autoconf/codeset.m4)dnl
14
builtin(include, ../../build/autoconf/altoptions.m4)dnl
15
builtin(include, ../../build/autoconf/mozprog.m4)dnl
16
builtin(include, ../../build/autoconf/mozheader.m4)dnl
17
builtin(include, ../../build/autoconf/compiler-opts.m4)dnl
18
builtin(include, ../../build/autoconf/expandlibs.m4)dnl
19
builtin(include, ../../build/autoconf/arch.m4)dnl
20
builtin(include, ../../build/autoconf/android.m4)dnl
21
builtin(include, ../../build/autoconf/zlib.m4)dnl
22
builtin(include, ../../build/autoconf/icu.m4)dnl
23
builtin(include, ../../build/autoconf/clang-plugin.m4)dnl
24
builtin(include, ../../build/autoconf/alloc.m4)dnl
25
builtin(include, ../../build/autoconf/sanitize.m4)dnl
26
builtin(include, ../../build/autoconf/ios.m4)dnl
27
28
define([__MOZ_AC_INIT_PREPARE], defn([AC_INIT_PREPARE]))
29
define([AC_INIT_PREPARE],
30
[if test -z "$srcdir"; then
31
srcdir=`dirname "[$]0"`
32
fi
33
srcdir="$srcdir/../.."
34
__MOZ_AC_INIT_PREPARE($1)
35
])
36
37
MOZ_PROG_CHECKMSYS()
38
dnl This won't actually read the mozconfig, but data that configure.py
39
dnl will have placed for us to read. Configure.py takes care of not reading
40
dnl the mozconfig where appropriate but can still give us some variables
41
dnl to read.
42
MOZ_READ_MOZCONFIG(.)