Port aclocal.m4 change over from mozilla-central, changeset c397279747fa, r=KaiRo via IRC
authorFrank Wein <mcsmurf@mcsmurf.de>
Wed, 27 Aug 2008 20:02:03 +0200
changeset 202 5953f371f84227db35f2b27d0a7df849097e1504
parent 201 3e7fddeda96500d95a6502cf4c7dfd5b22ea87d7
child 203 bb1e359ce32537711fa2c261124c527e184ff962
push idunknown
push userunknown
push dateunknown
reviewersKaiRo
Port aclocal.m4 change over from mozilla-central, changeset c397279747fa, r=KaiRo via IRC
aclocal.m4
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -8,11 +8,15 @@ builtin(include, mozilla/build/autoconf/
 builtin(include, mozilla/build/autoconf/libIDL.m4)dnl
 builtin(include, mozilla/build/autoconf/libIDL-2.m4)dnl
 builtin(include, mozilla/build/autoconf/nspr.m4)dnl
 builtin(include, mozilla/build/autoconf/nss.m4)dnl
 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(.)