Bug 566167 - Can't build c-c when configured with a relative path (Fix regression from Bug 560007) r=KaiRo, f=sgautherie
authorJustin Wood <Callek@gmail.com>
Sun, 16 May 2010 22:03:54 -0400
changeset 5690 ef85cd92359de5742fc822f53ec64974a2a235a7
parent 5689 8c6e4d62d98e6cd0def8285d526e8c6561af7a33
child 5691 225cad32a651f3d8240d867dc3be334ae40c1f61
push idunknown
push userunknown
push dateunknown
reviewersKaiRo
bugs566167, 560007
Bug 566167 - Can't build c-c when configured with a relative path (Fix regression from Bug 560007) r=KaiRo, f=sgautherie
configure.in
--- a/configure.in
+++ b/configure.in
@@ -1730,17 +1730,17 @@ case "$host" in
     fi
     HOST_CFLAGS="$HOST_CFLAGS -DXP_WIN32 -DXP_WIN -DWIN32 -D_WIN32 -DNO_X11"
     HOST_NSPR_MDCPUCFG='\"md/_winnt.cfg\"'
     HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O2}"
     HOST_BIN_SUFFIX=.exe
     case "$host" in
     *mingw*)
     dnl MinGW/MSYS does not need CYGWIN_WRAPPER
-        PERL="/bin/sh ${MOZILLA_SRCDIR}/build/msys-perl-wrapper"
+        PERL="/bin/sh ${_topsrcdir}/mozilla/build/msys-perl-wrapper"
         ;;
     *)
         CYGWIN_WRAPPER="${srcdir}/build/cygwin-wrapper"
         if test "`echo ${srcdir} | grep -c ^/ 2>/dev/null`" = 0; then
             _pwd=`pwd`
             CYGWIN_WRAPPER="${_pwd}/${srcdir}/build/cygwin-wrapper"
         fi
         if test "`${PERL} -v | grep -c cygwin  2>/dev/null`" = 0; then