diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in index f582608fa8..c574f4a34a 100644 --- a/configure.in +++ b/configure.in @@ -331,7 +331,9 @@ if !(test -n "$MOZILLA_HOME"); then elif test -n "$mozilla_script" && grep "MOZILLA_FIVE_HOME=" $mozilla_script > /dev/null ; then MOZILLA_HOME=$(grep "MOZILLA_FIVE_HOME=" $mozilla_script | cut -d '"' -f 2 | cut -d '=' -f 2) elif test -n "$firefox_script" ; then - if grep "MOZILLA_FIVE_HOME=" $firefox_script > /dev/null ; then + if grep "MOZ_DIST_LIB=" $firefox_script > /dev/null; then + MOZILLA_HOME=$(grep "MOZ_DIST_LIB=" $firefox_script | cut -d '"' -f 2 | cut -d '=' -f 2) + elif grep "MOZILLA_FIVE_HOME=" $firefox_script > /dev/null ; then MOZILLA_HOME=$(grep "MOZILLA_FIVE_HOME=" $firefox_script | cut -d '"' -f 2 | cut -d '=' -f 2) elif grep "MOZILLA_LIBDIR=" $firefox_script > /dev/null ; then MOZILLA_HOME=$(grep "MOZILLA_LIBDIR=" $firefox_script | cut -d '"' -f 2 | cut -d '=' -f 2) |