зеркало из https://github.com/mozilla/gecko-dev.git
Do not rely on PATH to load included scripts. Fix for BSDI bug #5189.
This commit is contained in:
Родитель
cafa628f49
Коммит
9bed426eaf
|
@ -96,9 +96,8 @@ AC_DEFUN(MOZ_READ_MOZCONFIG,
|
|||
[AC_REQUIRE([AC_INIT_BINSH])dnl
|
||||
# Read in '.mozconfig' script to set the initial options.
|
||||
# See the load-mozconfig.sh script for more details.
|
||||
TOPSRCDIR=`dirname [$]0`
|
||||
PATH="$TOPSRCDIR/build/autoconf:$PATH"
|
||||
. load-mozconfig.sh])
|
||||
_topsrcdir=`dirname [$]0`
|
||||
. $_topsrcdir/build/autoconf/load-mozconfig.sh])
|
||||
|
||||
dnl This gets inserted at the top of the configure script
|
||||
MOZ_READ_MOZCONFIG
|
||||
|
|
|
@ -86,7 +86,8 @@ done
|
|||
|
||||
# Call find-mozconfig.sh
|
||||
# In params: $MOZCONFIG $HOME (old:$MOZ_MYCONFIG)
|
||||
MOZCONFIG=`$TOPSRCDIR/build/autoconf/find-mozconfig.sh`
|
||||
_topsrcdir=`dirname $0`
|
||||
MOZCONFIG=`$_topsrcdir/build/autoconf/find-mozconfig.sh`
|
||||
|
||||
if [ "$MOZCONFIG" ]; then
|
||||
. $MOZCONFIG
|
||||
|
|
Загрузка…
Ссылка в новой задаче