diff --git a/aclocal.m4 b/aclocal.m4 index 405a79b172..7a17bd0d86 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -13,6 +13,10 @@ builtin(include, mozilla/build/autoconf/libart.m4)dnl builtin(include, mozilla/build/autoconf/pkg.m4)dnl builtin(include, mozilla/build/autoconf/freetype2.m4)dnl builtin(include, mozilla/build/autoconf/codeset.m4)dnl -dnl -define(MOZ_TOPSRCDIR,mozilla)dnl MOZ_TOPSRCDIR is used in altoptions.m4 builtin(include, mozilla/build/autoconf/altoptions.m4)dnl + +# Read the user's .mozconfig script. We can't do this in +# configure.in: autoconf puts the argument parsing code above anything +# expanded from configure.in, and we need to get the configure options +# from .mozconfig in place before that argument parsing code. +MOZ_READ_MOZCONFIG(.)