(command.CommandList children: [ (C {<.>} {<../library.sh>}) (C {<process_arguments>} {(DQ ($ Id.VSub_At '$@'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:build_dir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$LLVM_TOP') </build.llvm>)} spids: [34] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {<test>} {<Id.KW_Bang '!'>} {<-d>} {(DQ ($ Id.VSub_DollarName '$build_dir'))}) terminator: <Id.Op_Semi _> ) ] action: [(C {<mkdir>} {<-p>} {(DQ ($ Id.VSub_DollarName '$build_dir'))})] spids: [40 54] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:config_status) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$build_dir') </config.status>)} spids: [74] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {<test>} {<Id.KW_Bang '!'>} {<-f>} {(DQ ($ Id.VSub_DollarName '$config_status'))} {<-o>} {(DQ ($ Id.VSub_DollarName '$config_status'))} {<-ot>} {(DQ ($ Id.VSub_Number '$0'))} ) terminator: <Id.Op_Semi _> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:config_options) op: assign_op.Equal rhs: { (DQ <'--prefix='> ($ Id.VSub_DollarName '$PREFIX') <' --with-llvmgccdir='> ($ Id.VSub_DollarName '$PREFIX') ) } spids: [113] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$OPTIMIZED'))} {<-eq>} {<1>}) terminator: <Id.Op_Semi _> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:config_options) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$config_options') <' --enable-optimized'>)} spids: [139] ) ] ) ] spids: [122 136] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:config_options) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$config_options') <' --disable-optimized'>)} spids: [149] ) ] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$DEBUG'))} {<-eq>} {<1>}) terminator: <Id.Op_Semi _> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:config_options) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$config_options') <' --enable-debug'>)} spids: [176] ) ] ) ] spids: [159 173] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:config_options) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$config_options') <' --disable-debug'>)} spids: [186] ) ] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$ASSERTIONS'))} {<-eq>} {<1>}) terminator: <Id.Op_Semi _> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:config_options) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$config_options') <' --enable-assertions'>)} spids: [213] ) ] ) ] spids: [196 210] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:config_options) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$config_options') <' --disable-assertions'>)} spids: [223] ) ] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$CHECKING'))} {<-eq>} {<1>}) terminator: <Id.Op_Semi _> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:config_options) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$config_options') <' --enable-expensive-checks'> ) } spids: [250] ) ] ) ] spids: [233 247] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:config_options) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$config_options') <' --disable-expensive-checks'>) } spids: [260] ) ] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$DOXYGEN'))} {<-eq>} {<1>}) terminator: <Id.Op_Semi _> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:config_options) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$config_options') <' --enable-doxygen'>)} spids: [287] ) ] ) ] spids: [270 284] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:config_options) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$config_options') <' --disable-doxygen'>)} spids: [297] ) ] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$THREADS'))} {<-eq>} {<1>}) terminator: <Id.Op_Semi _> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:config_options) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$config_options') <' --enable-threads'>)} spids: [324] ) ] ) ] spids: [307 321] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:config_options) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$config_options') <' --disable-threads'>)} spids: [334] ) ] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:config_options) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$config_options') <' '> ($ Id.VSub_DollarName '$OPTIONS_DASH') <' '> ($ Id.VSub_DollarName '$OPTIONS_DASH_DASH') ) } spids: [344] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:src_dir) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> command_list: (command.CommandList children:[(C {<pwd>})]) ) } spids: [354] ) ] ) (C {<cd>} {(DQ ($ Id.VSub_DollarName '$build_dir'))}) (C {<msg>} {<0>} {<Configuring>} {($ Id.VSub_DollarName '$module')} {<with> <Id.Lit_Other ':'>} ) (C {<msg>} {<0>} {(DQ <' '> ($ Id.VSub_DollarName '$src_dir') </configure>)} {($ Id.VSub_DollarName '$config_options')} ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$src_dir') </configure>} {($ Id.VSub_DollarName '$config_options')} ) (C {<die>} {($ Id.VSub_QMark '$?')} {(DQ <'Configuring '> ($ Id.VSub_DollarName '$module') <' module failed'>)} ) ] ) ] spids: [80 106] ) ] else_action: [ (C {<msg>} {<0>} {<Module>} {($ Id.VSub_DollarName '$module')} {<already>} {<configured> <Id.Lit_Comma ','>} {<ignoring>} {<configure>} {<options.>} ) (C {<cd>} {(DQ ($ Id.VSub_DollarName '$build_dir'))}) ] ) (C {<msg>} {<0>} {<Building>} {($ Id.VSub_DollarName '$module')} {<with> <Id.Lit_Other ':'>}) (C {<msg>} {<0>} {(DQ <' make'>)} {($ Id.VSub_DollarName '$OPTIONS_ASSIGN')} {<tools-only>}) (C {<make>} {($ Id.VSub_DollarName '$OPTIONS_ASSIGN')} {<tools-only>}) ] )