common/autoconf/configure.ac
changeset 29790 79641c886929
parent 29662 78c47f0002c3
child 30417 581a2762eef1
equal deleted inserted replaced
29789:bfb0c4f25f0f 29790:79641c886929
   259 # At the end, call the custom hook. (Dummy macro if no custom sources available)
   259 # At the end, call the custom hook. (Dummy macro if no custom sources available)
   260 CUSTOM_LATE_HOOK
   260 CUSTOM_LATE_HOOK
   261 
   261 
   262 # We're messing a bit with internal autoconf variables to put the config.status
   262 # We're messing a bit with internal autoconf variables to put the config.status
   263 # in the output directory instead of the current directory.
   263 # in the output directory instead of the current directory.
   264 CONFIG_STATUS="$OUTPUT_ROOT/config.status"
   264 CONFIG_STATUS="$CONFIGURESUPPORT_OUTPUTDIR/config.status"
   265 
   265 
   266 # Create the actual output files. Now the main work of configure is done.
   266 # Create the actual output files. Now the main work of configure is done.
   267 AC_OUTPUT
   267 AC_OUTPUT
   268 CUSTOM_CONFIG_OUTPUT_GENERATED_HOOK
   268 CUSTOM_CONFIG_OUTPUT_GENERATED_HOOK
   269 
   269 
   270 # Try to move the config.log file to the output directory.
   270 # Try to move the config.log file to the output directory.
   271 if test -e ./config.log; then
   271 if test -e ./config.log; then
   272   $MV -f ./config.log "$OUTPUT_ROOT/config.log" 2> /dev/null
   272   $MV -f ./config.log "$CONFIGURESUPPORT_OUTPUTDIR/config.log" 2> /dev/null
   273 fi
   273 fi
   274 
   274 
   275 # Make the compare script executable
   275 # Make the compare script executable
   276 $CHMOD +x $OUTPUT_ROOT/compare.sh
   276 $CHMOD +x $OUTPUT_ROOT/compare.sh
   277 
   277