Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hutchinson <mhutchinson@novell.com>2007-09-17 21:18:02 +0400
committerMichael Hutchinson <mhutchinson@novell.com>2007-09-17 21:18:02 +0400
commit374b8acc5cbaa5a8e37d41a261908b4889374669 (patch)
treee5205ea8dc0f2a778cd0a516b4223428ef8897be /configure.in
parent8073c3130aa7743b103b54b14d68256dcc4e9fd0 (diff)
Try another Mozilla detection method for SuSE Firefox
svn path=/trunk/monodevelop/; revision=85909
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
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)