Bug 1038029 - Bad cache file is used for the LDAP C SDK, r=glandium
authorJoshua Cranmer <Pidgeot18@gmail.com>
Tue, 15 Jul 2014 20:14:50 -0500
changeset 216209 9a3585421dd4a1a34c1b899b533dd6a100537c8f
parent 216208 bc0d9b08d24ecf99a51ac142e72bcc981950cf24
child 216210 f1c0bd6d13aad721c32b12b02dd3ff605f9eb375
push id515
push userraliiev@mozilla.com
push dateMon, 06 Oct 2014 12:51:51 +0000
treeherdermozilla-release@267c7a481bef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1038029
milestone33.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1038029 - Bad cache file is used for the LDAP C SDK, r=glandium
build/autoconf/hooks.m4
--- a/build/autoconf/hooks.m4
+++ b/build/autoconf/hooks.m4
@@ -49,16 +49,17 @@ for moz_config_dir in $1; do
 
   if test -d "$moz_config_dir"; then
     (cd "$moz_config_dir"; eval $PYTHON $_topsrcdir/build/subconfigure.py dump "$_CONFIG_SHELL" $ac_configure_args)
   else
     mkdir -p "$moz_config_dir"
   fi
   _save_cache_file="$cache_file"
   ifelse($2,,cache_file="$moz_config_dir/config.cache",cache_file="$2")
+  cache_file="$(cd $(dirname "$cache_file"); pwd -W 2>/dev/null || pwd)/$(basename "$cache_file")"
   _MOZ_AC_OUTPUT_SUBDIRS($moz_config_dir)
   cache_file="$_save_cache_file"
   (cd "$moz_config_dir"; $PYTHON $_topsrcdir/build/subconfigure.py adjust $ac_sub_configure)
 done
 
 MOZ_CONFIG_LOG_TRAP
 ])