From a432fc820ecd193315e960ce75d814e0eab730a4 Mon Sep 17 00:00:00 2001 From: Dan Witte Date: Thu, 15 Apr 2010 11:30:28 -0700 Subject: [PATCH] Bug 557852 - Fix libffi config.cache location. r=bsmedberg --- js/src/configure.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/js/src/configure.in b/js/src/configure.in index 2cccb1bdbe6c..b3854a09e6ad 100644 --- a/js/src/configure.in +++ b/js/src/configure.in @@ -5289,8 +5289,6 @@ MAKEFILES=" Makefile shell/Makefile lirasm/Makefile - ctypes/Makefile - ctypes/tests/Makefile jsapi-tests/Makefile tests/Makefile config/Makefile @@ -5386,8 +5384,9 @@ if test "$JS_HAS_CTYPES"; then # Use a separate cache file for libffi, since it does things differently # from our configure. + mkdir -p $_objdir/ctypes/libffi old_cache_file=$cache_file - cache_file=ctypes/libffi/config.cache + cache_file=$_objdir/ctypes/libffi/config.cache old_config_files=$CONFIG_FILES unset CONFIG_FILES AC_OUTPUT_SUBDIRS(ctypes/libffi)