From: Eli Zaretskii Date: Thu, 28 Mar 2013 19:19:19 +0000 (+0200) Subject: Made references to nt/inc absolute, so out-of-tree build could be supported. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~229^2~63^2~73 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=845b7499e398a10f87a0f1ed307101215c82d218;p=emacs.git Made references to nt/inc absolute, so out-of-tree build could be supported. --- diff --git a/configure.ac b/configure.ac index e412dd342e0..c0a8d9905a8 100644 --- a/configure.ac +++ b/configure.ac @@ -549,7 +549,7 @@ case "${canonical}" in *-mingw32 ) opsys=mingw32 # MinGW overrides and adds some system headers in nt/inc. - GCC_TEST_OPTIONS="-I nt/inc" + GCC_TEST_OPTIONS="-I $srcdir/nt/inc" ;; *-sysv4.2uw* ) opsys=unixware ;; *-sysv5uw* ) opsys=unixware ;; @@ -4330,7 +4330,7 @@ CFLAGS=$SAVE_CFLAGS LIBS=$SAVE_LIBS if test "${opsys}" = "mingw32"; then - CPPFLAGS="-DUSE_CRT_DLL=1 -I../nt/inc" + CPPFLAGS="-DUSE_CRT_DLL=1 -I $srcdir/nt/inc" # Remove unneeded switches from the value of CC that goes to Makefiles CC=`echo $CC | sed -e "s,$GCC_TEST_OPTIONS,,"` fi