Bug 487602 Failed to compile firefox on Solaris r=bsmedberg
authorGinn Chen <ginn.chen@sun.com>
Mon, 20 Apr 2009 15:22:06 +0800
changeset 27516 e33f765a54cf04d16e5900b88e4693c65f6e2b79
parent 27515 cb56ac9374812007c1af1d8a5caa93d73575da02
child 27517 4e1bda073737ca97325b595620a2b0c850d7dcf8
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbsmedberg
bugs487602
milestone1.9.2a1pre
Bug 487602 Failed to compile firefox on Solaris r=bsmedberg
build/autoconf/mozprog.m4
js/src/build/autoconf/mozprog.m4
--- a/build/autoconf/mozprog.m4
+++ b/build/autoconf/mozprog.m4
@@ -43,28 +43,34 @@ if test `uname -s | grep -c MINGW 2>/dev
 fi
 ])
 
 AC_DEFUN(MOZ_PATH_PROG,
 [ AC_PATH_PROG($1,$2,$3,$4)
   if test "$msyshost"; then
     case "[$]$1" in
     /*)
-      $1="$(cd "$(dirname "[$]$1")" && pwd -W)/$(basename "[$]$1")"
+      tmp_DIRNAME=`dirname "[$]$1"`
+      tmp_BASENAME=`basename "[$]$1"`
+      tmp_PWD=`cd "$tmp_DIRNAME" && pwd -W`
+      $1="$tmp_PWD/$tmp_BASENAME"
       if test -e "[$]$1.exe"; then
         $1="[$]$1.exe"
       fi
     esac
   fi
 ])
 
 AC_DEFUN(MOZ_PATH_PROGS,
 [  AC_PATH_PROGS($1,$2,$3,$4)
   if test "$msyshost"; then
     case "[$]$1" in
     /*)
-      $1="$(cd "$(dirname "[$]$1")" && pwd -W)/$(basename "[$]$1")"
+      tmp_DIRNAME=`dirname "[$]$1"`
+      tmp_BASENAME=`basename "[$]$1"`
+      tmp_PWD=`cd "$tmp_DIRNAME" && pwd -W`
+      $1="$tmp_PWD/$tmp_BASENAME"
       if test -e "[$]$1.exe"; then
         $1="[$]$1.exe"
       fi
     esac
   fi
 ])
--- a/js/src/build/autoconf/mozprog.m4
+++ b/js/src/build/autoconf/mozprog.m4
@@ -43,28 +43,34 @@ if test `uname -s | grep -c MINGW 2>/dev
 fi
 ])
 
 AC_DEFUN(MOZ_PATH_PROG,
 [ AC_PATH_PROG($1,$2,$3,$4)
   if test "$msyshost"; then
     case "[$]$1" in
     /*)
-      $1="$(cd "$(dirname "[$]$1")" && pwd -W)/$(basename "[$]$1")"
+      tmp_DIRNAME=`dirname "[$]$1"`
+      tmp_BASENAME=`basename "[$]$1"`
+      tmp_PWD=`cd "$tmp_DIRNAME" && pwd -W`
+      $1="$tmp_PWD/$tmp_BASENAME"
       if test -e "[$]$1.exe"; then
         $1="[$]$1.exe"
       fi
     esac
   fi
 ])
 
 AC_DEFUN(MOZ_PATH_PROGS,
 [  AC_PATH_PROGS($1,$2,$3,$4)
   if test "$msyshost"; then
     case "[$]$1" in
     /*)
-      $1="$(cd "$(dirname "[$]$1")" && pwd -W)/$(basename "[$]$1")"
+      tmp_DIRNAME=`dirname "[$]$1"`
+      tmp_BASENAME=`basename "[$]$1"`
+      tmp_PWD=`cd "$tmp_DIRNAME" && pwd -W`
+      $1="$tmp_PWD/$tmp_BASENAME"
       if test -e "[$]$1.exe"; then
         $1="[$]$1.exe"
       fi
     esac
   fi
 ])