Bug 471359 - export js/ system_wrappers to their own directory. r=jim
authorAlexander Sack <asac@canonical.com>
Tue, 13 Jan 2009 19:56:41 +0100
changeset 23679 09a5c40fc8e5b1e6e926f77f1bfba63add632f38
parent 23678 a8fae999e836507f3303f3fe86811281c45695ec
child 23680 1c0cbd183902ee35ae48bfbbb7a17b6e0ce473db
push id4673
push userasac@jwsdot.com
push dateWed, 14 Jan 2009 17:22:36 +0000
treeherdermozilla-central@09a5c40fc8e5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjim
bugs471359
milestone1.9.2a1pre
Bug 471359 - export js/ system_wrappers to their own directory. r=jim
js/src/config/Makefile.in
js/src/configure.in
--- a/js/src/config/Makefile.in
+++ b/js/src/config/Makefile.in
@@ -84,23 +84,23 @@ include $(topsrcdir)/config/rules.mk
 
 export:: $(TARGETS)
 ifdef HOST_PROGRAM
 	$(INSTALL) $(HOST_PROGRAM) $(DIST)/bin
 endif
 
 ifdef WRAP_SYSTEM_INCLUDES
 export::
-	if test ! -d system_wrappers; then mkdir system_wrappers; fi
+	if test ! -d system_wrappers_js; then mkdir system_wrappers_js; fi
 	$(PERL) $(srcdir)/preprocessor.pl $(DEFINES) $(ACDEFINES) \
 		-DBUILD_STATIC_LIBS=$(BUILD_STATIC_LIBS) \
-		$(srcdir)/system-headers | $(PERL) $(srcdir)/make-system-wrappers.pl system_wrappers
-	$(INSTALL) system_wrappers $(DIST)/include
+		$(srcdir)/system-headers | $(PERL) $(srcdir)/make-system-wrappers.pl system_wrappers_js
+	$(INSTALL) system_wrappers_js $(DIST)/include
 
-GARBAGE_DIRS += system_wrappers
+GARBAGE_DIRS += system_wrappers_js
 endif
 
 FORCE:
 
 ifdef MKDEPEND_DIR
 clean clobber realclean clobber_all::
 	cd $(MKDEPEND_DIR); $(MAKE) $@
 endif
--- a/js/src/configure.in
+++ b/js/src/configure.in
@@ -2839,17 +2839,17 @@ EOF
                          if test `grep -c "@PLT" conftest.S` = 0; then
                            ac_cv_visibility_builtin_bug=yes
                          fi
                        fi
                        rm -f conftest.{c,S}
                        ])
         if test "$ac_cv_have_visibility_builtin_bug" = "no" -a \
                 "$ac_cv_have_visibility_class_bug" = "no"; then
-          VISIBILITY_FLAGS='-I$(DIST)/include/system_wrappers -include $(topsrcdir)/config/gcc_hidden.h'
+          VISIBILITY_FLAGS='-I$(DIST)/include/system_wrappers_js -include $(topsrcdir)/config/gcc_hidden.h'
           WRAP_SYSTEM_INCLUDES=1
         else
           VISIBILITY_FLAGS='-fvisibility=hidden'
         fi # have visibility pragma bug
       fi   # have visibility pragma
     fi     # have visibility(default) attribute
   fi       # have visibility(hidden) attribute
 fi         # GNU_CC