common/autoconf/configure
changeset 34491 307c28cb36c2
parent 30417 581a2762eef1
child 35747 aeaa6d0101a8
equal deleted inserted replaced
34490:eb1c1d3d7647 34491:307c28cb36c2
   255   set -x
   255   set -x
   256 fi
   256 fi
   257 
   257 
   258 # Now transfer control to the script generated by autoconf. This is where the
   258 # Now transfer control to the script generated by autoconf. This is where the
   259 # main work is done.
   259 # main work is done.
       
   260 RCDIR=`mktemp -dt jdk-build-configure.tmp.XXXXXX` || exit $?
       
   261 trap "rm -rf \"$RCDIR\"" EXIT
   260 conf_logfile=./configure.log
   262 conf_logfile=./configure.log
   261 (exec 3>&1 ; (. $conf_script_to_run "${conf_processed_arguments[@]}" 2>&1 1>&3 ) | tee -a $conf_logfile 1>&2 ; exec 3>&-) | tee -a $conf_logfile
   263 (exec 3>&1 ; ((. $conf_script_to_run "${conf_processed_arguments[@]}" 2>&1 1>&3 ) \
   262 
   264     ; echo $? > "$RCDIR/rc" ) \
   263 conf_result_code=$?
   265     | tee -a $conf_logfile 1>&2 ; exec 3>&-) | tee -a $conf_logfile
       
   266 
       
   267 conf_result_code=`cat "$RCDIR/rc"`
   264 ###
   268 ###
   265 ### Post-processing
   269 ### Post-processing
   266 ###
   270 ###
   267 
   271 
   268 if test $conf_result_code -eq 0; then
   272 if test $conf_result_code -eq 0; then