+ set new_runline $runline
+ #replace %prcontext with prcontext.tcl (Must replace before %p)
+ regsub -all {%prcontext} $new_runline $prcontext new_runline
+ #replace %llvmgcc with actual path to llvmgcc
+ regsub -all {%llvmgcc} $new_runline "$llvmgcc -emit-llvm" new_runline
+ #replace %llvmgxx with actual path to llvmg++
+ regsub -all {%llvmgxx} $new_runline "$llvmgxx -emit-llvm" new_runline
+ #replace %compile_c with C compilation command
+ regsub -all {%compile_c} $new_runline "$compile_c" new_runline
+ #replace %compile_cxx with C++ compilation command
+ regsub -all {%compile_cxx} $new_runline "$compile_cxx" new_runline
+ #replace %link with C++ link command
+ regsub -all {%link} $new_runline "$link" new_runline
+ #replace %shlibext with shared library extension
+ regsub -all {%shlibext} $new_runline "$shlibext" new_runline
+ #replace %llvmlibsdir with configure library directory
+ regsub -all {%llvmlibsdir} $new_runline "$llvmlibsdir" new_runline
+ #replace %p with path to source,
+ regsub -all {%p} $new_runline [file join $srcdir $subdir] new_runline