Bug 1224460 - Use pwd -W to fill _topsrcdir in configure. r=gps

We're going to be using -I$_topsrcdir in some CFLAGS variables, and for that
we need windows-y paths, not msys paths. All things currently using
$_topsrcdir should cope with this just fine.
This commit is contained in:
Mike Hommey 2015-11-17 18:31:08 +09:00
parent 50a7b175b9
commit 172aa622eb
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ _PTHREAD_LDFLAGS=""
dnl Do not allow objdir == srcdir builds.
dnl ==============================================================
_topsrcdir=`cd \`dirname $0\`; pwd`
_topsrcdir=`cd \`dirname $0\`; pwd -W 2>/dev/null || pwd`
_objdir=`pwd`
dnl TODO Don't exempt L10N builds once bug 842760 is resolved.

View File

@ -73,7 +73,7 @@ _PTHREAD_LDFLAGS=""
dnl Do not allow objdir == srcdir builds
dnl ==============================================================
_topsrcdir=`cd $srcdir; pwd`
_topsrcdir=`cd $srcdir; pwd -W 2>/dev/null || pwd`
_objdir=`pwd`
if test "$_topsrcdir" = "$_objdir"