diff --git a/configure b/configure index e4a4c519247f09ba8b15cf43b6c8b4610c17f09c..a19a1b3815a48eb6cd5d7e4918bfdd0fd946ce10 100755 --- a/configure +++ b/configure @@ -92,15 +92,16 @@ AFS \ TABLE \ " configenvvars= -#for c in $envvars ; do -# if test ! "x${!c}" = "x" ; then -# if test ! "x$configenvvars" = "x" ; then -# configenvvars="$configenvvars $c=${!c}" -# else -# configenvvars=$c=${!c} -# fi -# fi -#done +for c in $envvars ; do + cc=`eval echo "$"$c` + if test ! "x$cc" = "x" ; then + if test ! "x$configenvvars" = "x" ; then + configenvvars="$configenvvars $c=$cc" + else + configenvvars="$c=$cc" + fi + fi +done configargs="$*"