bug 610938 - build bustage when configuring with relative path, can't find ads2gas.pl r=khuey a=gavin
authorBrad Lassey <blassey@mozilla.com>
Thu, 11 Nov 2010 17:30:51 -0500
changeset 57365 d314daddbdde1d94bce5581f0114363723c5cccf
parent 57364 da70368cff429b8977e0a42731a427897a0a1ad6
child 57366 f57bef48f41f077ce3e2e494efe755cfc0e102c5
push id16894
push userblassey@mozilla.com
push dateThu, 11 Nov 2010 22:31:27 +0000
treeherdermozilla-central@d0486efab6ed [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskhuey, gavin
bugs610938
milestone2.0b8pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 610938 - build bustage when configuring with relative path, can't find ads2gas.pl r=khuey a=gavin
configure.in
--- a/configure.in
+++ b/configure.in
@@ -6100,17 +6100,17 @@ if test -n "$MOZ_WEBM" -a -z "$MOZ_NATIV
     ;;
     *:arm*)
       if test -n "$GNU_AS" ; then
         VPX_AS=$AS
         dnl These flags are a lie; they're just used to enable the requisite
         dnl opcodes; actual arch detection is done at runtime.
         VPX_ASFLAGS="-march=armv7-a -mfpu=neon"
         VPX_DASH_C_FLAG="-c"
-        VPX_AS_CONVERSION="$PERL ${srcdir}/media/libvpx/build/make/ads2gas.pl"
+        VPX_AS_CONVERSION='$(PERL) $(topsrcdir)/media/libvpx/build/make/ads2gas.pl'
         VPX_ASM_SUFFIX="$ASM_SUFFIX"
         VPX_ARM_ASM=1
       fi
     esac
 
     if test -n "$COMPILE_ENVIRONMENT" -a -n "$VPX_X86_ASM" -a -z "$VPX_AS"; then
       AC_MSG_ERROR([yasm is a required build tool for this architecture when webm is enabled. You may either install yasm or --disable-webm (which disables the WebM video format). See https://developer.mozilla.org/en/YASM for more details.])
     fi