From bc71a1c08c013f41c64c6bfb589baf53e97a2038 Mon Sep 17 00:00:00 2001 From: Michael Hutchinson Date: Mon, 17 Sep 2007 17:32:33 +0000 Subject: Try yet another detection method for Mozilla on SuSE svn path=/trunk/monodevelop/; revision=85915 --- configure.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index c574f4a34a..b613c22211 100644 --- a/configure.in +++ b/configure.in @@ -328,8 +328,12 @@ if !(test -n "$MOZILLA_HOME"); then MOZILLA_HOME=$MOZILLA_FIVE_HOME elif grep GRE_PATH /etc/gre.d/*.conf > /dev/null 2>&1 ; then MOZILLA_HOME=$(grep -h GRE_PATH= /etc/gre.d/*.conf | cut -d '"' -f 2 -d = | head -n 1) #" - 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 "$mozilla_script" ; then + if grep "MOZ_DIST_LIB=" $mozilla_script > /dev/null; then + MOZILLA_HOME=$(grep "MOZ_DIST_LIB=" $mozilla_script | cut -d '"' -f 2 | cut -d '=' -f 2) + elif 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) + fi elif test -n "$firefox_script" ; 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) -- cgit v1.2.3