# HG changeset patch # User truelight # Date 2007-01-07 13:13:01 # Node ID 3a25b20628de564dfdbc462d9111aeba5a501011 # Parent 04cff24b8937ec29ab3d242228f47467430deeaa (svn r7961) [Configure] -Fix: "" in config params didn't survive --reconfig. They should now. diff --git a/config.lib b/config.lib --- a/config.lib +++ b/config.lib @@ -257,10 +257,10 @@ save_params() { configure="$0 --ignore-extra-parameters" for p in $save_params_array; do - eval "v=\$$p" + eval "v=\"\$$p\"" p=`echo "$p" | sed 's/_/-/g;s/\n//g;'` # Only save those params that aren't empty - configure="$configure --$p=$v" + configure="$configure --$p=\"$v\"" done echo "$configure" >> $config_log diff --git a/configure b/configure --- a/configure +++ b/configure @@ -25,8 +25,9 @@ if [ "$1" = "--reconfig" ]; then exit 1 fi # Make sure we don't lock config.cache - configure=`cat config.cache` - $configure + cat config.cache > cache.tmp + sh cache.tmp + rm -f cache.tmp exit $? fi