mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Look for '.mozmyconfig' in home directory
This commit is contained in:
parent
0c566cee12
commit
aa1e76f1c2
@ -94,16 +94,17 @@ AC_DEFUN(MOZ_READ_MYCONFIG,
|
||||
# Read in 'myconfig.sh' script to set the initial options.
|
||||
# See the load-myconfig.sh script for more details.
|
||||
_topsrcdir=`dirname [$]0`
|
||||
_load_myconfig=$_topsrcdir/build/autoconf/load-myconfig.sh
|
||||
if test "$MOZ_MYCONFIG"; then
|
||||
. $_load_myconfig
|
||||
elif test -f myconfig.sh; then
|
||||
MOZ_MYCONFIG=myconfig.sh
|
||||
. $_load_myconfig
|
||||
elif test -f $_topsrcdir/myconfig.sh; then
|
||||
MOZ_MYCONFIG=$_topsrcdir/myconfig.sh
|
||||
. $_load_myconfig
|
||||
fi])
|
||||
for _config in $MOZ_MYCONFIG \
|
||||
myconfig.sh \
|
||||
$_topsrcdir/myconfig.sh \
|
||||
$HOME/.mozmyconfig.sh
|
||||
do
|
||||
if test -f $_config; then
|
||||
MOZ_MYCONFIG=$_config;
|
||||
. $_topsrcdir/build/autoconf/load-myconfig.sh
|
||||
break
|
||||
fi
|
||||
done])
|
||||
|
||||
dnl This gets inserted at the top of the configure script
|
||||
MOZ_READ_MYCONFIG
|
||||
|
Loading…
Reference in New Issue
Block a user