diff --git a/configure.in b/configure.in index a604003e65d2..0f98769a85ac 100644 --- a/configure.in +++ b/configure.in @@ -673,7 +673,7 @@ See https://developer.mozilla.org/en/Windows_Build_Prerequisites.]) fi if test "$WRAP_STL_INCLUDES" = "1"; then - STL_FLAGS="-I${DIST}/stl_wrappers" + STL_FLAGS='-I$(DIST)/stl_wrappers' fi CFLAGS="$CFLAGS -D_HAS_EXCEPTIONS=0" CXXFLAGS="$CXXFLAGS -D_HAS_EXCEPTIONS=0" @@ -2584,7 +2584,7 @@ if test "$GNU_CC" -a "$OS_TARGET" != WINNT; then VISIBILITY_FLAGS='-fvisibility=hidden -fvisibility-inlines-hidden' ;; *) - VISIBILITY_FLAGS="-I${DIST}/system_wrappers -include ${_topsrcdir}/config/gcc_hidden.h" + VISIBILITY_FLAGS='-I$(DIST)/system_wrappers -include $(MOZILLA_DIR)/config/gcc_hidden.h' WRAP_SYSTEM_INCLUDES=1 ;; esac @@ -2599,13 +2599,13 @@ case "${OS_TARGET}" in WINNT|Darwin|Android) ;; *) - STL_FLAGS="-I${DIST}/stl_wrappers" + STL_FLAGS='-I$(DIST)/stl_wrappers' WRAP_STL_INCLUDES=1 ;; esac AC_SUBST(WRAP_SYSTEM_INCLUDES) -AC_SUBST_LIST(VISIBILITY_FLAGS) +AC_SUBST(VISIBILITY_FLAGS) dnl Checks for header files. dnl ======================================================== diff --git a/js/src/configure.in b/js/src/configure.in index 2c5a135f05bd..3d3108329261 100644 --- a/js/src/configure.in +++ b/js/src/configure.in @@ -2136,10 +2136,10 @@ if test "$GNU_CC" -a "$OS_TARGET" != WINNT; then *) case $GCC_VERSION in 4.6*) - VISIBILITY_FLAGS="-I${DIST}/system_wrappers -include ${_topsrcdir}/config/gcc_hidden_dso_handle.h" + VISIBILITY_FLAGS='-I$(DIST)/system_wrappers -include $(topsrcdir)/config/gcc_hidden_dso_handle.h' ;; *) - VISIBILITY_FLAGS="-I${DIST}/system_wrappers -include ${_topsrcdir}/config/gcc_hidden.h" + VISIBILITY_FLAGS='-I$(DIST)/system_wrappers -include $(topsrcdir)/config/gcc_hidden.h' ;; esac WRAP_SYSTEM_INCLUDES=1 @@ -2156,13 +2156,13 @@ case "${OS_TARGET}" in WINNT|Darwin|Android) ;; *) - STL_FLAGS="-I${DIST}/stl_wrappers" + STL_FLAGS='-I$(DIST)/stl_wrappers' WRAP_STL_INCLUDES=1 ;; esac AC_SUBST(WRAP_SYSTEM_INCLUDES) -AC_SUBST_LIST(VISIBILITY_FLAGS) +AC_SUBST(VISIBILITY_FLAGS) dnl Checks for header files. dnl ========================================================