Bug 505739 - "Remove XCFLAGS from default compile line to fix mingw cross-compile issues" (remove X_CFLAGS from CPPFLAGS) [r=bsmedberg]
--- a/configure.in
+++ b/configure.in
@@ -1014,21 +1014,16 @@ if test "$GMAKE" = ":"; then
AC_MSG_ERROR([GNU make not found])
fi
AC_SUBST(GMAKE)
if test "$COMPILE_ENVIRONMENT"; then
AC_PATH_XTRA
-dnl Check in X11 include directory too.
-if test "$no_x" != "yes"; then
- CPPFLAGS="$CPPFLAGS $X_CFLAGS"
-fi
-
XCFLAGS="$X_CFLAGS"
fi # COMPILE_ENVIRONMENT
dnl ========================================================
dnl set the defaults first
dnl ========================================================
AS_BIN=$AS
--- a/js/src/configure.in
+++ b/js/src/configure.in
@@ -834,21 +834,16 @@ cygwin*|mingw*|mks*|msvc*)
MOZ_PATH_PROGS(MAKE, $MAKE gmake make, :)
;;
esac
if test "$COMPILE_ENVIRONMENT"; then
AC_PATH_XTRA
-dnl Check in X11 include directory too.
-if test "$no_x" != "yes"; then
- CPPFLAGS="$CPPFLAGS $X_CFLAGS"
-fi
-
XCFLAGS="$X_CFLAGS"
fi # COMPILE_ENVIRONMENT
dnl ========================================================
dnl set the defaults first
dnl ========================================================
AS_BIN=$AS