(command.CommandList children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:PROGRAM) op: assign_op.Equal rhs: {<libtool>} spids: [230] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:PACKAGE) op: assign_op.Equal rhs: {<libtool>} spids: [233] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:VERSION) op: assign_op.Equal rhs: {(DQ <'2.4.2 Debian-2.4.2-1'>)} spids: [236] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:TIMESTAMP) op: assign_op.Equal rhs: {(DQ )} spids: [241] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:package_revision) op: assign_op.Equal rhs: {<1.3337>} spids: [245] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} { (DQ (braced_var_sub token: <Id.VSub_Name ZSH_VERSION> suffix_op: (suffix_op.Unary tok:<Id.VTest_Plus '+'> arg_word:{<set>}) ) ) } ) (command.Subshell child: (C {<emulate>} {<sh>}) redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/dev/null'>} ) (redir op: <Id.Redir_GreatAnd '2>&'> loc: (redir_loc.Fd fd:2) arg: {<1>} ) ] ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<emulate>} {<sh>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:NULLCMD) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} spids: [289] ) ] ) (C {<alias>} {<-g>} {(SQ <'${1+"$@"}'>) <Id.Lit_Equals '='> (SQ <'"$@"'>)}) (C {<setopt>} {<NO_GLOB_SUBST>}) ] spids: [252 281] ) ] else_action: [ (command.Case to_match: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Subshell child: (C {<set>} {<-o>}) redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] ) ) } arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <posix> <Id.Lit_Star '*'>}] action: [(C {<set>} {<-o>} {<posix>})] spids: [338 341 348 -1] ) ] ) ] ) (command.CommandList children: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:BIN_SH) op: assign_op.Equal rhs: {<xpg4>} spids: [354] ) ] ) terminator: <Id.Op_Semi _> ) (C {<export>} {<BIN_SH>}) ] ) (command.CommandList children: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:DUALCASE) op: assign_op.Equal rhs: {<1>} spids: [365] ) ] ) terminator: <Id.Op_Semi _> ) (C {<export>} {<DUALCASE>}) ] ) (command.ShFunction name: func_fallback_echo body: (BraceGroup children: [(C {<eval>} {(SQ <'cat <<_LTECHO_EOF\n'> <'$1\n'> <_LTECHO_EOF>)})] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lt_user_locale) op: assign_op.Equal rhs: (word.Empty) spids: [402] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lt_safe_locale) op: assign_op.Equal rhs: (word.Empty) spids: [404] ) ] ) (command.ForEach iter_name: lt_var iter_words: [{<LANG>} {<LANGUAGE>} {<LC_ALL>} {<LC_CTYPE>} {<LC_COLLATE>} {<LC_MESSAGES>}] do_arg_iter: F body: (command.DoGroup children: [ (C {<eval>} { (DQ <'if test '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'{'> ($ Id.VSub_DollarName '$lt_var') <'+set}'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' = set; then\n'> <' save_'> ($ Id.VSub_DollarName '$lt_var') <'='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) ($ Id.VSub_DollarName '$lt_var') <'\n'> <' '> ($ Id.VSub_DollarName '$lt_var') <'=C\n'> <'\t export '> ($ Id.VSub_DollarName '$lt_var') <'\n'> <'\t lt_user_locale='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ($ Id.VSub_DollarName '$lt_var') <'='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <save_> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'lt_var; '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <lt_user_locale> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'\n'> <'\t lt_safe_locale='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ($ Id.VSub_DollarName '$lt_var') <'=C; '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <lt_safe_locale> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'\n'> <'\tfi'> ) } ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:LC_ALL) op: assign_op.Equal rhs: {<C>} spids: [476] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:LANGUAGE) op: assign_op.Equal rhs: {<C>} spids: [479] ) ] ) (C {<export>} {<LANGUAGE>} {<LC_ALL>}) (C {($ Id.VSub_DollarName '$lt_unset')} {<CDPATH>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:progpath) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$0'))} spids: [510] ) ] ) (C {<Id.Lit_Colon ':'>} { (braced_var_sub token: <Id.VSub_Name CP> suffix_op: (suffix_op.Unary tok:<Id.VTest_Equals '='> arg_word:{(DQ <'cp -f'>)}) ) } ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} { (DQ (braced_var_sub token: <Id.VSub_Name ECHO> suffix_op: (suffix_op.Unary tok:<Id.VTest_Plus '+'> arg_word:{<set>}) ) ) } {<Id.Lit_Equals '='>} {<set>} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:ECHO) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name as_echo> suffix_op: (suffix_op.Unary tok: <Id.VTest_Hyphen -> arg_word: {(SQ <'printf %s\\n'>)} ) ) } spids: [544] ) ] ) ] ) (C {<Id.Lit_Colon ':'>} { (braced_var_sub token: <Id.VSub_Name MAKE> suffix_op: (suffix_op.Unary tok:<Id.VTest_Equals '='> arg_word:{(DQ <make>)}) ) } ) (C {<Id.Lit_Colon ':'>} { (braced_var_sub token: <Id.VSub_Name MKDIR> suffix_op: (suffix_op.Unary tok:<Id.VTest_Equals '='> arg_word:{(DQ <mkdir>)}) ) } ) (C {<Id.Lit_Colon ':'>} { (braced_var_sub token: <Id.VSub_Name MV> suffix_op: (suffix_op.Unary tok:<Id.VTest_Equals '='> arg_word:{(DQ <'mv -f'>)}) ) } ) (C {<Id.Lit_Colon ':'>} { (braced_var_sub token: <Id.VSub_Name RM> suffix_op: (suffix_op.Unary tok:<Id.VTest_Equals '='> arg_word:{(DQ <'rm -f'>)}) ) } ) (C {<Id.Lit_Colon ':'>} { (braced_var_sub token: <Id.VSub_Name SHELL> suffix_op: (suffix_op.Unary tok: <Id.VTest_Equals '='> arg_word: { (DQ (braced_var_sub token: <Id.VSub_Name CONFIG_SHELL> suffix_op: (suffix_op.Unary tok: <Id.VTest_Hyphen -> arg_word: {<Id.Lit_Slash '/'> <bin> <Id.Lit_Slash '/'> <sh>} ) ) ) } ) ) } ) (C {<Id.Lit_Colon ':'>} { (braced_var_sub token: <Id.VSub_Name Xsed> suffix_op: (suffix_op.Unary tok: <Id.VTest_Equals '='> arg_word: {(DQ ($ Id.VSub_DollarName '$SED') <' -e 1s/^X//'>)} ) ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:EXIT_SUCCESS) op: assign_op.Equal rhs: {<0>} spids: [625] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:EXIT_FAILURE) op: assign_op.Equal rhs: {<1>} spids: [628] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:EXIT_MISMATCH) op: assign_op.Equal rhs: {<63>} spids: [631] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:EXIT_SKIP) op: assign_op.Equal rhs: {<77>} spids: [637] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:exit_status) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$EXIT_SUCCESS')} spids: [644] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lt_nl) op: assign_op.Equal rhs: {(SQ <'\n'>)} spids: [651] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(DQ <' \t'> ($ Id.VSub_DollarName '$lt_nl'))} spids: [656] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dirname) op: assign_op.Equal rhs: {(DQ <'s,/[^/]*'> <Id.Lit_Dollar '$'> <',,'>)} spids: [663] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:basename) op: assign_op.Equal rhs: {(DQ <'s,^.*/,,'>)} spids: [670] ) ] ) (command.ShFunction name: func_dirname body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_dirname_result) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ (${ Id.VSub_Number 1))}) (C {($ Id.VSub_DollarName '$SED')} {(DQ ($ Id.VSub_DollarName '$dirname'))} ) ] negated: F ) ) } spids: [693] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$func_dirname_result'))} {<Id.Lit_Equals '='>} {(DQ <X> (${ Id.VSub_Number 1))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_dirname_result) op: assign_op.Equal rhs: {(DQ (${ Id.VSub_Number 3))} spids: [737] ) ] ) ] spids: [715 734] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_dirname_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_dirname_result') (${ Id.VSub_Number 2))} spids: [748] ) ] ) ] ) ] ) ) (command.ShFunction name: func_basename body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_basename_result) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ (${ Id.VSub_Number 1))}) (C {($ Id.VSub_DollarName '$SED')} {(DQ ($ Id.VSub_DollarName '$basename'))} ) ] negated: F ) ) } spids: [777] ) ] ) ] ) ) (command.ShFunction name: func_dirname_and_basename body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_dirname_result) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ (${ Id.VSub_Number 1))}) (C {($ Id.VSub_DollarName '$SED')} {<-e>} {(DQ ($ Id.VSub_DollarName '$dirname'))} ) ] negated: F ) ) } spids: [853] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$func_dirname_result'))} {<Id.Lit_Equals '='>} {(DQ <X> (${ Id.VSub_Number 1))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_dirname_result) op: assign_op.Equal rhs: {(DQ (${ Id.VSub_Number 3))} spids: [899] ) ] ) ] spids: [877 896] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_dirname_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_dirname_result') (${ Id.VSub_Number 2))} spids: [910] ) ] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_basename_result) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ (${ Id.VSub_Number 1))}) (C {($ Id.VSub_DollarName '$SED')} {<-e>} {(DQ ($ Id.VSub_DollarName '$basename'))} ) ] negated: F ) ) } spids: [922] ) ] ) ] ) ) (command.ShFunction name: func_stripname body: (BraceGroup children: [ (command.Case to_match: {(${ Id.VSub_Number 2)} arms: [ (case_arm pat_list: [{<.> <Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_stripname_result) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ (${ Id.VSub_Number 3))}) (C {($ Id.VSub_DollarName '$SED')} { (DQ <'s%^'> (${ Id.VSub_Number 1) <'%%; s%'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\\\'> ) (${ Id.VSub_Number 2) <Id.Lit_Dollar '$'> <'%%'> ) } ) ] negated: F ) ) } spids: [991] ) ] ) ] spids: [987 989 1026 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_stripname_result) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ (${ Id.VSub_Number 3))}) (C {($ Id.VSub_DollarName '$SED')} { (DQ <'s%^'> (${ Id.VSub_Number 1) <'%%; s%'> (${ Id.VSub_Number 2) <Id.Lit_Dollar '$'> <'%%'> ) } ) ] negated: F ) ) } spids: [1032] ) ] ) ] spids: [1029 1030 1063 -1] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pathcar) op: assign_op.Equal rhs: {(SQ <'s,^/\\([^/]*\\).*$,\\1,'>)} spids: [1078] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pathcdr) op: assign_op.Equal rhs: {(SQ <'s,^/[^/]*,,'>)} spids: [1083] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:removedotparts) op: assign_op.Equal rhs: {(SQ <':dotsl\n'> <'\t\ts@/\\./@/@g\n'> <'\t\tt dotsl\n'> <'\t\ts,/\\.$,/,'>)} spids: [1088] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:collapseslashes) op: assign_op.Equal rhs: {(SQ <'s@/\\{1,\\}@/@g'>)} spids: [1096] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalslash) op: assign_op.Equal rhs: {(SQ <'s,/*$,/,'>)} spids: [1101] ) ] ) (command.ShFunction name: func_normal_abspath body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_normal_abspath_result) op: assign_op.Equal rhs: (word.Empty) spids: [1134] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_normal_abspath_tpath) op: assign_op.Equal rhs: {($ Id.VSub_Number '$1')} spids: [1137] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_normal_abspath_altnamespace) op: assign_op.Equal rhs: (word.Empty) spids: [1141] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$func_normal_abspath_tpath')} arms: [ (case_arm pat_list: [{(DQ )}] action: [ (C {<func_stripname>} {(SQ )} {(SQ <'/'>)} {(DQ (command_sub left_token:<Id.Left_Backtick '`'> child:(C {<pwd>})))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_normal_abspath_result) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [1178] ) ] ) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [1151 1153 1185 -1] ) (case_arm pat_list: [{<'///'> <Id.Lit_Star '*'>}] spids: [1200 1202 1209 -1] ) (case_arm pat_list: [{<'//'> <Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_normal_abspath_altnamespace) op: assign_op.Equal rhs: {<'/'>} spids: [1229] ) ] ) ] spids: [1212 1214 1233 -1] ) (case_arm pat_list: [{<'/'> <Id.Lit_Star '*'>}] spids: [1236 1238 1245 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_normal_abspath_tpath) op: assign_op.Equal rhs: {(command_sub left_token:<Id.Left_Backtick '`'> child:(C {<pwd>})) <'/'> ($ Id.VSub_DollarName '$func_normal_abspath_tpath') } spids: [1256] ) ] ) ] spids: [1248 1249 1266 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_normal_abspath_tpath) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$func_normal_abspath_tpath'))} ) (C {($ Id.VSub_DollarName '$SED')} {<-e>} {(DQ ($ Id.VSub_DollarName '$removedotparts'))} {<-e>} {(DQ ($ Id.VSub_DollarName '$collapseslashes'))} {<-e>} {(DQ ($ Id.VSub_DollarName '$finalslash'))} ) ] negated: F ) ) } spids: [1284] ) ] ) (command.WhileUntil keyword: <Id.KW_While while> cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_Colon ':'>}) terminator: <Id.Op_Semi _> ) ] ) body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$func_normal_abspath_tpath'))} {<Id.Lit_Equals '='>} {<'/'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$func_normal_abspath_result') ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_normal_abspath_result) op: assign_op.Equal rhs: {<'/'>} spids: [1371] ) ] ) ] spids: [1356 1368] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Break break> ) ] spids: [1335 1349] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_normal_abspath_tcomponent) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$func_normal_abspath_tpath'))} ) (C {($ Id.VSub_DollarName '$SED')} {<-e>} {(DQ ($ Id.VSub_DollarName '$pathcar'))} ) ] negated: F ) ) } spids: [1384] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_normal_abspath_tpath) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$func_normal_abspath_tpath'))} ) (C {($ Id.VSub_DollarName '$SED')} {<-e>} {(DQ ($ Id.VSub_DollarName '$pathcdr'))} ) ] negated: F ) ) } spids: [1411] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$func_normal_abspath_tcomponent')} arms: [ (case_arm pat_list: [{(DQ )}] spids: [1449 1451 1458 -1] ) (case_arm pat_list: [{<..>}] action: [ (C {<func_dirname>} {(DQ ($ Id.VSub_DollarName '$func_normal_abspath_result'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_normal_abspath_result) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_dirname_result')} spids: [1476] ) ] ) ] spids: [1461 1462 1480 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_normal_abspath_result) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_normal_abspath_result') <'/'> ($ Id.VSub_DollarName '$func_normal_abspath_tcomponent') } spids: [1491] ) ] ) ] spids: [1483 1484 1497 -1] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_normal_abspath_result) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_normal_abspath_altnamespace') ($ Id.VSub_DollarName '$func_normal_abspath_result') } spids: [1510] ) ] ) ] ) ) (command.ShFunction name: func_relative_path body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_relative_path_result) op: assign_op.Equal rhs: (word.Empty) spids: [1540] ) ] ) (C {<func_normal_abspath>} {(DQ ($ Id.VSub_Number '$1'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_relative_path_tlibdir) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_normal_abspath_result')} spids: [1550] ) ] ) (C {<func_normal_abspath>} {(DQ ($ Id.VSub_Number '$2'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_relative_path_tbindir) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_normal_abspath_result')} spids: [1561] ) ] ) (command.WhileUntil keyword: <Id.KW_While while> cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_Colon ':'>}) terminator: <Id.Op_Semi _> ) ] ) body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$func_relative_path_tbindir')} arms: [ (case_arm pat_list: [{($ Id.VSub_DollarName '$func_relative_path_tlibdir')}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_relative_path_tcancelled) op: assign_op.Equal rhs: (word.Empty) spids: [1597] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Break break> ) ] spids: [1589 1590 1603 -1] ) (case_arm pat_list: [ {($ Id.VSub_DollarName '$func_relative_path_tlibdir') <Id.Lit_Star '*'>} ] action: [ (C {<func_stripname>} {(DQ ($ Id.VSub_DollarName '$func_relative_path_tlibdir'))} {(SQ )} {(DQ ($ Id.VSub_DollarName '$func_relative_path_tbindir'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_relative_path_tcancelled) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [1629] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$func_relative_path_result') ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_relative_path_result) op: assign_op.Equal rhs: {<.>} spids: [1647] ) ] ) ] spids: [1633 1644] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Break break> ) ] spids: [1606 1608 1657 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_dirname>} {($ Id.VSub_DollarName '$func_relative_path_tlibdir')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_relative_path_tlibdir) op: assign_op.Equal rhs: {(${ Id.VSub_Name func_dirname_result)} spids: [1669] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ <x> ($ Id.VSub_DollarName '$func_relative_path_tlibdir') ) } {<Id.Lit_Equals '='>} {<x>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_relative_path_result) op: assign_op.Equal rhs: {<'../'> ($ Id.VSub_DollarName '$func_relative_path_result') } spids: [1697] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_relative_path_tcancelled) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_relative_path_tbindir')} spids: [1702] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Break break> ) ] spids: [1675 1690] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_relative_path_result) op: assign_op.Equal rhs: {<'../'> ($ Id.VSub_DollarName '$func_relative_path_result')} spids: [1712] ) ] ) ] spids: [1660 1661 1717 -1] ) ] ) ] ) ) (C {<func_stripname>} {(SQ )} {(SQ <'/'>)} {(DQ ($ Id.VSub_DollarName '$func_relative_path_result'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_relative_path_result) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [1745] ) ] ) (C {<func_stripname>} {(SQ <'/'>)} {(SQ <'/'>)} {(DQ ($ Id.VSub_DollarName '$func_relative_path_tcancelled'))} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ <x> ($ Id.VSub_DollarName '$func_stripname_result'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<x>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_relative_path_result) op: assign_op.Equal rhs: {(${ Id.VSub_Name func_relative_path_result) <'/'> (${ Id.VSub_Name func_stripname_result) } spids: [1783] ) ] ) ] spids: [1764 1780] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<Id.KW_Bang '!'>} {<-z>} {(DQ ($ Id.VSub_DollarName '$func_relative_path_result'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_stripname>} {(SQ <'./'>)} {(SQ )} {(DQ ($ Id.VSub_DollarName '$func_relative_path_result') <'/'>)} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_relative_path_result) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [1840] ) ] ) ] spids: [1809 1822] ) ] ) ] ) ) (C {<func_dirname_and_basename>} {(DQ ($ Id.VSub_DollarName '$progpath'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:progname) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_basename_result')} spids: [1858] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$progpath')} arms: [ (case_arm pat_list: [ {<Id.Lit_LBracket '['> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } {<Id.Lit_LBracket '['> <A-Za-z> <Id.Lit_RBracket ']'> <Id.Lit_Colon ':'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <Id.Lit_Star '*'> } ] spids: [1872 1884 1886 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'> <Id.Lit_LBracket '['> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:progdir) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_dirname_result')} spids: [1898] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:progdir) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.AndOr ops: [Id.Op_DAmp] children: [(C {<cd>} {(DQ ($ Id.VSub_DollarName '$progdir'))}) (C {<pwd>})] ) ) } spids: [1902] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:progpath) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$progdir') <'/'> ($ Id.VSub_DollarName '$progname'))} spids: [1918] ) ] ) ] spids: [1889 1895 1926 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:save_IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$IFS'))} spids: [1933] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name PATH_SEPARATOR> suffix_op: (suffix_op.Unary tok:<Id.VTest_Hyphen -> arg_word:{<':'>}) ) } spids: [1939] ) ] ) (command.ForEach iter_name: progdir iter_words: [{($ Id.VSub_DollarName '$PATH')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$save_IFS'))} spids: [1959] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-x>} { (DQ ($ Id.VSub_DollarName '$progdir') <'/'> ($ Id.VSub_DollarName '$progname') ) } ) (command.ControlFlow token: <Id.ControlFlow_Break break> ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$save_IFS'))} spids: [1983] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$progdir'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:progdir) op: assign_op.Equal rhs: {(command_sub left_token:<Id.Left_Backtick '`'> child:(C {<pwd>}))} spids: [1999] ) ] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:progpath) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$progdir') <'/'> ($ Id.VSub_DollarName '$progname'))} spids: [2007] ) ] ) ] spids: [1929 1930 2015 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:Xsed) op: assign_op.Equal rhs: {(DQ (${ Id.VSub_Name SED)) (SQ <' -e 1s/^X//'>)} spids: [2026] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:sed_quote_subst) op: assign_op.Equal rhs: {(SQ <'s/\\([`"$\\\\]\\)/\\\\\\1/g'>)} spids: [2036] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:double_quote_subst) op: assign_op.Equal rhs: {(SQ <'s/\\(["`\\\\]\\)/\\\\\\1/g'>)} spids: [2045] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:sed_make_literal_regex) op: assign_op.Equal rhs: {(SQ <'s,[].[^$\\\\*\\/],\\\\&,g'>)} spids: [2057] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lt_sed_naive_backslashify) op: assign_op.Equal rhs: {(SQ <'s|\\\\\\\\*|\\\\|g;s|/|\\\\|g;s|\\\\|\\\\\\\\|g'>)} spids: [2072] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:bs) op: assign_op.Equal rhs: {(SQ <'\\\\'>)} spids: [2093] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:bs2) op: assign_op.Equal rhs: {(SQ <'\\\\\\\\'>)} spids: [2098] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:bs4) op: assign_op.Equal rhs: {(SQ <'\\\\\\\\\\\\\\\\'>)} spids: [2103] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dollar) op: assign_op.Equal rhs: {(SQ <'\\$'>)} spids: [2108] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:sed_double_backslash) op: assign_op.Equal rhs: { (DQ <' s/'> ($ Id.VSub_DollarName '$bs4') <'/&'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <'\n'> <'/g\n'> <' s/^'> ($ Id.VSub_DollarName '$bs2') ($ Id.VSub_DollarName '$dollar') <'/'> ($ Id.VSub_DollarName '$bs') <'&/\n'> <' s/'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <'([^'> ($ Id.VSub_DollarName '$bs') <']'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <')'> ($ Id.VSub_DollarName '$bs2') ($ Id.VSub_DollarName '$dollar') <'/'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <1> ($ Id.VSub_DollarName '$bs2') ($ Id.VSub_DollarName '$bs') ($ Id.VSub_DollarName '$dollar') <'/g\n'> <' s/'> <Id.Lit_BadBackslash '\\'> <'n//g'> ) } spids: [2113] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_dry_run) op: assign_op.Equal rhs: {<false>} spids: [2153] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_help) op: assign_op.Equal rhs: {<false>} spids: [2156] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_quiet) op: assign_op.Equal rhs: {<false>} spids: [2159] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_verbose) op: assign_op.Equal rhs: {<false>} spids: [2162] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_warning) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} spids: [2165] ) ] ) (command.ShFunction name: func_echo body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ ($ Id.VSub_DollarName '$progname') <': '> (braced_var_sub token: <Id.VSub_Name opt_mode> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {($ Id.VSub_DollarName '$opt_mode') <': '>} ) ) ($ Id.VSub_Star '$*') ) } ) ] ) ) (command.ShFunction name: func_verbose body: (BraceGroup children: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {($ Id.VSub_DollarName '$opt_verbose')}) (C {<func_echo>} { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {(DQ ($ Id.VSub_At '$@'))} ) ) } ) ] ) (C {<Id.Lit_Colon ':'>}) ] ) ) (command.ShFunction name: func_echo_all body: (BraceGroup children:[(C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_Star '$*'))})]) ) (command.ShFunction name: func_error body: (BraceGroup children: [ (command.Simple words: [ {($ Id.VSub_DollarName '$ECHO')} { (DQ ($ Id.VSub_DollarName '$progname') <': '> (braced_var_sub token: <Id.VSub_Name opt_mode> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {($ Id.VSub_DollarName '$opt_mode') <': '>} ) ) ) (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {(DQ ($ Id.VSub_At '$@'))} ) ) } ] redirects: [(redir op:<Id.Redir_GreatAnd '1>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})] do_fork: T ) ] ) ) (command.ShFunction name: func_warning body: (BraceGroup children: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {($ Id.VSub_DollarName '$opt_warning')}) (command.Simple words: [ {($ Id.VSub_DollarName '$ECHO')} { (DQ ($ Id.VSub_DollarName '$progname') <': '> (braced_var_sub token: <Id.VSub_Name opt_mode> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {($ Id.VSub_DollarName '$opt_mode') <': '>} ) ) <'warning: '> ) (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {(DQ ($ Id.VSub_At '$@'))} ) ) } ] redirects: [(redir op:<Id.Redir_GreatAnd '1>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})] do_fork: T ) ] ) (C {<Id.Lit_Colon ':'>}) ] ) ) (command.ShFunction name: func_fatal_error body: (BraceGroup children: [ (C {<func_error>} { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {(DQ ($ Id.VSub_At '$@'))} ) ) } ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$EXIT_FAILURE')} ) ] ) ) (command.ShFunction name: func_fatal_help body: (BraceGroup children: [ (C {<func_error>} { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {(DQ ($ Id.VSub_At '$@'))} ) ) } ) (C {<func_fatal_error>} {(DQ ($ Id.VSub_DollarName '$help'))}) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:help) op: assign_op.Equal rhs: { (DQ <'Try '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$progname') <' --help\' for more information.'> ) } spids: [2434] ) ] ) (command.ShFunction name: func_grep body: (BraceGroup children: [ (command.Simple words: [ {($ Id.VSub_DollarName '$GREP')} {(DQ ($ Id.VSub_Number '$1'))} {(DQ ($ Id.VSub_Number '$2'))} ] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/dev/null'>} ) (redir op:<Id.Redir_GreatAnd '2>&'> loc:(redir_loc.Fd fd:2) arg:{<1>}) ] do_fork: T ) ] ) ) (command.ShFunction name: func_mkdir_p body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_directory_path) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [2495] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_dir_list) op: assign_op.Equal rhs: (word.Empty) spids: [2501] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$my_directory_path'))}) (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_dry_run'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <':'>)} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {($ Id.VSub_DollarName '$my_directory_path')} arms: [ (case_arm pat_list: [{<-> <Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_directory_path) op: assign_op.Equal rhs: {(DQ <'./'> ($ Id.VSub_DollarName '$my_directory_path'))} spids: [2550] ) ] ) ] spids: [2546 2548 2556 -1] ) ] ) (command.WhileUntil keyword: <Id.KW_While while> cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<Id.KW_Bang '!'>} {<-d>} {(DQ ($ Id.VSub_DollarName '$my_directory_path'))} ) terminator: <Id.Op_Semi _> ) ] ) body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_dir_list) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$my_directory_path') <':'> ($ Id.VSub_DollarName '$my_dir_list') ) } spids: [2591] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$my_directory_path')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <'/'> <Id.Lit_Star '*'>}] spids: [2610 2613 2615 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [(command.ControlFlow token:<Id.ControlFlow_Break break>)] spids: [2617 2618 2622 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_directory_path) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$my_directory_path'))} ) (C {($ Id.VSub_DollarName '$SED')} {<-e>} {(DQ ($ Id.VSub_DollarName '$dirname'))} ) ] negated: F ) ) } spids: [2632] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_dir_list) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$my_dir_list'))} ) (C {($ Id.VSub_DollarName '$SED')} {(SQ <'s,:*$,,'>)}) ] negated: F ) ) } spids: [2657] ) ] ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:save_mkdir_p_IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$IFS'))} spids: [2678] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(SQ <':'>)} spids: [2684] ) ] ) (command.ForEach iter_name: my_dir iter_words: [{($ Id.VSub_DollarName '$my_dir_list')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$save_mkdir_p_IFS'))} spids: [2702] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (command.Simple words: [ {($ Id.VSub_DollarName '$MKDIR')} {(DQ ($ Id.VSub_DollarName '$my_dir'))} ] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) (C {<Id.Lit_Colon ':'>}) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$save_mkdir_p_IFS'))} spids: [2737] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {<-d>} {(DQ ($ Id.VSub_DollarName '$my_directory_path'))}) (C {<func_fatal_error>} { (DQ <'Failed to create '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_Number '$1') <'\''> ) } ) ] ) ] spids: [2505 2531] ) ] ) ] ) ) (command.ShFunction name: func_mktempdir body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_template) op: assign_op.Equal rhs: { (DQ (braced_var_sub token: <Id.VSub_Name TMPDIR> suffix_op: (suffix_op.Unary tok: <Id.VTest_Hyphen -> arg_word: {<Id.Lit_Slash '/'> <tmp>} ) ) <'/'> (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok: <Id.VTest_Hyphen -> arg_word: {($ Id.VSub_DollarName '$progname')} ) ) ) } spids: [2796] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_dry_run'))} {<Id.Lit_Equals '='>} {(DQ <':'>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_tmpdir) op: assign_op.Equal rhs: {(DQ (${ Id.VSub_Name my_template) <-> ($ Id.VSub_Dollar '$$'))} spids: [2836] ) ] ) ] spids: [2814 2829] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_tmpdir) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Simple words: [ {<mktemp>} {<-d>} {(DQ (${ Id.VSub_Name my_template) <-XXXXXXXX>)} ] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) ) } spids: [2854] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<Id.KW_Bang '!'>} {<-d>} {(DQ ($ Id.VSub_DollarName '$my_tmpdir'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_tmpdir) op: assign_op.Equal rhs: { (DQ (${ Id.VSub_Name my_template) <-> (braced_var_sub token: <Id.VSub_Name RANDOM> suffix_op: (suffix_op.Unary tok: <Id.VTest_Hyphen -> arg_word: {<0>} ) ) ($ Id.VSub_Dollar '$$') ) } spids: [2895] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:save_mktempdir_umask) op: assign_op.Equal rhs: {(command_sub left_token:<Id.Left_Backtick '`'> child:(C {<umask>}))} spids: [2911] ) ] ) (C {<umask>} {<0077>}) (C {($ Id.VSub_DollarName '$MKDIR')} {(DQ ($ Id.VSub_DollarName '$my_tmpdir'))}) (C {<umask>} {($ Id.VSub_DollarName '$save_mktempdir_umask')}) ] spids: [2875 2888] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {<-d>} {(DQ ($ Id.VSub_DollarName '$my_tmpdir'))}) (C {<func_fatal_error>} { (DQ <'cannot create temporary directory '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$my_tmpdir') <'\''> ) } ) ] ) ] ) (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$my_tmpdir'))}) ] ) ) (command.ShFunction name: func_quote_for_eval body: (BraceGroup children: [ (command.Case to_match: {($ Id.VSub_Number '$1')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <Id.Lit_LBracket '['> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\\\'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_quote_for_eval_unquoted_result) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_Number '$1'))}) (C {($ Id.VSub_DollarName '$SED')} {(DQ ($ Id.VSub_DollarName '$sed_quote_subst'))} ) ] negated: F ) ) } spids: [3024] ) ] ) ] spids: [3013 3021 3043 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_quote_for_eval_unquoted_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [3050] ) ] ) ] spids: [3046 3047 3055 -1] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$func_quote_for_eval_unquoted_result')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <Id.Lit_LBracket '['> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\['> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\~'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\#'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\^'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\&'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\*'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\('> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\)'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\{'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\}'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\|'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\;'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\<'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\>'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\?'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\''>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\ '> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\t'>) <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'>} {(DQ )} ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_quote_for_eval_result) op: assign_op.Equal rhs: { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ($ Id.VSub_DollarName '$func_quote_for_eval_unquoted_result') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ) } spids: [3121] ) ] ) ] spids: [3089 3118 3129 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_quote_for_eval_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_quote_for_eval_unquoted_result'))} spids: [3136] ) ] ) ] spids: [3132 3133 -1 3142] ) ] ) ] ) ) (command.ShFunction name: func_quote_for_expand body: (BraceGroup children: [ (command.Case to_match: {($ Id.VSub_Number '$1')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <Id.Lit_LBracket '['> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\\\'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_arg) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_Number '$1'))}) (C {($ Id.VSub_DollarName '$SED')} {<-e>} {(DQ ($ Id.VSub_DollarName '$double_quote_subst'))} {<-e>} {(DQ ($ Id.VSub_DollarName '$sed_double_backslash'))} ) ] negated: F ) ) } spids: [3182] ) ] ) ] spids: [3172 3179 3214 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_arg) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [3221] ) ] ) ] spids: [3217 3218 3226 -1] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$my_arg')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <Id.Lit_LBracket '['> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\['> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\~'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\#'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\^'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\&'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\*'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\('> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\)'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\{'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\}'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\|'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\;'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\<'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\>'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\?'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\''>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\ '> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\t'>) <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'>} {(DQ )} ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_arg) op: assign_op.Equal rhs: { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ($ Id.VSub_DollarName '$my_arg') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ) } spids: [3288] ) ] ) ] spids: [3256 3285 3296 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_quote_for_expand_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$my_arg'))} spids: [3303] ) ] ) ] ) ) (command.ShFunction name: func_show_eval body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_cmd) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [3332] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_fail_exp) op: assign_op.Equal rhs: { (DQ (braced_var_sub token: <Id.VSub_Number 2> suffix_op: (suffix_op.Unary tok:<Id.VTest_Hyphen -> arg_word:{<':'>}) ) ) } spids: [3338] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C { (braced_var_sub token: <Id.VSub_Name opt_silent> suffix_op: (suffix_op.Unary tok:<Id.VTest_Hyphen -> arg_word:{<false>}) ) } ) (BraceGroup children: [ (C {<func_quote_for_expand>} {(DQ ($ Id.VSub_DollarName '$my_cmd'))}) (C {<eval>} {(DQ <'func_echo '> ($ Id.VSub_DollarName '$func_quote_for_expand_result'))} ) ] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C { (braced_var_sub token: <Id.VSub_Name opt_dry_run> suffix_op: (suffix_op.Unary tok: <Id.VTest_Hyphen -> arg_word: {<false>} ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [(command.Sentence child:(C {<Id.Lit_Colon ':'>}) terminator:<Id.Op_Semi _>)] spids: [3379 3388] ) ] else_action: [ (C {<eval>} {(DQ ($ Id.VSub_DollarName '$my_cmd'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_status) op: assign_op.Equal rhs: {($ Id.VSub_QMark '$?')} spids: [3403] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$my_status'))} {<-eq>} {<0>}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Sentence child: (C {<Id.Lit_Colon ':'>}) terminator: <Id.Op_Semi _> ) ] spids: [3407 3420] ) ] else_action: [ (C {<eval>} { (DQ <'(exit '> ($ Id.VSub_DollarName '$my_status') <'); '> ($ Id.VSub_DollarName '$my_fail_exp') ) } ) ] ) ] ) ] ) ) (command.ShFunction name: func_show_eval_locale body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_cmd) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [3467] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_fail_exp) op: assign_op.Equal rhs: { (DQ (braced_var_sub token: <Id.VSub_Number 2> suffix_op: (suffix_op.Unary tok:<Id.VTest_Hyphen -> arg_word:{<':'>}) ) ) } spids: [3473] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C { (braced_var_sub token: <Id.VSub_Name opt_silent> suffix_op: (suffix_op.Unary tok:<Id.VTest_Hyphen -> arg_word:{<false>}) ) } ) (BraceGroup children: [ (C {<func_quote_for_expand>} {(DQ ($ Id.VSub_DollarName '$my_cmd'))}) (C {<eval>} {(DQ <'func_echo '> ($ Id.VSub_DollarName '$func_quote_for_expand_result'))} ) ] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C { (braced_var_sub token: <Id.VSub_Name opt_dry_run> suffix_op: (suffix_op.Unary tok: <Id.VTest_Hyphen -> arg_word: {<false>} ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [(command.Sentence child:(C {<Id.Lit_Colon ':'>}) terminator:<Id.Op_Semi _>)] spids: [3514 3523] ) ] else_action: [ (C {<eval>} { (DQ ($ Id.VSub_DollarName '$lt_user_locale') <'\n'> <'\t '> ($ Id.VSub_DollarName '$my_cmd') ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_status) op: assign_op.Equal rhs: {($ Id.VSub_QMark '$?')} spids: [3541] ) ] ) (C {<eval>} {(DQ ($ Id.VSub_DollarName '$lt_safe_locale'))}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$my_status'))} {<-eq>} {<0>}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Sentence child: (C {<Id.Lit_Colon ':'>}) terminator: <Id.Op_Semi _> ) ] spids: [3552 3565] ) ] else_action: [ (C {<eval>} { (DQ <'(exit '> ($ Id.VSub_DollarName '$my_status') <'); '> ($ Id.VSub_DollarName '$my_fail_exp') ) } ) ] ) ] ) ] ) ) (command.ShFunction name: func_tr_sh body: (BraceGroup children: [ (command.Case to_match: {($ Id.VSub_Number '$1')} arms: [ (case_arm pat_list: [ {<Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <Id.Lit_LBracket '['> <Id.KW_Bang '!'> <a-zA-Z0-9_> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_tr_sh_result) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_Number '$1'))}) (C {($ Id.VSub_DollarName '$SED')} {(SQ <'s/^\\([0-9]\\)/_\\1/; s/[^a-zA-Z0-9_]/_/g'>)} ) ] negated: F ) ) } spids: [3637] ) ] ) ] spids: [3621 3634 3663 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_tr_sh_result) op: assign_op.Equal rhs: {($ Id.VSub_Number '$1')} spids: [3671] ) ] ) ] spids: [3666 3668 3675 -1] ) ] ) ] ) ) (command.ShFunction name: func_version body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.Simple words: [ {($ Id.VSub_DollarName '$SED')} {<-n>} { (SQ <'/(C)/!b go\n'> <'\t:more\n'> <'\t/\\./!{\n'> <'\t N\n'> <'\t s/\\n# / /\n'> <'\t b more\n'> <'\t}\n'> <'\t:go\n'> <'\t/^# '> ) ($ Id.VSub_DollarName '$PROGRAM') (SQ <' (GNU /,/# warranty; / {\n'> <' s/^# //\n'> <'\ts/^# *$//\n'> <' s/\\((C)\\)[ 0-9,-]*\\( [1-9][0-9]*\\)/\\1\\2/\n'> <' p\n'> <' }'> ) } ] redirects: [ (redir op: <Id.Redir_Less '<'> loc: (redir_loc.Fd fd:0) arg: {(DQ ($ Id.VSub_DollarName '$progpath'))} ) ] do_fork: T ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_QMark '$?')} ) ] ) ) (command.ShFunction name: func_usage body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.Simple words: [ {($ Id.VSub_DollarName '$SED')} {<-n>} { (SQ <'/^# Usage:/,/^# *.*--help/ {\n'> <' s/^# //\n'> <'\ts/^# *$//\n'> <'\ts/\\$progname/'> ) ($ Id.VSub_DollarName '$progname') (SQ <'/\n'> <'\tp\n'> <' }'>) } ] redirects: [ (redir op: <Id.Redir_Less '<'> loc: (redir_loc.Fd fd:0) arg: {(DQ ($ Id.VSub_DollarName '$progpath'))} ) ] do_fork: T ) (C {<echo>}) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'run '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$progname') <' --help | more\' for full usage'> ) } ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_QMark '$?')} ) ] ) ) (command.ShFunction name: func_help body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.Simple words: [ {($ Id.VSub_DollarName '$SED')} {<-n>} { (SQ <'/^# Usage:/,/# Report bugs to/ {\n'> <'\t:print\n'> <' s/^# //\n'> <'\ts/^# *$//\n'> <'\ts*\\$progname*'> ) ($ Id.VSub_DollarName '$progname') (SQ <'*\n'> <'\ts*\\$host*'>) (DQ ($ Id.VSub_DollarName '$host')) (SQ <'*\n'> <'\ts*\\$SHELL*'>) (DQ ($ Id.VSub_DollarName '$SHELL')) (SQ <'*\n'> <'\ts*\\$LTCC*'>) (DQ ($ Id.VSub_DollarName '$LTCC')) (SQ <'*\n'> <'\ts*\\$LTCFLAGS*'>) (DQ ($ Id.VSub_DollarName '$LTCFLAGS')) (SQ <'*\n'> <'\ts*\\$LD*'>) (DQ ($ Id.VSub_DollarName '$LD')) (SQ <'*\n'> <'\ts/\\$with_gnu_ld/'>) (DQ ($ Id.VSub_DollarName '$with_gnu_ld')) (SQ <'/\n'> <'\ts/\\$automake_version/'>) (DQ (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (command.Subshell child: (C { (braced_var_sub token: <Id.VSub_Name AUTOMAKE> suffix_op: (suffix_op.Unary tok: <Id.VTest_Hyphen -> arg_word: {<automake>} ) ) } {<--version>} ) redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] ) (C {($ Id.VSub_DollarName '$SED')} {<1q>}) ] negated: F ) ) ) (SQ <'/\n'> <'\ts/\\$autoconf_version/'>) (DQ (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (command.Subshell child: (C { (braced_var_sub token: <Id.VSub_Name AUTOCONF> suffix_op: (suffix_op.Unary tok: <Id.VTest_Hyphen -> arg_word: {<autoconf>} ) ) } {<--version>} ) redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] ) (C {($ Id.VSub_DollarName '$SED')} {<1q>}) ] negated: F ) ) ) (SQ <'/\n'> <'\tp\n'> <'\td\n'> <' }\n'> <' /^# .* home page:/b print\n'> <' /^# General help using/b print\n'> <' '> ) } ] redirects: [ (redir op: <Id.Redir_Less '<'> loc: (redir_loc.Fd fd:0) arg: {(DQ ($ Id.VSub_DollarName '$progpath'))} ) ] do_fork: T ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:ret) op: assign_op.Equal rhs: {($ Id.VSub_QMark '$?')} spids: [3949] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} {(DQ ($ Id.VSub_Number '$1'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$ret')} ) ] spids: [3953 3964] ) ] ) ] ) ) (command.ShFunction name: func_missing_arg body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (C {<func_error>} {(DQ <'missing argument for '> ($ Id.VSub_Number '$1') <.>)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:exit_cmd) op: assign_op.Equal rhs: {<Id.ControlFlow_Exit exit>} spids: [4007] ) ] ) ] ) ) (command.ShFunction name: func_split_short_opt body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_sed_short_opt) op: assign_op.Equal rhs: {(SQ <'1s/^\\(..\\).*$/\\1/;q'>)} spids: [4031] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_sed_short_rest) op: assign_op.Equal rhs: {(SQ <'1s/^..\\(.*\\)$/\\1/;q'>)} spids: [4037] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_split_short_opt_name) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_Number '$1'))}) (C {($ Id.VSub_DollarName '$SED')} {(DQ ($ Id.VSub_DollarName '$my_sed_short_opt'))} ) ] negated: F ) ) } spids: [4044] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_split_short_opt_arg) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_Number '$1'))}) (C {($ Id.VSub_DollarName '$SED')} {(DQ ($ Id.VSub_DollarName '$my_sed_short_rest'))} ) ] negated: F ) ) } spids: [4064] ) ] ) ] ) ) (command.ShFunction name: func_split_long_opt body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_sed_long_opt) op: assign_op.Equal rhs: {(SQ <'1s/^\\(--[^=]*\\)=.*/\\1/;q'>)} spids: [4107] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_sed_long_arg) op: assign_op.Equal rhs: {(SQ <'1s/^--[^=]*=//'>)} spids: [4113] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_split_long_opt_name) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_Number '$1'))}) (C {($ Id.VSub_DollarName '$SED')} {(DQ ($ Id.VSub_DollarName '$my_sed_long_opt'))} ) ] negated: F ) ) } spids: [4120] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_split_long_opt_arg) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_Number '$1'))}) (C {($ Id.VSub_DollarName '$SED')} {(DQ ($ Id.VSub_DollarName '$my_sed_long_arg'))} ) ] negated: F ) ) } spids: [4140] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:exit_cmd) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} spids: [4165] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:magic) op: assign_op.Equal rhs: {(DQ <'%%%MAGIC variable%%%'>)} spids: [4173] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:magic_exe) op: assign_op.Equal rhs: {(DQ <'%%%MAGIC EXE variable%%%'>)} spids: [4178] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:nonopt) op: assign_op.Equal rhs: (word.Empty) spids: [4187] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:preserve_args) op: assign_op.Equal rhs: (word.Empty) spids: [4189] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lo2o) op: assign_op.Equal rhs: { (DQ <'s/'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <.lo> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'/.'> (${ Id.VSub_Name objext) <'/'> ) } spids: [4191] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:o2lo) op: assign_op.Equal rhs: { (DQ <'s/'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <.> (${ Id.VSub_Name objext) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'/.lo/'> ) } spids: [4204] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:extracted_archives) op: assign_op.Equal rhs: (word.Empty) spids: [4216] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:extracted_serial) op: assign_op.Equal rhs: {<0>} spids: [4218] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:exec_cmd) op: assign_op.Equal rhs: (word.Empty) spids: [4231] ) ] ) (command.ShFunction name: func_append body: (BraceGroup children: [ (C {<eval>} { (DQ (${ Id.VSub_Number 1) <'='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) (${ Id.VSub_Number 1) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'{2}'> ) } ) ] ) ) (command.ShFunction name: func_append_quoted body: (BraceGroup children: [ (C {<func_quote_for_eval>} {(DQ (${ Id.VSub_Number 2))}) (C {<eval>} { (DQ (${ Id.VSub_Number 1) <'='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) (${ Id.VSub_Number 1) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <' '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <func_quote_for_eval_result> ) } ) ] ) ) (command.ShFunction name: func_arith body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_arith_result) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<expr>} {(DQ (${ Id.VSub_At '@'))}) ) } spids: [4330] ) ] ) ] ) ) (command.ShFunction name: func_len body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_len_result) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.AndOr ops: [Id.Op_DPipe] children: [ (command.Simple words: [ {<expr>} {(DQ (${ Id.VSub_Number 1))} {<Id.Lit_Colon ':'>} {(DQ <'.*'>)} ] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) (C {<echo>} {($ Id.VSub_DollarName '$max_cmd_len')}) ] ) ) } spids: [4364] ) ] ) ] ) ) (command.ShFunction name: func_lo2o body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_lo2o_result) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ (${ Id.VSub_Number 1))}) (C {($ Id.VSub_DollarName '$SED')} {(DQ ($ Id.VSub_DollarName '$lo2o'))}) ] negated: F ) ) } spids: [4410] ) ] ) ] ) ) (command.ShFunction name: func_xform body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_xform_result) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ (${ Id.VSub_Number 1))}) (C {($ Id.VSub_DollarName '$SED')} {(SQ <'s/\\.[^.]*$/.lo/'>)}) ] negated: F ) ) } spids: [4449] ) ] ) ] ) ) (command.ShFunction name: func_fatal_configuration body: (BraceGroup children: [ (C {<func_error>} { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {(DQ ($ Id.VSub_At '$@'))} ) ) } ) (C {<func_error>} { (DQ <'See the '> ($ Id.VSub_DollarName '$PACKAGE') <' documentation for more information.'> ) } ) (C {<func_fatal_error>} {(DQ <'Fatal configuration error.'>)}) ] ) ) (command.ShFunction name: func_config body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:re_begincf) op: assign_op.Equal rhs: {(SQ <'^# ### BEGIN LIBTOOL'>)} spids: [4540] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:re_endcf) op: assign_op.Equal rhs: {(SQ <'^# ### END LIBTOOL'>)} spids: [4546] ) ] ) (command.Simple words: [ {($ Id.VSub_DollarName '$SED')} { (DQ <'1,/'> ($ Id.VSub_DollarName '$re_begincf') <' CONFIG/d;/'> ($ Id.VSub_DollarName '$re_endcf') <' CONFIG/,'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <d> ) } ] redirects: [ (redir op: <Id.Redir_Less '<'> loc: (redir_loc.Fd fd:0) arg: {(DQ ($ Id.VSub_DollarName '$progpath'))} ) ] do_fork: T ) (command.ForEach iter_name: tagname iter_words: [{($ Id.VSub_DollarName '$taglist')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Simple words: [ {($ Id.VSub_DollarName '$SED')} {<-n>} { (DQ <'/'> ($ Id.VSub_DollarName '$re_begincf') <' TAG CONFIG: '> ($ Id.VSub_DollarName '$tagname') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'/,/'> ($ Id.VSub_DollarName '$re_endcf') <' TAG CONFIG: '> ($ Id.VSub_DollarName '$tagname') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'/p'> ) } ] redirects: [ (redir op: <Id.Redir_Less '<'> loc: (redir_loc.Fd fd:0) arg: {(DQ ($ Id.VSub_DollarName '$progpath'))} ) ] do_fork: T ) ] ) ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_QMark '$?')} ) ] ) ) (command.ShFunction name: func_features body: (BraceGroup children: [ (C {<echo>} {(DQ <'host: '> ($ Id.VSub_DollarName '$host'))}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_libtool_libs'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<echo>} {(DQ <'enable shared libraries'>)})] spids: [4651 4664] ) ] else_action: [(C {<echo>} {(DQ <'disable shared libraries'>)})] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_old_libs'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<echo>} {(DQ <'enable static libraries'>)})] spids: [4687 4700] ) ] else_action: [(C {<echo>} {(DQ <'disable static libraries'>)})] ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_QMark '$?')} ) ] ) ) (command.ShFunction name: func_enable_tag body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tagname) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [4755] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:re_begincf) op: assign_op.Equal rhs: { (DQ <'^# ### BEGIN LIBTOOL TAG CONFIG: '> ($ Id.VSub_DollarName '$tagname') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) ) } spids: [4762] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:re_endcf) op: assign_op.Equal rhs: { (DQ <'^# ### END LIBTOOL TAG CONFIG: '> ($ Id.VSub_DollarName '$tagname') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) ) } spids: [4770] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:sed_extractcf) op: assign_op.Equal rhs: { (DQ <'/'> ($ Id.VSub_DollarName '$re_begincf') <'/,/'> ($ Id.VSub_DollarName '$re_endcf') <'/p'> ) } spids: [4778] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$tagname')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <Id.Lit_LBracket '['> <Id.KW_Bang '!'> <-_A-Za-z0-9> <Id.Lit_Comma ','> <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } ] action: [ (C {<func_fatal_error>} {(DQ <'invalid tag name: '> ($ Id.VSub_DollarName '$tagname'))} ) ] spids: [4800 4808 4819 -1] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$tagname')} arms: [ (case_arm pat_list:[{<CC>}] spids:[4841 4842 4844 -1]) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple words: [ {($ Id.VSub_DollarName '$GREP')} {(DQ ($ Id.VSub_DollarName '$re_begincf'))} {(DQ ($ Id.VSub_DollarName '$progpath'))} ] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/dev/null'>} ) (redir op: <Id.Redir_GreatAnd '2>&'> loc: (redir_loc.Fd fd:2) arg: {<1>} ) ] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:taglist) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$taglist') <' '> ($ Id.VSub_DollarName '$tagname') ) } spids: [4873] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:extractedcf) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Simple words: [ {($ Id.VSub_DollarName '$SED')} {<-n>} {<-e>} {(DQ ($ Id.VSub_DollarName '$sed_extractcf'))} ] redirects: [ (redir op: <Id.Redir_Less '<'> loc: (redir_loc.Fd fd:0) arg: {(DQ ($ Id.VSub_DollarName '$progpath'))} ) ] do_fork: T ) ) } spids: [4898] ) ] ) (C {<eval>} {(DQ ($ Id.VSub_DollarName '$extractedcf'))}) ] spids: [4851 4870] ) ] else_action: [ (C {<func_error>} {(DQ <'ignoring unknown tag '> ($ Id.VSub_DollarName '$tagname'))} ) ] ) ] spids: [4847 4848 4941 -1] ) ] ) ] ) ) (command.ShFunction name: func_check_version_match body: (BraceGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$package_revision'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ ($ Id.VSub_DollarName '$macro_revision'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$VERSION'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ ($ Id.VSub_DollarName '$macro_version'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$macro_version'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_GreatAnd '>&'> loc: (redir_loc.Fd fd:1) arg: {<2>} ) (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {<_LT_EOF>} here_end_span_id: 5043 stdin_parts: [ ($ Id.VSub_DollarName '$progname') <': Version mismatch error. This is '> ($ Id.VSub_DollarName '$PACKAGE') <' '> ($ Id.VSub_DollarName '$VERSION') <', but the\n'> ($ Id.VSub_DollarName '$progname') < ': definition of this LT_INIT comes from an older release.\n' > ($ Id.VSub_DollarName '$progname') < ': You should recreate aclocal.m4 with macros from ' > ($ Id.VSub_DollarName '$PACKAGE') <' '> ($ Id.VSub_DollarName '$VERSION') <'\n'> ($ Id.VSub_DollarName '$progname') <': and run autoconf again.\n'> ] ) ) ] do_fork: T ) ] spids: [5004 5015] ) ] else_action: [ (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_GreatAnd '>&'> loc: (redir_loc.Fd fd:1) arg: {<2>} ) (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {<_LT_EOF>} here_end_span_id: 5077 stdin_parts: [ ($ Id.VSub_DollarName '$progname') <': Version mismatch error. This is '> ($ Id.VSub_DollarName '$PACKAGE') <' '> ($ Id.VSub_DollarName '$VERSION') <', but the\n'> ($ Id.VSub_DollarName '$progname') <': definition of this LT_INIT comes from '> ($ Id.VSub_DollarName '$PACKAGE') <' '> ($ Id.VSub_DollarName '$macro_version') <'.\n'> ($ Id.VSub_DollarName '$progname') <': You should recreate aclocal.m4 with macros from '> ($ Id.VSub_DollarName '$PACKAGE') <' '> ($ Id.VSub_DollarName '$VERSION') <'\n'> ($ Id.VSub_DollarName '$progname') <': and run autoconf again.\n'> ] ) ) ] do_fork: T ) ] ) ] spids: [4985 5001] ) ] else_action: [ (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_GreatAnd '>&'> loc: (redir_loc.Fd fd:1) arg: {<2>} ) (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {<_LT_EOF>} here_end_span_id: 5116 stdin_parts: [ ($ Id.VSub_DollarName '$progname') <': Version mismatch error. This is '> ($ Id.VSub_DollarName '$PACKAGE') <' '> ($ Id.VSub_DollarName '$VERSION') <', revision '> ($ Id.VSub_DollarName '$package_revision') <',\n'> ($ Id.VSub_DollarName '$progname') <': but the definition of this LT_INIT comes from revision '> ($ Id.VSub_DollarName '$macro_revision') <'.\n'> ($ Id.VSub_DollarName '$progname') <': You should recreate aclocal.m4 with macros from revision '> ($ Id.VSub_DollarName '$package_revision') <'\n'> ($ Id.VSub_DollarName '$progname') <': of '> ($ Id.VSub_DollarName '$PACKAGE') <' '> ($ Id.VSub_DollarName '$VERSION') <' and run autoconf again.\n'> ] ) ) ] do_fork: T ) ] ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$EXIT_MISMATCH')} ) ] spids: [4966 4982] ) ] ) ] ) ) (command.Case to_match: {($ Id.VSub_Number '$1')} arms: [ (case_arm pat_list: [{<clean>} {<clea>} {<cle>} {<cl>}] action: [ (command.Sentence child:(C {<shift>}) terminator:<Id.Op_Semi _>) (command.Sentence child: (C {<set>} {<dummy>} {<--mode>} {<clean>} { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {(DQ ($ Id.VSub_At '$@'))} ) ) } ) terminator: <Id.Op_Semi _> ) (C {<shift>}) ] spids: [5142 5149 5175 -1] ) (case_arm pat_list: [{<compile>} {<compil>} {<compi>} {<comp>} {<com>} {<co>} {<c>}] action: [ (command.Sentence child:(C {<shift>}) terminator:<Id.Op_Semi _>) (command.Sentence child: (C {<set>} {<dummy>} {<--mode>} {<compile>} { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {(DQ ($ Id.VSub_At '$@'))} ) ) } ) terminator: <Id.Op_Semi _> ) (C {<shift>}) ] spids: [5177 5190 5216 -1] ) (case_arm pat_list: [{<execute>} {<execut>} {<execu>} {<exec>} {<exe>} {<ex>} {<e>}] action: [ (command.Sentence child:(C {<shift>}) terminator:<Id.Op_Semi _>) (command.Sentence child: (C {<set>} {<dummy>} {<--mode>} {<execute>} { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {(DQ ($ Id.VSub_At '$@'))} ) ) } ) terminator: <Id.Op_Semi _> ) (C {<shift>}) ] spids: [5218 5231 5257 -1] ) (case_arm pat_list: [{<finish>} {<finis>} {<fini>} {<fin>} {<Id.KW_Fi fi>} {<f>}] action: [ (command.Sentence child:(C {<shift>}) terminator:<Id.Op_Semi _>) (command.Sentence child: (C {<set>} {<dummy>} {<--mode>} {<finish>} { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {(DQ ($ Id.VSub_At '$@'))} ) ) } ) terminator: <Id.Op_Semi _> ) (C {<shift>}) ] spids: [5259 5270 5296 -1] ) (case_arm pat_list: [{<install>} {<instal>} {<insta>} {<inst>} {<ins>} {<Id.KW_In in>} {<i>}] action: [ (command.Sentence child:(C {<shift>}) terminator:<Id.Op_Semi _>) (command.Sentence child: (C {<set>} {<dummy>} {<--mode>} {<install>} { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {(DQ ($ Id.VSub_At '$@'))} ) ) } ) terminator: <Id.Op_Semi _> ) (C {<shift>}) ] spids: [5298 5311 5337 -1] ) (case_arm pat_list: [{<link>} {<lin>} {<li>} {<l>}] action: [ (command.Sentence child:(C {<shift>}) terminator:<Id.Op_Semi _>) (command.Sentence child: (C {<set>} {<dummy>} {<--mode>} {<link>} { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {(DQ ($ Id.VSub_At '$@'))} ) ) } ) terminator: <Id.Op_Semi _> ) (C {<shift>}) ] spids: [5339 5346 5372 -1] ) (case_arm pat_list: [{<uninstall>} {<uninstal>} {<uninsta>} {<uninst>} {<unins>} {<unin>} {<uni>} {<un>} {<u>}] action: [ (command.Sentence child:(C {<shift>}) terminator:<Id.Op_Semi _>) (command.Sentence child: (C {<set>} {<dummy>} {<--mode>} {<uninstall>} { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {(DQ ($ Id.VSub_At '$@'))} ) ) } ) terminator: <Id.Op_Semi _> ) (C {<shift>}) ] spids: [5374 5391 5417 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_debug) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} spids: [5427] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_dry_run) op: assign_op.Equal rhs: {<false>} spids: [5430] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_config) op: assign_op.Equal rhs: {<false>} spids: [5433] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_preserve_dup_deps) op: assign_op.Equal rhs: {<false>} spids: [5436] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_features) op: assign_op.Equal rhs: {<false>} spids: [5439] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_finish) op: assign_op.Equal rhs: {<false>} spids: [5442] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_help) op: assign_op.Equal rhs: {<false>} spids: [5445] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_help_all) op: assign_op.Equal rhs: {<false>} spids: [5448] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_silent) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} spids: [5451] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_warning) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} spids: [5454] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_verbose) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} spids: [5457] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_silent) op: assign_op.Equal rhs: {<false>} spids: [5460] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_verbose) op: assign_op.Equal rhs: {<false>} spids: [5463] ) ] ) (BraceGroup children: [ (command.WhileUntil keyword: <Id.KW_While while> cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {($ Id.VSub_Pound '$#')} {<-gt>} {<0>}) terminator: <Id.Op_Semi _> ) ] ) body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [5495] ) ] ) (C {<shift>}) (command.Case to_match: {($ Id.VSub_DollarName '$opt')} arms: [ (case_arm pat_list: [{<--debug>} {<-x>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_debug) op: assign_op.Equal rhs: {(SQ <'set -x'>)} spids: [5516] ) ] ) (C {<func_echo>} {(DQ <'enabling shell trace mode'>)}) (C {($ Id.VSub_DollarName '$opt_debug')}) ] spids: [5511 5514 5532 -1] ) (case_arm pat_list: [{<--dry-run>} {<--dryrun>} {<-n>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_dry_run) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} spids: [5543] ) ] ) ] spids: [5535 5540 5547 -1] ) (case_arm pat_list: [{<--config>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_config) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} spids: [5554] ) ] ) (C {<func_config>}) ] spids: [5550 5551 5560 -1] ) (case_arm pat_list: [{<--dlopen>} {<-dlopen>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:optarg) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [5569] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_dlopen) op: assign_op.Equal rhs: { (DQ (braced_var_sub token: <Id.VSub_Name opt_dlopen> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {($ Id.VSub_DollarName '$opt_dlopen') <'\n'>} ) ) ($ Id.VSub_DollarName '$optarg') ) } spids: [5575] ) ] ) (C {<shift>}) ] spids: [5563 5566 5590 -1] ) (case_arm pat_list: [{<--preserve-dup-deps>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_preserve_dup_deps) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} spids: [5597] ) ] ) ] spids: [5593 5594 5601 -1] ) (case_arm pat_list: [{<--features>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_features) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} spids: [5608] ) ] ) (C {<func_features>}) ] spids: [5604 5605 5614 -1] ) (case_arm pat_list: [{<--finish>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_finish) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} spids: [5621] ) ] ) (command.Sentence child: (C {<set>} {<dummy>} {<--mode>} {<finish>} { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {(DQ ($ Id.VSub_At '$@'))} ) ) } ) terminator: <Id.Op_Semi _> ) (C {<shift>}) ] spids: [5617 5618 5644 -1] ) (case_arm pat_list: [{<--help>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_help) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} spids: [5651] ) ] ) ] spids: [5647 5648 5655 -1] ) (case_arm pat_list: [{<--help-all>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_help_all) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} spids: [5662] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_help) op: assign_op.Equal rhs: {(SQ <': help-all'>)} spids: [5665] ) ] ) ] spids: [5658 5659 5671 -1] ) (case_arm pat_list: [{<--mode>}] action: [ (command.AndOr ops: [Id.Op_DAmp Id.Op_DAmp] children: [ (C {<test>} {($ Id.VSub_Pound '$#')} {<Id.Lit_Equals '='>} {<0>}) (C {<func_missing_arg>} {($ Id.VSub_DollarName '$opt')}) (command.ControlFlow token: <Id.ControlFlow_Break break> ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:optarg) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [5697] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_mode) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$optarg'))} spids: [5703] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$optarg')} arms: [ (case_arm pat_list: [ {<clean>} {<compile>} {<execute>} {<finish>} {<install>} {<link>} {<relink>} {<uninstall>} ] spids: [5719 5734 5736 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_error>} {(DQ <'invalid argument for '> ($ Id.VSub_DollarName '$opt'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:exit_cmd) op: assign_op.Equal rhs: {<Id.ControlFlow_Exit exit>} spids: [5755] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Break break> ) ] spids: [5744 5745 5762 -1] ) ] ) (C {<shift>}) ] spids: [5674 5675 5770 -1] ) (case_arm pat_list: [{<--no-silent>} {<--no-quiet>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_silent) op: assign_op.Equal rhs: {<false>} spids: [5779] ) ] ) (C {<func_append>} {<preserve_args>} {(DQ <' '> ($ Id.VSub_DollarName '$opt'))}) ] spids: [5773 5776 5792 -1] ) (case_arm pat_list: [{<--no-warning>} {<--no-warn>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_warning) op: assign_op.Equal rhs: {<false>} spids: [5801] ) ] ) (C {<func_append>} {<preserve_args>} {(DQ <' '> ($ Id.VSub_DollarName '$opt'))}) ] spids: [5795 5798 5814 -1] ) (case_arm pat_list: [{<--no-verbose>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_verbose) op: assign_op.Equal rhs: {<false>} spids: [5821] ) ] ) (C {<func_append>} {<preserve_args>} {(DQ <' '> ($ Id.VSub_DollarName '$opt'))}) ] spids: [5817 5818 5834 -1] ) (case_arm pat_list: [{<--silent>} {<--quiet>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_silent) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} spids: [5843] ) ] ) (C {<func_append>} {<preserve_args>} {(DQ <' '> ($ Id.VSub_DollarName '$opt'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_verbose) op: assign_op.Equal rhs: {<false>} spids: [5856] ) ] ) ] spids: [5837 5840 5860 -1] ) (case_arm pat_list: [{<--verbose>} {<-v>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_verbose) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} spids: [5869] ) ] ) (C {<func_append>} {<preserve_args>} {(DQ <' '> ($ Id.VSub_DollarName '$opt'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_silent) op: assign_op.Equal rhs: {<false>} spids: [5881] ) ] ) ] spids: [5863 5866 5885 -1] ) (case_arm pat_list: [{<--tag>}] action: [ (command.AndOr ops: [Id.Op_DAmp Id.Op_DAmp] children: [ (C {<test>} {($ Id.VSub_Pound '$#')} {<Id.Lit_Equals '='>} {<0>}) (C {<func_missing_arg>} {($ Id.VSub_DollarName '$opt')}) (command.ControlFlow token: <Id.ControlFlow_Break break> ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:optarg) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [5911] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_tag) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$optarg'))} spids: [5917] ) ] ) (C {<func_append>} {<preserve_args>} { (DQ <' '> ($ Id.VSub_DollarName '$opt') <' '> ($ Id.VSub_DollarName '$optarg') ) } ) (C {<func_enable_tag>} {(DQ ($ Id.VSub_DollarName '$optarg'))}) (C {<shift>}) ] spids: [5888 5889 5943 -1] ) (case_arm pat_list: [ {<-> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\?'>)} {<-h>} ] action: [(C {<func_usage>})] spids: [5947 5951 5955 -1] ) (case_arm pat_list: [{<--help>}] action: [(C {<func_help>})] spids: [5958 5959 5963 -1] ) (case_arm pat_list: [{<--version>}] action: [(C {<func_version>})] spids: [5966 5967 5971 -1] ) (case_arm pat_list: [{<--> <Id.Lit_Star '*'> <Id.Lit_Equals '='> <Id.Lit_Star '*'>}] action: [ (C {<func_split_long_opt>} {(DQ ($ Id.VSub_DollarName '$opt'))}) (C {<set>} {<dummy>} {(DQ ($ Id.VSub_DollarName '$func_split_long_opt_name'))} {(DQ ($ Id.VSub_DollarName '$func_split_long_opt_arg'))} { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {(DQ ($ Id.VSub_At '$@'))} ) ) } ) (C {<shift>}) ] spids: [5979 5983 6017 -1] ) (case_arm pat_list: [ {<-> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\?'>) <Id.Lit_Star '*'> } {<-h> <Id.Lit_Star '*'>} {<-n> <Id.Lit_Star '*'>} {<-v> <Id.Lit_Star '*'>} ] action: [ (C {<func_split_short_opt>} {(DQ ($ Id.VSub_DollarName '$opt'))}) (C {<set>} {<dummy>} {(DQ ($ Id.VSub_DollarName '$func_split_short_opt_name'))} {(DQ <-> ($ Id.VSub_DollarName '$func_split_short_opt_arg'))} { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {(DQ ($ Id.VSub_At '$@'))} ) ) } ) (C {<shift>}) ] spids: [6025 6037 6072 -1] ) (case_arm pat_list: [{<-->}] action: [(command.ControlFlow token:<Id.ControlFlow_Break break>)] spids: [6076 6077 6081 -1] ) (case_arm pat_list: [{<-> <Id.Lit_Star '*'>}] action: [ (C {<func_fatal_help>} { (DQ <'unrecognized option '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$opt') <'\''> ) } ) ] spids: [6084 6086 6097 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.Sentence child: (C {<set>} {<dummy>} {(DQ ($ Id.VSub_DollarName '$opt'))} { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {(DQ ($ Id.VSub_At '$@'))} ) ) } ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (C {<shift>}) terminator: <Id.Op_Semi _> ) (command.ControlFlow token: <Id.ControlFlow_Break break> ) ] spids: [6100 6101 6125 -1] ) ] ) ] ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_Pound '$#'))} {<-gt>} {<0>}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:nonopt) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$opt'))} spids: [6160] ) ] ) (C {<shift>}) ] spids: [6144 6157] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_debug'))} {<Id.Lit_Equals '='>} {<Id.Lit_Colon ':'>} ) (C {<func_append>} {<preserve_args>} {(DQ <' --debug'>)}) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <cygwin> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <mingw> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <pw32> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <cegcc> <Id.Lit_Star '*'>} ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_duplicate_compiler_generated_deps) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} spids: [6234] ) ] ) ] spids: [6206 6227 6238 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_duplicate_compiler_generated_deps) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$opt_preserve_dup_deps')} spids: [6245] ) ] ) ] spids: [6241 6242 6249 -1] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_help')}) (BraceGroup children: [ (C {<func_check_version_match>}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_libtool_libs'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<yes>} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_old_libs'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<yes>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_fatal_configuration>} {(DQ <'not configured to build any kind of library'>)} ) ] spids: [6271 6298] ) ] ) (C {<eval>} {<Id.Lit_VarLike 'std_shrext='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ($ Id.VSub_DollarName '$shrext_cmds') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$opt_dlopen'))}) (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_mode'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<execute>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_error>} { (DQ <'unrecognized option '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'-dlopen\''> ) } ) (command.Simple words: [{($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$help'))}] redirects: [ (redir op: <Id.Redir_GreatAnd '1>&'> loc: (redir_loc.Fd fd:1) arg: {<2>} ) ] do_fork: T ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$EXIT_FAILURE')} ) ] spids: [6329 6353] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:generic_help) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$help'))} spids: [6388] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:help) op: assign_op.Equal rhs: { (DQ <'Try '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$progname') <' --help --mode='> ($ Id.VSub_DollarName '$opt_mode') <'\' for more information.'> ) } spids: [6394] ) ] ) ] ) ] ) (C {($ Id.VSub_DollarName '$exit_cmd')} {($ Id.VSub_DollarName '$EXIT_FAILURE')}) ] ) (command.ShFunction name: func_lalib_p body: (BraceGroup children: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-f>} {(DQ ($ Id.VSub_Number '$1'))}) (command.Pipeline children: [ (command.Simple words: [{($ Id.VSub_DollarName '$SED')} {<-e>} {<4q>} {(DQ ($ Id.VSub_Number '$1'))}] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) (command.Simple words: [ {($ Id.VSub_DollarName '$GREP')} {(DQ <'^# Generated by .*'> ($ Id.VSub_DollarName '$PACKAGE'))} ] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/dev/null'>} ) (redir op: <Id.Redir_GreatAnd '2>&'> loc: (redir_loc.Fd fd:2) arg: {<1>} ) ] do_fork: T ) ] negated: F ) ] ) ] ) ) (command.ShFunction name: func_lalib_unsafe_p body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lalib_p) op: assign_op.Equal rhs: {<no>} spids: [6528] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp Id.Op_DAmp] children: [ (C {<test>} {<-f>} {(DQ ($ Id.VSub_Number '$1'))}) (C {<test>} {<-r>} {(DQ ($ Id.VSub_Number '$1'))}) (command.Simple words: [{<exec>}] redirects: [ (redir op: <Id.Redir_LessAnd '5<&'> loc: (redir_loc.Fd fd:5) arg: {<0>} ) (redir op: <Id.Redir_Less '<'> loc: (redir_loc.Fd fd:0) arg: {(DQ ($ Id.VSub_Number '$1'))} ) ] do_fork: T ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ForEach iter_name: lalib_p_l iter_words: [{<1>} {<2>} {<3>} {<4>}] do_arg_iter: F body: (command.DoGroup children: [ (C {<read>} {<lalib_p_line>}) (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$lalib_p_line'))} arms: [ (case_arm pat_list: [ {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\#'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\ '> ) <Generated> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\ '>) <by> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\ '> ) <Id.Lit_Star '*'> ($ Id.VSub_DollarName '$PACKAGE') <Id.Lit_Star '*'> } ] action: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lalib_p) op: assign_op.Equal rhs: {<yes>} spids: [6612] ) ] ) terminator: <Id.Op_Semi _> ) (command.ControlFlow token: <Id.ControlFlow_Break break> ) ] spids: [6600 6610 6617 -1] ) ] ) ] ) ) (command.Simple words: [{<exec>}] redirects: [ (redir op: <Id.Redir_LessAnd '0<&'> loc: (redir_loc.Fd fd:0) arg: {<5>} ) (redir op: <Id.Redir_LessAnd '5<&'> loc: (redir_loc.Fd fd:5) arg: {<->} ) ] do_fork: T ) ] spids: [6532 6565] ) ] ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$lalib_p'))} {<Id.Lit_Equals '='>} {<yes>}) ] ) ) (command.ShFunction name: func_ltwrapper_script_p body: (BraceGroup children:[(C {<func_lalib_p>} {(DQ ($ Id.VSub_Number '$1'))})]) ) (command.ShFunction name: func_ltwrapper_executable_p body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_ltwrapper_exec_suffix) op: assign_op.Equal rhs: (word.Empty) spids: [6700] ) ] ) (command.Case to_match: {($ Id.VSub_Number '$1')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <.exe>}] spids: [6710 6712 6714 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_ltwrapper_exec_suffix) op: assign_op.Equal rhs: {<.exe>} spids: [6720] ) ] ) ] spids: [6717 6718 6723 -1] ) ] ) (command.Simple words: [ {($ Id.VSub_DollarName '$GREP')} {(DQ ($ Id.VSub_DollarName '$magic_exe'))} {(DQ ($ Id.VSub_Number '$1') ($ Id.VSub_DollarName '$func_ltwrapper_exec_suffix'))} ] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/dev/null'>} ) (redir op:<Id.Redir_GreatAnd '2>&'> loc:(redir_loc.Fd fd:2) arg:{<1>}) ] do_fork: T ) ] ) ) (command.ShFunction name: func_ltwrapper_scriptname body: (BraceGroup children: [ (C {<func_dirname_and_basename>} {(DQ ($ Id.VSub_Number '$1'))} {(DQ )} {(DQ <.>)}) (C {<func_stripname>} {(SQ )} {(SQ <.exe>)} {(DQ ($ Id.VSub_DollarName '$func_basename_result'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_ltwrapper_scriptname_result) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$func_dirname_result') <'/'> ($ Id.VSub_DollarName '$objdir') <'/'> (${ Id.VSub_Name func_stripname_result) <_ltshwrapper> ) } spids: [6797] ) ] ) ] ) ) (command.ShFunction name: func_ltwrapper_p body: (BraceGroup children: [ (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<func_ltwrapper_script_p>} {(DQ ($ Id.VSub_Number '$1'))}) (C {<func_ltwrapper_executable_p>} {(DQ ($ Id.VSub_Number '$1'))}) ] ) ] ) ) (command.ShFunction name: func_execute_cmds body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:save_ifs) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$IFS')} spids: [6873] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(SQ <'~'>)} spids: [6877] ) ] ) (command.ForEach iter_name: cmd iter_words: [{($ Id.VSub_Number '$1')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$save_ifs')} spids: [6895] ) ] ) (C {<eval>} {<Id.Lit_VarLike 'cmd='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$cmd') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) (C {<func_show_eval>} {(DQ ($ Id.VSub_DollarName '$cmd'))} { (DQ (braced_var_sub token: <Id.VSub_Number 2> suffix_op: (suffix_op.Unary tok:<Id.VTest_Hyphen -> arg_word:{<':'>}) ) ) } ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$save_ifs')} spids: [6925] ) ] ) ] ) ) (command.ShFunction name: func_source body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.Case to_match: {($ Id.VSub_Number '$1')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <'/'> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <Id.Lit_Star '*'> } ] action: [(C {<.>} {(DQ ($ Id.VSub_Number '$1'))})] spids: [6968 6977 6985 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [(C {<.>} {(DQ <'./'> ($ Id.VSub_Number '$1'))})] spids: [6988 6989 6998 -1] ) ] ) ] ) ) (command.ShFunction name: func_resolve_sysroot body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_resolve_sysroot_result) op: assign_op.Equal rhs: {($ Id.VSub_Number '$1')} spids: [7024] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$func_resolve_sysroot_result')} arms: [ (case_arm pat_list: [{<Id.Lit_Equals '='> <Id.Lit_Star '*'>}] action: [ (C {<func_stripname>} {(SQ <'='>)} {(SQ )} {(DQ ($ Id.VSub_DollarName '$func_resolve_sysroot_result'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_resolve_sysroot_result) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$lt_sysroot') ($ Id.VSub_DollarName '$func_stripname_result') } spids: [7054] ) ] ) ] spids: [7035 7037 7059 -1] ) ] ) ] ) ) (command.ShFunction name: func_replace_sysroot body: (BraceGroup children: [ (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$lt_sysroot') <':'> ($ Id.VSub_Number '$1'))} arms: [ (case_arm pat_list: [ {<Id.Lit_QMark '?'> <Id.Lit_Star '*'> <Id.Lit_Colon ':'> (DQ ($ Id.VSub_DollarName '$lt_sysroot')) <Id.Lit_Star '*'> } ] action: [ (C {<func_stripname>} {(DQ ($ Id.VSub_DollarName '$lt_sysroot'))} {(SQ )} {(DQ ($ Id.VSub_Number '$1'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_replace_sysroot_result) op: assign_op.Equal rhs: {(DQ <'='> ($ Id.VSub_DollarName '$func_stripname_result'))} spids: [7119] ) ] ) ] spids: [7095 7102 7126 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_replace_sysroot_result) op: assign_op.Equal rhs: {($ Id.VSub_Number '$1')} spids: [7137] ) ] ) ] spids: [7129 7130 7141 -1] ) ] ) ] ) ) (command.ShFunction name: func_infer_tag body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$available_tags'))}) (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$tagname'))}) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:CC_quoted) op: assign_op.Equal rhs: (word.Empty) spids: [7202] ) ] ) (command.ForEach iter_name: arg iter_words: [{($ Id.VSub_DollarName '$CC')}] do_arg_iter: F body: (command.DoGroup children: [ (C {<func_append_quoted>} {<CC_quoted>} {(DQ ($ Id.VSub_DollarName '$arg'))}) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:CC_expanded) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<func_echo_all>} {($ Id.VSub_DollarName '$CC')}) ) } spids: [7229] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:CC_quoted_expanded) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<func_echo_all>} {($ Id.VSub_DollarName '$CC_quoted')}) ) } spids: [7239] ) ] ) (command.Case to_match: {($ Id.VSub_At '$@')} arms: [ (case_arm pat_list: [ {(DQ <' '> ($ Id.VSub_DollarName '$CC') <' '>) <Id.Lit_Star '*'>} {(DQ ($ Id.VSub_DollarName '$CC') <' '>) <Id.Lit_Star '*'>} {(DQ <' '> ($ Id.VSub_DollarName '$CC_expanded') <' '>) <Id.Lit_Star '*'>} {(DQ ($ Id.VSub_DollarName '$CC_expanded') <' '>) <Id.Lit_Star '*'>} {(DQ <' '> ($ Id.VSub_DollarName '$CC_quoted')) <Id.Lit_Star '*'>} {(DQ ($ Id.VSub_DollarName '$CC_quoted') <' '>) <Id.Lit_Star '*'>} {(DQ <' '> ($ Id.VSub_DollarName '$CC_quoted_expanded') <' '>) <Id.Lit_Star '*'> } {(DQ ($ Id.VSub_DollarName '$CC_quoted_expanded') <' '>) <Id.Lit_Star '*'> } ] spids: [7264 7330 7332 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ForEach iter_name: z iter_words: [{($ Id.VSub_DollarName '$available_tags')}] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple words: [ {($ Id.VSub_DollarName '$GREP')} { (DQ <'^# ### BEGIN LIBTOOL TAG CONFIG: '> ($ Id.VSub_DollarName '$z') <Id.Lit_Dollar '$'> ) } ] redirects: [ (redir op: <Id.Redir_Less '<'> loc: (redir_loc.Fd fd:0) arg: {(DQ ($ Id.VSub_DollarName '$progpath'))} ) (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/dev/null'>} ) ] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<eval>} { (DQ (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Simple words: [ {(${ Id.VSub_Name SED)} {<-n>} {<-e>} { (SQ <'/^# ### BEGIN LIBTOOL TAG CONFIG: '> ) ($ Id.VSub_DollarName '$z') (SQ <'$/,/^# ### END LIBTOOL TAG CONFIG: '>) ($ Id.VSub_DollarName '$z') (SQ <'$/p'>) } ] redirects: [ (redir op: <Id.Redir_Less '<'> loc: (redir_loc.Fd fd:0) arg: {($ Id.VSub_DollarName '$progpath')} ) ] do_fork: T ) ) ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:CC_quoted) op: assign_op.Equal rhs: (word.Empty) spids: [7420] ) ] ) (command.ForEach iter_name: arg iter_words: [{($ Id.VSub_DollarName '$CC')}] do_arg_iter: F body: (command.DoGroup children: [ (C {<func_append_quoted>} {<CC_quoted>} {(DQ ($ Id.VSub_DollarName '$arg'))} ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:CC_expanded) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<func_echo_all>} {($ Id.VSub_DollarName '$CC')} ) ) } spids: [7451] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:CC_quoted_expanded) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<func_echo_all>} {($ Id.VSub_DollarName '$CC_quoted')} ) ) } spids: [7461] ) ] ) (command.Case to_match: {(DQ ($ Id.VSub_At '$@') <' '>)} arms: [ (case_arm pat_list: [ {(DQ <' '> ($ Id.VSub_DollarName '$CC') <' '>) <Id.Lit_Star '*'> } {(DQ ($ Id.VSub_DollarName '$CC') <' '>) <Id.Lit_Star '*'> } { (DQ <' '> ($ Id.VSub_DollarName '$CC_expanded') <' '> ) <Id.Lit_Star '*'> } {(DQ ($ Id.VSub_DollarName '$CC_expanded') <' '>) <Id.Lit_Star '*'> } {(DQ <' '> ($ Id.VSub_DollarName '$CC_quoted')) <Id.Lit_Star '*'> } {(DQ ($ Id.VSub_DollarName '$CC_quoted') <' '>) <Id.Lit_Star '*'> } { (DQ <' '> ($ Id.VSub_DollarName '$CC_quoted_expanded') <' '> ) <Id.Lit_Star '*'> } { (DQ ($ Id.VSub_DollarName '$CC_quoted_expanded') <' '> ) <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tagname) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$z')} spids: [7562] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Break break> ) ] spids: [7481 7547 7569 -1] ) ] ) ] spids: [7359 7380] ) ] ) ] ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$tagname'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_echo>} {(DQ <'unable to infer tagged configuration'>)}) (C {<func_fatal_error>} { (DQ <'specify a tag with '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'--tag\''> ) } ) ] spids: [7593 7604] ) ] ) ] spids: [7343 7344 7632 -1] ) ] ) ] spids: [7178 7199] ) ] ) ] ) ) (command.ShFunction name: func_write_libtool_object body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:write_libobj) op: assign_op.Equal rhs: {(${ Id.VSub_Number 1)} spids: [7662] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_libtool_libs'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:write_lobj) op: assign_op.Equal rhs: {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\''>) (${ Id.VSub_Number 2) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\''>) } spids: [7684] ) ] ) ] spids: [7668 7681] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:write_lobj) op: assign_op.Equal rhs: {<none>} spids: [7695] ) ] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_old_libs'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:write_oldobj) op: assign_op.Equal rhs: {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\''>) (${ Id.VSub_Number 3) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\''>) } spids: [7719] ) ] ) ] spids: [7703 7716] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:write_oldobj) op: assign_op.Equal rhs: {<none>} spids: [7730] ) ] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (BraceGroup children: [ (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {(${ Id.VSub_Name write_libobj) <T>} ) (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {<EOF>} here_end_span_id: 7782 stdin_parts: [ <'# '> ($ Id.VSub_DollarName '$write_libobj') <' - a libtool object file\n'> <'# Generated by '> ($ Id.VSub_DollarName '$PROGRAM') <' (GNU '> ($ Id.VSub_DollarName '$PACKAGE') ($ Id.VSub_DollarName '$TIMESTAMP') <') '> ($ Id.VSub_DollarName '$VERSION') <'\n'> <'#\n'> <'# Please DO NOT delete this file!\n'> <'# It is necessary for linking the library.\n'> <'\n'> <'# Name of the PIC object.\n'> <'pic_object='> ($ Id.VSub_DollarName '$write_lobj') <'\n'> <'\n'> <'# Name of the non-PIC object\n'> <'non_pic_object='> ($ Id.VSub_DollarName '$write_oldobj') <'\n'> <'\n'> ] ) ) ] do_fork: T ) (C {($ Id.VSub_DollarName '$MV')} {(DQ (${ Id.VSub_Name write_libobj) <T>)} {(DQ (${ Id.VSub_Name write_libobj))} ) ] ) ] ) ] ) ) (command.ShFunction name: func_convert_core_file_wine_to_w32 body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_convert_core_file_wine_to_w32_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [7854] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_Number '$1'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_convert_core_file_wine_to_w32_tmp) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Simple words: [{<winepath>} {<-w>} {(DQ ($ Id.VSub_Number '$1'))}] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) ) } spids: [7894] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_QMark '$?'))} {<-eq>} {<0>}) (C {<test>} {<-n>} { (DQ (${ Id.VSub_Name func_convert_core_file_wine_to_w32_tmp) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: func_convert_core_file_wine_to_w32_result ) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ ($ Id.VSub_DollarName '$func_convert_core_file_wine_to_w32_tmp' ) ) } ) (C {($ Id.VSub_DollarName '$SED')} {<-e>} { (DQ ($ Id.VSub_DollarName '$lt_sed_naive_backslashify' ) ) } ) ] negated: F ) ) } spids: [7939] ) ] ) ] spids: [7911 7936] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_convert_core_file_wine_to_w32_result) op: assign_op.Equal rhs: (word.Empty) spids: [7966] ) ] ) ] ) ] spids: [7860 7871] ) ] ) ] ) ) (command.ShFunction name: func_convert_core_path_wine_to_w32 body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_convert_core_path_wine_to_w32_result) op: assign_op.Equal rhs: {(DQ )} spids: [8026] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_Number '$1'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:oldIFS) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$IFS')} spids: [8045] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} spids: [8049] ) ] ) (command.ForEach iter_name: func_convert_core_path_wine_to_w32_f iter_words: [{($ Id.VSub_Number '$1')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$oldIFS')} spids: [8065] ) ] ) (C {<func_convert_core_file_wine_to_w32>} {(DQ ($ Id.VSub_DollarName '$func_convert_core_path_wine_to_w32_f'))} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$func_convert_core_file_wine_to_w32_result' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$func_convert_core_path_wine_to_w32_result' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: func_convert_core_path_wine_to_w32_result ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$func_convert_core_file_wine_to_w32_result' ) ) } spids: [8105] ) ] ) ] spids: [8091 8102] ) ] else_action: [ (C {<func_append>} {<func_convert_core_path_wine_to_w32_result>} {(DQ <';'> ($ Id.VSub_DollarName '$func_convert_core_file_wine_to_w32_result'))} ) ] ) ] spids: [8076 8088] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$oldIFS')} spids: [8133] ) ] ) ] spids: [8031 8042] ) ] ) ] ) ) (command.ShFunction name: func_cygpath body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$LT_CYGPATH'))}) (C {<test>} {<-f>} {(DQ ($ Id.VSub_DollarName '$LT_CYGPATH'))}) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_cygpath_result) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Simple words: [ {($ Id.VSub_DollarName '$LT_CYGPATH')} {(DQ ($ Id.VSub_At '$@'))} ] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) ) } spids: [8226] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_QMark '$?'))} {<-ne>} {<0>}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_cygpath_result) op: assign_op.Equal rhs: (word.Empty) spids: [8261] ) ] ) ] spids: [8241 8254] ) ] ) ] spids: [8202 8223] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_cygpath_result) op: assign_op.Equal rhs: (word.Empty) spids: [8270] ) ] ) (C {<func_error>} { (DQ <'LT_CYGPATH is empty or specifies non-existent file: '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$LT_CYGPATH') <'\''> ) } ) ] ) ] ) ) (command.ShFunction name: func_convert_core_msys_to_w32 body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_convert_core_msys_to_w32_result) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (command.Subshell child: (C {<cmd>} {<'//c'>} {<echo>} {(DQ ($ Id.VSub_Number '$1'))}) redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] ) (C {($ Id.VSub_DollarName '$SED')} {<-e>} {(SQ <'s/[ ]*$//'>)} {<-e>} {(DQ ($ Id.VSub_DollarName '$lt_sed_naive_backslashify'))} ) ] negated: F ) ) } spids: [8316] ) ] ) ] ) ) (command.ShFunction name: func_convert_file_check body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_Number '$2'))}) (C {<test>} {<-n>} {(DQ ($ Id.VSub_Number '$1'))}) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_error>} {(DQ <'Could not determine host file name corresponding to'>)}) (C {<func_error>} { (DQ <' '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_Number '$1') <'\''> ) } ) (C {<func_error>} {(DQ <'Continuing, but uninstalled executables may not work.'>)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_file_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [8439] ) ] ) ] spids: [8386 8408] ) ] ) ] ) ) (command.ShFunction name: func_convert_path_check body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_Number '$4'))}) (C {<test>} {<-n>} {(DQ ($ Id.VSub_Number '$3'))}) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_error>} {(DQ <'Could not determine the host path corresponding to'>)}) (C {<func_error>} { (DQ <' '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_Number '$3') <'\''> ) } ) (C {<func_error>} {(DQ <'Continuing, but uninstalled executables may not work.'>)}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ <x> ($ Id.VSub_Number '$1'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <x> ($ Id.VSub_Number '$2'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lt_replace_pathsep_chars) op: assign_op.Equal rhs: { (DQ <'s|'> ($ Id.VSub_Number '$1') <'|'> ($ Id.VSub_Number '$2') <'|g'> ) } spids: [8554] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_path_result) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {<echo>} {(DQ ($ Id.VSub_Number '$3'))}) (C {($ Id.VSub_DollarName '$SED')} {<-e>} { (DQ ($ Id.VSub_DollarName '$lt_replace_pathsep_chars') ) } ) ] negated: F ) ) } spids: [8564] ) ] ) ] spids: [8533 8551] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_path_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$3'))} spids: [8591] ) ] ) ] ) ] spids: [8477 8498] ) ] ) ] ) ) (command.ShFunction name: func_convert_path_front_back_pathsep body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.Case to_match: {($ Id.VSub_Number '$4')} arms: [ (case_arm pat_list: [{($ Id.VSub_Number '$1')}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_path_result) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_Number '$3') ($ Id.VSub_DollarName '$func_to_host_path_result') ) } spids: [8640] ) ] ) ] spids: [8636 8638 8647 -1] ) ] ) (command.Case to_match: {($ Id.VSub_Number '$4')} arms: [ (case_arm pat_list: [{($ Id.VSub_Number '$2')}] action: [ (C {<func_append>} {<func_to_host_path_result>} {(DQ ($ Id.VSub_Number '$3'))}) ] spids: [8660 8662 8673 -1] ) ] ) ] ) ) (command.ShFunction name: func_to_host_file body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (C {($ Id.VSub_DollarName '$to_host_file_cmd')} {(DQ ($ Id.VSub_Number '$1'))}) ] ) ) (command.ShFunction name: func_to_tool_file body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.Case to_match: {<Id.Lit_Comma ','> ($ Id.VSub_Number '$2') <Id.Lit_Comma ','>} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <Id.Lit_Comma ','> (DQ ($ Id.VSub_DollarName '$to_tool_file_cmd')) <Id.Lit_Comma ','> <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_tool_file_result) op: assign_op.Equal rhs: {($ Id.VSub_Number '$1')} spids: [8783] ) ] ) ] spids: [8773 8780 8787 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {($ Id.VSub_DollarName '$to_tool_file_cmd')} {(DQ ($ Id.VSub_Number '$1'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_tool_file_result) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_to_host_file_result')} spids: [8801] ) ] ) ] spids: [8790 8791 8805 -1] ) ] ) ] ) ) (command.ShFunction name: func_convert_file_noop body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_file_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [8831] ) ] ) ] ) ) (command.ShFunction name: func_convert_file_msys_to_w32 body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_file_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [8866] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_Number '$1'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_convert_core_msys_to_w32>} {(DQ ($ Id.VSub_Number '$1'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_file_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_convert_core_msys_to_w32_result'))} spids: [8893] ) ] ) ] spids: [8872 8883] ) ] ) (C {<func_convert_file_check>} {(DQ ($ Id.VSub_Number '$1'))} {(DQ ($ Id.VSub_DollarName '$func_to_host_file_result'))} ) ] ) ) (command.ShFunction name: func_convert_file_cygwin_to_w32 body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_file_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [8939] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_Number '$1'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_file_result) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<cygpath>} {<-m>} {(DQ ($ Id.VSub_Number '$1'))}) ) } spids: [8967] ) ] ) ] spids: [8945 8956] ) ] ) (C {<func_convert_file_check>} {(DQ ($ Id.VSub_Number '$1'))} {(DQ ($ Id.VSub_DollarName '$func_to_host_file_result'))} ) ] ) ) (command.ShFunction name: func_convert_file_nix_to_w32 body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_file_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [9021] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_Number '$1'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_convert_core_file_wine_to_w32>} {(DQ ($ Id.VSub_Number '$1'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_file_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_convert_core_file_wine_to_w32_result'))} spids: [9048] ) ] ) ] spids: [9027 9038] ) ] ) (C {<func_convert_file_check>} {(DQ ($ Id.VSub_Number '$1'))} {(DQ ($ Id.VSub_DollarName '$func_to_host_file_result'))} ) ] ) ) (command.ShFunction name: func_convert_file_msys_to_cygwin body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_file_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [9094] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_Number '$1'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_convert_core_msys_to_w32>} {(DQ ($ Id.VSub_Number '$1'))}) (C {<func_cygpath>} {<-u>} {(DQ ($ Id.VSub_DollarName '$func_convert_core_msys_to_w32_result'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_file_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_cygpath_result'))} spids: [9130] ) ] ) ] spids: [9100 9111] ) ] ) (C {<func_convert_file_check>} {(DQ ($ Id.VSub_Number '$1'))} {(DQ ($ Id.VSub_DollarName '$func_to_host_file_result'))} ) ] ) ) (command.ShFunction name: func_convert_file_nix_to_cygwin body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_file_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [9179] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_Number '$1'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_convert_core_file_wine_to_w32>} {(DQ ($ Id.VSub_Number '$1'))}) (C {<func_cygpath>} {<-u>} {(DQ ($ Id.VSub_DollarName '$func_convert_core_file_wine_to_w32_result'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_file_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_cygpath_result'))} spids: [9219] ) ] ) ] spids: [9185 9196] ) ] ) (C {<func_convert_file_check>} {(DQ ($ Id.VSub_Number '$1'))} {(DQ ($ Id.VSub_DollarName '$func_to_host_file_result'))} ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:to_host_path_cmd) op: assign_op.Equal rhs: (word.Empty) spids: [9313] ) ] ) (command.ShFunction name: func_init_to_host_path_cmd body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$to_host_path_cmd'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_stripname>} {(SQ <func_convert_file_>)} {(SQ )} {(DQ ($ Id.VSub_DollarName '$to_host_file_cmd'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:to_host_path_cmd) op: assign_op.Equal rhs: {(DQ <func_convert_path_> (${ Id.VSub_Name func_stripname_result))} spids: [9354] ) ] ) ] spids: [9326 9337] ) ] ) ] ) ) (command.ShFunction name: func_to_host_path body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (C {<func_init_to_host_path_cmd>}) (C {($ Id.VSub_DollarName '$to_host_path_cmd')} {(DQ ($ Id.VSub_Number '$1'))}) ] ) ) (command.ShFunction name: func_convert_path_noop body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_path_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [9419] ) ] ) ] ) ) (command.ShFunction name: func_convert_path_msys_to_w32 body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_path_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [9454] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_Number '$1'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_stripname>} {<Id.Lit_Colon ':'>} {<Id.Lit_Colon ':'>} {(DQ ($ Id.VSub_Number '$1'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_path_tmp1) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [9497] ) ] ) (C {<func_convert_core_msys_to_w32>} {(DQ ($ Id.VSub_DollarName '$func_to_host_path_tmp1'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_path_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_convert_core_msys_to_w32_result'))} spids: [9508] ) ] ) (C {<func_convert_path_check>} {<Id.Lit_Colon ':'>} {(DQ <';'>)} {(DQ ($ Id.VSub_DollarName '$func_to_host_path_tmp1'))} {(DQ ($ Id.VSub_DollarName '$func_to_host_path_result'))} ) (C {<func_convert_path_front_back_pathsep>} {(DQ <':*'>)} {(DQ <'*:'>)} {(DQ <';'>)} {(DQ ($ Id.VSub_Number '$1'))} ) ] spids: [9460 9471] ) ] ) ] ) ) (command.ShFunction name: func_convert_path_cygwin_to_w32 body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_path_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [9581] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_Number '$1'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_stripname>} {<Id.Lit_Colon ':'>} {<Id.Lit_Colon ':'>} {(DQ ($ Id.VSub_Number '$1'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_path_tmp1) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [9616] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_path_result) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<cygpath>} {<-m>} {<-p>} {(DQ ($ Id.VSub_DollarName '$func_to_host_path_tmp1'))} ) ) } spids: [9620] ) ] ) (C {<func_convert_path_check>} {<Id.Lit_Colon ':'>} {(DQ <';'>)} {(DQ ($ Id.VSub_DollarName '$func_to_host_path_tmp1'))} {(DQ ($ Id.VSub_DollarName '$func_to_host_path_result'))} ) (C {<func_convert_path_front_back_pathsep>} {(DQ <':*'>)} {(DQ <'*:'>)} {(DQ <';'>)} {(DQ ($ Id.VSub_Number '$1'))} ) ] spids: [9587 9598] ) ] ) ] ) ) (command.ShFunction name: func_convert_path_nix_to_w32 body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_path_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [9703] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_Number '$1'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_stripname>} {<Id.Lit_Colon ':'>} {<Id.Lit_Colon ':'>} {(DQ ($ Id.VSub_Number '$1'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_path_tmp1) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [9738] ) ] ) (C {<func_convert_core_path_wine_to_w32>} {(DQ ($ Id.VSub_DollarName '$func_to_host_path_tmp1'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_path_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_convert_core_path_wine_to_w32_result'))} spids: [9749] ) ] ) (C {<func_convert_path_check>} {<Id.Lit_Colon ':'>} {(DQ <';'>)} {(DQ ($ Id.VSub_DollarName '$func_to_host_path_tmp1'))} {(DQ ($ Id.VSub_DollarName '$func_to_host_path_result'))} ) (C {<func_convert_path_front_back_pathsep>} {(DQ <':*'>)} {(DQ <'*:'>)} {(DQ <';'>)} {(DQ ($ Id.VSub_Number '$1'))} ) ] spids: [9709 9720] ) ] ) ] ) ) (command.ShFunction name: func_convert_path_msys_to_cygwin body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_path_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [9822] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_Number '$1'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_stripname>} {<Id.Lit_Colon ':'>} {<Id.Lit_Colon ':'>} {(DQ ($ Id.VSub_Number '$1'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_path_tmp1) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [9857] ) ] ) (C {<func_convert_core_msys_to_w32>} {(DQ ($ Id.VSub_DollarName '$func_to_host_path_tmp1'))} ) (C {<func_cygpath>} {<-u>} {<-p>} {(DQ ($ Id.VSub_DollarName '$func_convert_core_msys_to_w32_result'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_path_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_cygpath_result'))} spids: [9879] ) ] ) (C {<func_convert_path_check>} {<Id.Lit_Colon ':'>} {<Id.Lit_Colon ':'>} {(DQ ($ Id.VSub_DollarName '$func_to_host_path_tmp1'))} {(DQ ($ Id.VSub_DollarName '$func_to_host_path_result'))} ) (C {<func_convert_path_front_back_pathsep>} {(DQ <':*'>)} {(DQ <'*:'>)} {<Id.Lit_Colon ':'>} {(DQ ($ Id.VSub_Number '$1'))} ) ] spids: [9828 9839] ) ] ) ] ) ) (command.ShFunction name: func_convert_path_nix_to_cygwin body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_path_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [9951] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_Number '$1'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_stripname>} {<Id.Lit_Colon ':'>} {<Id.Lit_Colon ':'>} {(DQ ($ Id.VSub_Number '$1'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_path_tmp1) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [9994] ) ] ) (C {<func_convert_core_path_wine_to_w32>} {(DQ ($ Id.VSub_DollarName '$func_to_host_path_tmp1'))} ) (C {<func_cygpath>} {<-u>} {<-p>} {(DQ ($ Id.VSub_DollarName '$func_convert_core_path_wine_to_w32_result'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_to_host_path_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_cygpath_result'))} spids: [10016] ) ] ) (C {<func_convert_path_check>} {<Id.Lit_Colon ':'>} {<Id.Lit_Colon ':'>} {(DQ ($ Id.VSub_DollarName '$func_to_host_path_tmp1'))} {(DQ ($ Id.VSub_DollarName '$func_to_host_path_result'))} ) (C {<func_convert_path_front_back_pathsep>} {(DQ <':*'>)} {(DQ <'*:'>)} {<Id.Lit_Colon ':'>} {(DQ ($ Id.VSub_Number '$1'))} ) ] spids: [9957 9968] ) ] ) ] ) ) (command.ShFunction name: func_mode_compile body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:base_compile) op: assign_op.Equal rhs: (word.Empty) spids: [10083] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:srcfile) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$nonopt'))} spids: [10086] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:suppress_opt) op: assign_op.Equal rhs: {<yes>} spids: [10095] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:suppress_output) op: assign_op.Equal rhs: (word.Empty) spids: [10099] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arg_mode) op: assign_op.Equal rhs: {<normal>} spids: [10102] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libobj) op: assign_op.Equal rhs: (word.Empty) spids: [10106] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:later) op: assign_op.Equal rhs: (word.Empty) spids: [10109] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pie_flag) op: assign_op.Equal rhs: (word.Empty) spids: [10112] ) ] ) (command.ForEach iter_name: arg do_arg_iter: T body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$arg_mode')} arms: [ (case_arm pat_list: [{<arg>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lastarg) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$arg'))} spids: [10140] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arg_mode) op: assign_op.Equal rhs: {<normal>} spids: [10146] ) ] ) ] spids: [10131 10133 10150 -1] ) (case_arm pat_list: [{<target>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libobj) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$arg'))} spids: [10159] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arg_mode) op: assign_op.Equal rhs: {<normal>} spids: [10165] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [10154 10156 10172 -1] ) (case_arm pat_list: [{<normal>}] action: [ (command.Case to_match: {($ Id.VSub_DollarName '$arg')} arms: [ (case_arm pat_list: [{<-o>}] action: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$libobj'))}) (C {<func_fatal_error>} { (DQ <'you cannot specify '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'-o\' more than once'> ) } ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arg_mode) op: assign_op.Equal rhs: {<target>} spids: [10217] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [10192 10193 10224 -1] ) (case_arm pat_list: [{<-pie>} {<-fpie>} {<-fPIE>}] action: [ (C {<func_append>} {<pie_flag>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [10228 10237 10253 -1] ) (case_arm pat_list: [{<-shared>} {<-static>} {<-prefer-pic>} {<-prefer-non-pic>}] action: [ (C {<func_append>} {<later>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [10257 10270 10286 -1] ) (case_arm pat_list: [{<-no-suppress>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:suppress_opt) op: assign_op.Equal rhs: {<no>} spids: [10294] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [10290 10291 10301 -1] ) (case_arm pat_list: [{<-Xcompiler>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arg_mode) op: assign_op.Equal rhs: {<arg>} spids: [10309] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [10305 10306 10322 -1] ) (case_arm pat_list: [{<-Wc> <Id.Lit_Comma ','> <Id.Lit_Star '*'>}] action: [ (C {<func_stripname>} {(SQ <'-Wc,'>)} {(SQ )} {(DQ ($ Id.VSub_DollarName '$arg'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:args) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [10349] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lastarg) op: assign_op.Equal rhs: (word.Empty) spids: [10353] ) ] ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:save_ifs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$IFS'))} spids: [10356] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(SQ <','>)} spids: [10362] ) ] ) (command.ForEach iter_name: arg iter_words: [{($ Id.VSub_DollarName '$args')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$save_ifs'))} spids: [10380] ) ] ) (C {<func_append_quoted>} {<lastarg>} {(DQ ($ Id.VSub_DollarName '$arg'))} ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$save_ifs'))} spids: [10398] ) ] ) (C {<func_stripname>} {(SQ <' '>)} {(SQ )} {(DQ ($ Id.VSub_DollarName '$lastarg'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lastarg) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [10418] ) ] ) (C {<func_append>} {<base_compile>} {(DQ <' '> ($ Id.VSub_DollarName '$lastarg'))} ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [10329 10332 10440 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lastarg) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$srcfile'))} spids: [10460] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:srcfile) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$arg'))} spids: [10466] ) ] ) ] spids: [10444 10445 10472 -1] ) ] ) ] spids: [10176 10178 10481 -1] ) ] ) (C {<func_append_quoted>} {<base_compile>} {(DQ ($ Id.VSub_DollarName '$lastarg'))}) ] ) ) (command.Case to_match: {($ Id.VSub_DollarName '$arg_mode')} arms: [ (case_arm pat_list: [{<arg>}] action: [ (C {<func_fatal_error>} {(DQ <'you must specify an argument for -Xcompile'>)}) ] spids: [10518 10519 10529 -1] ) (case_arm pat_list: [{<target>}] action: [ (C {<func_fatal_error>} { (DQ <'you must specify a target with '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'-o\''> ) } ) ] spids: [10532 10533 10545 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$libobj'))}) (BraceGroup children: [ (C {<func_basename>} {(DQ ($ Id.VSub_DollarName '$srcfile'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libobj) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_basename_result'))} spids: [10576] ) ] ) ] ) ] ) ] spids: [10548 10549 10585 -1] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$libobj')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <.> <Id.Lit_LBracket '['> <cCFSifmso> <Id.Lit_RBracket ']'>} {<Id.Lit_Star '*'> <.ada>} {<Id.Lit_Star '*'> <.adb>} {<Id.Lit_Star '*'> <.ads>} {<Id.Lit_Star '*'> <.asm>} {<Id.Lit_Star '*'> <.c> <Id.Lit_Other '+'> <Id.Lit_Other '+'>} {<Id.Lit_Star '*'> <.cc>} {<Id.Lit_Star '*'> <.ii>} {<Id.Lit_Star '*'> <.class>} {<Id.Lit_Star '*'> <.cpp>} {<Id.Lit_Star '*'> <.cxx>} {<Id.Lit_Star '*'> <.> <Id.Lit_LBracket '['> <fF> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <09> <Id.Lit_RBracket ']'> <Id.Lit_QMark '?'> } {<Id.Lit_Star '*'> <.for>} {<Id.Lit_Star '*'> <.java>} {<Id.Lit_Star '*'> <.go>} {<Id.Lit_Star '*'> <.obj>} {<Id.Lit_Star '*'> <.sx>} {<Id.Lit_Star '*'> <.cu>} {<Id.Lit_Star '*'> <.cup>} ] action: [ (C {<func_xform>} {(DQ ($ Id.VSub_DollarName '$libobj'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libobj) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_xform_result')} spids: [10727] ) ] ) ] spids: [10607 10717 10731 -1] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$libobj')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <.lo>}] action: [ (command.Sentence child: (C {<func_lo2o>} {(DQ ($ Id.VSub_DollarName '$libobj'))}) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:obj) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_lo2o_result')} spids: [10756] ) ] ) ] spids: [10745 10747 10759 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_fatal_error>} { (DQ <'cannot determine name of library object from '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$libobj') <'\''> ) } ) ] spids: [10762 10763 10776 -1] ) ] ) (C {<func_infer_tag>} {($ Id.VSub_DollarName '$base_compile')}) (command.ForEach iter_name: arg iter_words: [{($ Id.VSub_DollarName '$later')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$arg')} arms: [ (case_arm pat_list: [{<-shared>}] action: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_libtool_libs'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<yes>} ) (C {<func_fatal_configuration>} {(DQ <'can not build a shared library'>)} ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:build_old_libs) op: assign_op.Equal rhs: {<no>} spids: [10834] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [10808 10809 10841 -1] ) (case_arm pat_list: [{<-static>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:build_libtool_libs) op: assign_op.Equal rhs: {<no>} spids: [10849] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:build_old_libs) op: assign_op.Equal rhs: {<yes>} spids: [10853] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [10845 10846 10860 -1] ) (case_arm pat_list: [{<-prefer-pic>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pic_mode) op: assign_op.Equal rhs: {<yes>} spids: [10868] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [10864 10865 10875 -1] ) (case_arm pat_list: [{<-prefer-non-pic>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pic_mode) op: assign_op.Equal rhs: {<no>} spids: [10883] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [10879 10880 10890 -1] ) ] ) ] ) ) (C {<func_quote_for_eval>} {(DQ ($ Id.VSub_DollarName '$libobj'))}) (command.AndOr ops: [Id.Op_DAmp Id.Op_DAmp] children: [ (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$libobj'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <X> ($ Id.VSub_DollarName '$func_quote_for_eval_result'))} ) (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ <X> ($ Id.VSub_DollarName '$libobj'))}) (C {($ Id.VSub_DollarName '$GREP')} {(SQ <'[]~#^*{};<>?"'>) (DQ <'\''>) (SQ <'\t &()|`$[]'>)} ) ] negated: F ) (C {<func_warning>} { (DQ <'libobj name '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$libobj') <'\' may not contain shell special characters.'> ) } ) ] ) (C {<func_dirname_and_basename>} {(DQ ($ Id.VSub_DollarName '$obj'))} {(DQ <'/'>)} {(DQ )}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:objname) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_basename_result'))} spids: [10975] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:xdir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_dirname_result'))} spids: [10981] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lobj) op: assign_op.Equal rhs: {(${ Id.VSub_Name xdir) ($ Id.VSub_DollarName '$objdir') <'/'> ($ Id.VSub_DollarName '$objname') } spids: [10987] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$base_compile'))}) (C {<func_fatal_help>} {(DQ <'you must specify a compilation command'>)}) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_old_libs'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:removelist) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$obj') <' '> ($ Id.VSub_DollarName '$lobj') <' '> ($ Id.VSub_DollarName '$libobj') <' '> (${ Id.VSub_Name libobj) <T> ) } spids: [11037] ) ] ) ] spids: [11021 11034] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:removelist) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$lobj') <' '> ($ Id.VSub_DollarName '$libobj') <' '> (${ Id.VSub_Name libobj) <T> ) } spids: [11055] ) ] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$host_os')} arms: [ (case_arm pat_list: [ {<cygwin> <Id.Lit_Star '*'>} {<mingw> <Id.Lit_Star '*'>} {<pw32> <Id.Lit_Star '*'>} {<os2> <Id.Lit_Star '*'>} {<cegcc> <Id.Lit_Star '*'>} ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pic_mode) op: assign_op.Equal rhs: {<default>} spids: [11108] ) ] ) ] spids: [11083 11105 11112 -1] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$pic_mode'))} {<Id.Lit_Equals '='>} {<no>} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$deplibs_check_method'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<pass_all>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pic_mode) op: assign_op.Equal rhs: {<default>} spids: [11151] ) ] ) ] spids: [11118 11144] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$compiler_c_o'))} {<Id.Lit_Equals '='>} {<no>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:output_obj) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$srcfile'))} ) (C {($ Id.VSub_DollarName '$SED')} {(SQ <'s%^.*/%%; s%\\.[^.]*$%%'>)} ) ] negated: F ) ) <.> (${ Id.VSub_Name objext) } spids: [11183] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lockfile) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$output_obj') <.lock>)} spids: [11209] ) ] ) ] spids: [11167 11180] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:output_obj) op: assign_op.Equal rhs: (word.Empty) spids: [11219] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:need_locks) op: assign_op.Equal rhs: {<no>} spids: [11222] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lockfile) op: assign_op.Equal rhs: (word.Empty) spids: [11226] ) ] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$need_locks'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.WhileUntil keyword: <Id.KW_Until until> cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (command.Simple words: [ {<ln>} {(DQ ($ Id.VSub_DollarName '$progpath'))} {(DQ ($ Id.VSub_DollarName '$lockfile'))} ] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) ] ) terminator: <Id.Op_Semi _> ) ] ) body: (command.DoGroup children: [ (C {<func_echo>} { (DQ <'Waiting for '> ($ Id.VSub_DollarName '$lockfile') <' to be removed'> ) } ) (C {<sleep>} {<2>}) ] ) ) ] spids: [11241 11254] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$need_locks'))} {<Id.Lit_Equals '='>} {<warn>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-f>} {(DQ ($ Id.VSub_DollarName '$lockfile'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'*** ERROR, '> ($ Id.VSub_DollarName '$lockfile') <' exists and contains:\n'> (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Simple words: [{<cat>} {($ Id.VSub_DollarName '$lockfile')}] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) ) <'\n'> <'\n'> <'This indicates that another process is trying to use the same\n'> < 'temporary object file, and libtool could not work around it because\n' > <'your compiler does not support '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-c\' and '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-o\' together. If you\n'> < 'repeat this compilation, it may succeed, by chance, but you had better\n' > <'avoid parallel builds (make -j) in this platform, or get a better\n'> <compiler.> ) } ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (C {($ Id.VSub_DollarName '$RM')} {($ Id.VSub_DollarName '$removelist')} ) ] ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$EXIT_FAILURE')} ) ] spids: [11313 11324] ) ] ) (C {<func_append>} {<removelist>} {(DQ <' '> ($ Id.VSub_DollarName '$output_obj'))}) (command.Simple words: [{($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$srcfile'))}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {(DQ ($ Id.VSub_DollarName '$lockfile'))} ) ] do_fork: T ) ] spids: [11297 11310] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (C {($ Id.VSub_DollarName '$RM')} {($ Id.VSub_DollarName '$removelist')}) ] ) (C {<func_append>} {<removelist>} {(DQ <' '> ($ Id.VSub_DollarName '$lockfile'))}) (C {<trap>} {(SQ <'$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'>)} {<1>} {<2>} {<15>}) (C {<func_to_tool_file>} {(DQ ($ Id.VSub_DollarName '$srcfile'))} {<func_convert_file_msys_to_w32>} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:srcfile) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_to_tool_file_result')} spids: [11446] ) ] ) (C {<func_quote_for_eval>} {(DQ ($ Id.VSub_DollarName '$srcfile'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:qsrcfile) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_quote_for_eval_result')} spids: [11457] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_libtool_libs'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fbsd_hideous_sh_bug) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$base_compile')} spids: [11486] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$pic_mode'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<no>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:command) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$base_compile') <' '> ($ Id.VSub_DollarName '$qsrcfile') <' '> ($ Id.VSub_DollarName '$pic_flag') ) } spids: [11508] ) ] ) ] spids: [11491 11505] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:command) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$base_compile') <' '> ($ Id.VSub_DollarName '$qsrcfile') ) } spids: [11525] ) ] ) ] ) (C {<func_mkdir_p>} {(DQ ($ Id.VSub_DollarName '$xdir') ($ Id.VSub_DollarName '$objdir'))} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$output_obj'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<command>} {(DQ <' -o '> ($ Id.VSub_DollarName '$lobj'))}) ] spids: [11546 11557] ) ] ) (C {<func_show_eval_locale>} {(DQ ($ Id.VSub_DollarName '$command'))} {(SQ <'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'>)} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$need_locks'))} {<Id.Lit_Equals '='>} {<warn>} ) (C {<test>} { (DQ <X> (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Simple words: [ {<cat>} {($ Id.VSub_DollarName '$lockfile')} ] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) ) ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <X> ($ Id.VSub_DollarName '$srcfile'))} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'*** ERROR, '> ($ Id.VSub_DollarName '$lockfile') <' contains:\n'> (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Simple words: [{<cat>} {($ Id.VSub_DollarName '$lockfile')}] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) ) <'\n'> <'\n'> <'but it should contain:\n'> ($ Id.VSub_DollarName '$srcfile') <'\n'> <'\n'> < 'This indicates that another process is trying to use the same\n' > <'temporary object file, and libtool could not work around it because\n'> <'your compiler does not support '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-c\' and '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'-o\' together. If you\n'> < 'repeat this compilation, it may succeed, by chance, but you had better\n' > <'avoid parallel builds (make -j) in this platform, or get a better\n'> <compiler.> ) } ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (C {($ Id.VSub_DollarName '$RM')} {($ Id.VSub_DollarName '$removelist')} ) ] ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$EXIT_FAILURE')} ) ] spids: [11592 11632] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$output_obj'))}) (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$output_obj'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <X> ($ Id.VSub_DollarName '$lobj'))} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_show_eval>} {(SQ <'$MV "$output_obj" "$lobj"'>)} {(SQ <'error=$?; $opt_dry_run || $RM $removelist; exit $error'>)} ) ] spids: [11694 11722] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$suppress_opt'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:suppress_output) op: assign_op.Equal rhs: {(SQ <' >/dev/null 2>&1'>)} spids: [11762] ) ] ) ] spids: [11746 11759] ) ] ) ] spids: [11466 11479] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_old_libs'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$pic_mode'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:command) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$base_compile') <' '> ($ Id.VSub_DollarName '$qsrcfile') ($ Id.VSub_DollarName '$pie_flag') ) } spids: [11816] ) ] ) ] spids: [11795 11809] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:command) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$base_compile') <' '> ($ Id.VSub_DollarName '$qsrcfile') <' '> ($ Id.VSub_DollarName '$pic_flag') ) } spids: [11828] ) ] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$compiler_c_o'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<command>} {(DQ <' -o '> ($ Id.VSub_DollarName '$obj'))}) ] spids: [11841 11854] ) ] ) (C {<func_append>} {<command>} {(DQ ($ Id.VSub_DollarName '$suppress_output'))}) (C {<func_show_eval_locale>} {(DQ ($ Id.VSub_DollarName '$command'))} {(SQ <'$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'>)} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$need_locks'))} {<Id.Lit_Equals '='>} {<warn>} ) (C {<test>} { (DQ <X> (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Simple words: [ {<cat>} {($ Id.VSub_DollarName '$lockfile')} ] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) ) ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <X> ($ Id.VSub_DollarName '$srcfile'))} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'*** ERROR, '> ($ Id.VSub_DollarName '$lockfile') <' contains:\n'> (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Simple words: [{<cat>} {($ Id.VSub_DollarName '$lockfile')}] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) ) <'\n'> <'\n'> <'but it should contain:\n'> ($ Id.VSub_DollarName '$srcfile') <'\n'> <'\n'> < 'This indicates that another process is trying to use the same\n' > <'temporary object file, and libtool could not work around it because\n'> <'your compiler does not support '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-c\' and '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'-o\' together. If you\n'> < 'repeat this compilation, it may succeed, by chance, but you had better\n' > <'avoid parallel builds (make -j) in this platform, or get a better\n'> <compiler.> ) } ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (C {($ Id.VSub_DollarName '$RM')} {($ Id.VSub_DollarName '$removelist')} ) ] ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$EXIT_FAILURE')} ) ] spids: [11898 11938] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$output_obj'))}) (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$output_obj'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <X> ($ Id.VSub_DollarName '$obj'))} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_show_eval>} {(SQ <'$MV "$output_obj" "$obj"'>)} {(SQ <'error=$?; $opt_dry_run || $RM $removelist; exit $error'>)} ) ] spids: [12000 12028] ) ] ) ] spids: [11779 11792] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (BraceGroup children: [ (C {<func_write_libtool_object>} {(DQ ($ Id.VSub_DollarName '$libobj'))} {(DQ ($ Id.VSub_DollarName '$objdir') <'/'> ($ Id.VSub_DollarName '$objname'))} {(DQ ($ Id.VSub_DollarName '$objname'))} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$need_locks'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<no>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:removelist) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$lockfile')} spids: [12097] ) ] ) (C {($ Id.VSub_DollarName '$RM')} {(DQ ($ Id.VSub_DollarName '$lockfile'))}) ] spids: [12080 12094] ) ] ) ] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$EXIT_SUCCESS')} ) ] ) ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_help')}) (BraceGroup children: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_mode'))} {<Id.Lit_Equals '='>} {<compile>}) (C {<func_mode_compile>} { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {(DQ ($ Id.VSub_At '$@'))} ) ) } ) ] ) ] ) ] ) (command.ShFunction name: func_mode_help body: (BraceGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$opt_mode')} arms: [ (case_arm pat_list: [{(DQ )}] action: [(C {<func_help>})] spids: [12173 12175 12189 -1] ) (case_arm pat_list: [{<clean>}] action: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'Usage: '> ($ Id.VSub_DollarName '$progname') <' [OPTION]... --mode=clean RM [RM-OPTION]... FILE...\n'> <'\n'> <'Remove files from the build directory.\n'> <'\n'> < 'RM is the name of the program to use to delete files associated with each FILE\n' > <'(typically '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'/bin/rm\'). RM-OPTIONS are options (such as '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-f\') to be passed\n'> <'to RM.\n'> <'\n'> < 'If FILE is a libtool library, object or program, all the files associated\n' > <'with it are deleted. Otherwise, only FILE itself is deleted using RM.'> ) } ) ] spids: [12193 12194 12220 -1] ) (case_arm pat_list: [{<compile>}] action: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'Usage: '> ($ Id.VSub_DollarName '$progname') <' [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE\n'> <'\n'> <'Compile a source file into a libtool library object.\n'> <'\n'> <'This mode accepts the following additional options:\n'> <'\n'> <' -o OUTPUT-FILE set the output file name to OUTPUT-FILE\n'> < ' -no-suppress do not suppress compiler output for multiple passes\n' > <' -prefer-pic try to build PIC objects only\n'> <' -prefer-non-pic try to build non-PIC objects only\n'> <' -shared do not build a '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'.o\' file suitable for static linking\n'> <' -static only build a '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'.o\' file suitable for static linking\n'> <' -Wc,FLAG pass FLAG directly to the compiler\n'> <'\n'> <'COMPILE-COMMAND is a command to be used in creating a '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'standard\' object file\n'> <'from the given SOURCEFILE.\n'> <'\n'> <'The output file name is determined by removing the directory component from\n'> <'SOURCEFILE, then substituting the C source code suffix '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'.c\' with the\n'> <'library object suffix, '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'.lo\'.'> ) } ) ] spids: [12224 12225 12267 -1] ) (case_arm pat_list: [{<execute>}] action: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'Usage: '> ($ Id.VSub_DollarName '$progname') <' [OPTION]... --mode=execute COMMAND [ARGS]...\n'> <'\n'> <'Automatically set library path, then run a program.\n'> <'\n'> <'This mode accepts the following additional options:\n'> <'\n'> <' -dlopen FILE add the directory containing FILE to the library path\n'> <'\n'> <'This mode sets the library path environment variable according to '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-dlopen\'\n'> <'flags.\n'> <'\n'> < 'If any of the ARGS are libtool executable wrappers, then they are translated\n' > <'into their corresponding uninstalled binary, and any of their required library\n'> <'directories are added to the library path.\n'> <'\n'> <'Then, COMMAND is executed, with ARGS as arguments.'> ) } ) ] spids: [12271 12272 12302 -1] ) (case_arm pat_list: [{<finish>}] action: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'Usage: '> ($ Id.VSub_DollarName '$progname') <' [OPTION]... --mode=finish [LIBDIR]...\n'> <'\n'> <'Complete the installation of libtool libraries.\n'> <'\n'> <'Each LIBDIR is a directory that contains libtool libraries.\n'> <'\n'> <'The commands that this mode executes may require superuser privileges. Use\n'> <'the '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'--dry-run\' option if you just want to see what would be executed.'> ) } ) ] spids: [12306 12307 12329 -1] ) (case_arm pat_list: [{<install>}] action: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'Usage: '> ($ Id.VSub_DollarName '$progname') <' [OPTION]... --mode=install INSTALL-COMMAND...\n'> <'\n'> <'Install executables or libraries.\n'> <'\n'> < 'INSTALL-COMMAND is the installation command. The first component should be\n' > <'either the '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'install\' or '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'cp\' program.\n'> <'\n'> <'The following components of INSTALL-COMMAND are treated specially:\n'> <'\n'> <' -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation\n'> <'\n'> < 'The rest of the components are interpreted as arguments to that command (only\n' > <'BSD-compatible install options are recognized).'> ) } ) ] spids: [12333 12334 12363 -1] ) (case_arm pat_list: [{<link>}] action: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'Usage: '> ($ Id.VSub_DollarName '$progname') <' [OPTION]... --mode=link LINK-COMMAND...\n'> <'\n'> <'Link object files or libraries together to form another library, or to\n'> <'create an executable program.\n'> <'\n'> <'LINK-COMMAND is a command using the C compiler that you would use to create\n'> <'a program from several object files.\n'> <'\n'> <'The following components of LINK-COMMAND are treated specially:\n'> <'\n'> <' -all-static do not do any dynamic linking at all\n'> <' -avoid-version do not add a version suffix if possible\n'> < ' -bindir BINDIR specify path to binaries directory (for systems where\n' > <' libraries must be found in the PATH setting at runtime)\n'> <' -dlopen FILE '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-dlpreopen\' FILE if it cannot be dlopened at runtime\n'> <' -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols\n'> < ' -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)\n' > <' -export-symbols SYMFILE\n'> <' try to export only the symbols listed in SYMFILE\n'> <' -export-symbols-regex REGEX\n'> <' try to export only the symbols matching REGEX\n'> <' -LLIBDIR search LIBDIR for required installed libraries\n'> < ' -lNAME OUTPUT-FILE requires the installed library libNAME\n' > <' -module build a library that can dlopened\n'> <' -no-fast-install disable the fast-install mode\n'> <' -no-install link a not-installable executable\n'> < ' -no-undefined declare that a library does not refer to external symbols\n' > <' -o OUTPUT-FILE create OUTPUT-FILE from the specified objects\n'> < ' -objectlist FILE Use a list of object files found in FILE to specify objects\n' > <' -precious-files-regex REGEX\n'> <' don\'t remove output files matching REGEX\n'> <' -release RELEASE specify package release information\n'> < ' -rpath LIBDIR the created library will eventually be installed in LIBDIR\n' > <' -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries\n'> <' -shared only do dynamic linking of libtool libraries\n'> <' -shrext SUFFIX override the standard shared library file extension\n'> < ' -static do not do any dynamic linking of uninstalled libtool libraries\n' > <' -static-libtool-libs\n'> < ' do not do any dynamic linking of libtool libraries\n' > <' -version-info CURRENT[:REVISION[:AGE]]\n'> < ' specify library version info [each variable defaults to 0]\n' > <' -weak LIBNAME declare that the target provides the LIBNAME interface\n'> <' -Wc,FLAG\n'> < ' -Xcompiler FLAG pass linker-specific FLAG directly to the compiler\n' > <' -Wl,FLAG\n'> <' -Xlinker FLAG pass linker-specific FLAG directly to the linker\n'> < ' -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC)\n' > <'\n'> <'All other options (arguments beginning with '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'-\') are ignored.\n'> <'\n'> <'Every other argument is treated as a filename. Files ending in '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'.la\' are\n'> <'treated as uninstalled libtool libraries, other files are standard or library\n'> <'object files.\n'> <'\n'> <'If the OUTPUT-FILE ends in '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'.la\', then a libtool library is created,\n'> <'only library objects ('> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'.lo\' files) may be specified, and '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-rpath\' is\n'> <'required, except when creating a convenience library.\n'> <'\n'> <'If OUTPUT-FILE ends in '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'.a\' or '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'.lib\', then a standard library is created\n'> <'using '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'ar\' and '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'ranlib\', or on Windows using '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'lib\'.\n'> <'\n'> <'If OUTPUT-FILE ends in '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'.lo\' or '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <.> (${ Id.VSub_Name objext) <'\', then a reloadable object file\n'> <'is created, otherwise an executable program is created.'> ) } ) ] spids: [12367 12368 12473 -1] ) (case_arm pat_list: [{<uninstall>}] action: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'Usage: '> ($ Id.VSub_DollarName '$progname') <' [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...\n'> <'\n'> <'Remove libraries from an installation directory.\n'> <'\n'> < 'RM is the name of the program to use to delete files associated with each FILE\n' > <'(typically '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'/bin/rm\'). RM-OPTIONS are options (such as '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-f\') to be passed\n'> <'to RM.\n'> <'\n'> < 'If FILE is a libtool library, all the files associated with it are deleted.\n' > <'Otherwise, only FILE itself is deleted using RM.'> ) } ) ] spids: [12477 12478 12504 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_fatal_help>} { (DQ <'invalid operation mode '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$opt_mode') <'\''> ) } ) ] spids: [12508 12509 12522 -1] ) ] ) (C {<echo>}) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'Try '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$progname') <' --help\' for more information about other modes.'> ) } ) ] ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {($ Id.VSub_DollarName '$opt_help')}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_help'))} {<Id.Lit_Equals '='>} {<Id.Lit_Colon ':'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<func_mode_help>})] spids: [12555 12568] ) ] else_action: [ (command.Pipeline children: [ (BraceGroup children: [ (C {<func_help>} {<noexit>}) (command.ForEach iter_name: opt_mode iter_words: [ {<compile>} {<link>} {<execute>} {<install>} {<finish>} {<uninstall>} {<clean>} ] do_arg_iter: F body: (command.DoGroup children:[(C {<func_mode_help>})]) ) ] ) (C {<sed>} {<-n>} {(SQ <'1p; 2,$s/^Usage:/ or: /p'>)}) ] negated: F ) (command.Pipeline children: [ (BraceGroup children: [ (C {<func_help>} {<noexit>}) (command.ForEach iter_name: opt_mode iter_words: [ {<compile>} {<link>} {<execute>} {<install>} {<finish>} {<uninstall>} {<clean>} ] do_arg_iter: F body: (command.DoGroup children:[(C {<echo>}) (C {<func_mode_help>})]) ) ] ) (C {<sed>} { (SQ <'1d\n'> <' /^When reporting/,/^Report/{\n'> <'\tH\n'> <'\td\n'> <' }\n'> <' $x\n'> <' /information about other modes/d\n'> <' /more detailed .*MODE/d\n'> <' s/^Usage:.*--mode=\\([^ ]*\\) .*/Description of \\1 mode:/'> ) } ) ] negated: F ) ] ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_QMark '$?')} ) ] spids: [12547 12552] ) ] ) (command.ShFunction name: func_mode_execute body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:cmd) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$nonopt'))} spids: [12718] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$cmd'))}) (C {<func_fatal_help>} {(DQ <'you must specify a COMMAND'>)}) ] ) (command.ForEach iter_name: file iter_words: [{($ Id.VSub_DollarName '$opt_dlopen')}] do_arg_iter: F body: (command.DoGroup children: [ (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {<-f>} {(DQ ($ Id.VSub_DollarName '$file'))}) (C {<func_fatal_help>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$file') <'\' is not a file'> ) } ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dir) op: assign_op.Equal rhs: (word.Empty) spids: [12782] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$file')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <.la>}] action: [ (C {<func_resolve_sysroot>} {(DQ ($ Id.VSub_DollarName '$file'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:file) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_resolve_sysroot_result')} spids: [12804] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<func_lalib_unsafe_p>} {(DQ ($ Id.VSub_DollarName '$file'))}) (C {<func_fatal_help>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$lib') <'\' is not a valid libtool archive'> ) } ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlname) op: assign_op.Equal rhs: (word.Empty) spids: [12837] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:library_names) op: assign_op.Equal rhs: (word.Empty) spids: [12840] ) ] ) (C {<func_source>} {(DQ ($ Id.VSub_DollarName '$file'))}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$dlname'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$library_names'))}) (C {<func_warning>} { (DQ (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$file') <'\' was not linked with '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'-export-dynamic\''> ) } ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [12855 12866] ) ] ) (C {<func_dirname>} {(DQ ($ Id.VSub_DollarName '$file'))} {(DQ )} {(DQ <.>)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_dirname_result'))} spids: [12917] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-f>} { (DQ ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$objdir') <'/'> ($ Id.VSub_DollarName '$dlname') ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<dir>} {(DQ <'/'> ($ Id.VSub_DollarName '$objdir'))} ) ] spids: [12924 12939] ) ] else_action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<Id.KW_Bang '!'>} {<-f>} { (DQ ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$dlname') ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_fatal_error>} { (DQ <'cannot find '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$dlname') <'\' in '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$dir') <'\' or '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$objdir') <'\''> ) } ) ] spids: [12955 12970] ) ] ) ] ) ] spids: [12792 12794 12997 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'> <.lo>}] action: [ (C {<func_dirname>} {(DQ ($ Id.VSub_DollarName '$file'))} {(DQ )} {(DQ <.>)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_dirname_result'))} spids: [13024] ) ] ) ] spids: [13001 13003 13030 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_warning>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-dlopen\' is ignored for non-libtool libraries and objects'> ) } ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [13034 13035 13049 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:absdir) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<cd>} {(DQ ($ Id.VSub_DollarName '$dir'))}) (C {<pwd>}) ] ) ) } spids: [13060] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$absdir'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$absdir'))} spids: [13086] ) ] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<eval>} { (DQ <'test -z '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) ($ Id.VSub_DollarName '$shlibpath_var') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<eval>} { (DQ ($ Id.VSub_DollarName '$shlibpath_var') <'='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <dir> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ) } ) ] spids: [13097 13110] ) ] else_action: [ (C {<eval>} { (DQ ($ Id.VSub_DollarName '$shlibpath_var') <'='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'dir:'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) ($ Id.VSub_DollarName '$shlibpath_var') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ) } ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libtool_execute_magic) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$magic'))} spids: [13157] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:args) op: assign_op.Equal rhs: (word.Empty) spids: [13168] ) ] ) (command.ForEach iter_name: file do_arg_iter: T body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$file')} arms: [ (case_arm pat_list: [ {<-> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <.la>} {<Id.Lit_Star '*'> <.lo>} ] spids: [13186 13199 13201 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<func_ltwrapper_script_p>} {(DQ ($ Id.VSub_DollarName '$file'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_source>} {(DQ ($ Id.VSub_DollarName '$file'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:file) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$progdir') <'/'> ($ Id.VSub_DollarName '$program') ) } spids: [13235] ) ] ) ] spids: [13212 13221] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<func_ltwrapper_executable_p>} {(DQ ($ Id.VSub_DollarName '$file'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_ltwrapper_scriptname>} {(DQ ($ Id.VSub_DollarName '$file'))} ) (C {<func_source>} { (DQ ($ Id.VSub_DollarName '$func_ltwrapper_scriptname_result') ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:file) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$progdir') <'/'> ($ Id.VSub_DollarName '$program') ) } spids: [13273] ) ] ) ] spids: [13243 13252] ) ] ) ] spids: [13204 13205 13284 -1] ) ] ) (C {<func_append_quoted>} {<args>} {(DQ ($ Id.VSub_DollarName '$file'))}) ] ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$opt_dry_run'))} {<Id.Lit_Equals '='>} {<Xfalse>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$shlibpath_var'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<eval>} {(DQ <'export '> ($ Id.VSub_DollarName '$shlibpath_var'))}) ] spids: [13324 13335] ) ] ) (command.ForEach iter_name: lt_var iter_words: [ {<LANG>} {<LANGUAGE>} {<LC_ALL>} {<LC_CTYPE>} {<LC_COLLATE>} {<LC_MESSAGES>} ] do_arg_iter: F body: (command.DoGroup children: [ (C {<eval>} { (DQ <'if test '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'{save_'> ($ Id.VSub_DollarName '$lt_var') <'+set}'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' = set; then\n'> <' '> ($ Id.VSub_DollarName '$lt_var') <'='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <save_> ($ Id.VSub_DollarName '$lt_var') <'; export '> ($ Id.VSub_DollarName '$lt_var') <'\n'> <'\t else\n'> <'\t\t'> ($ Id.VSub_DollarName '$lt_unset') <' '> ($ Id.VSub_DollarName '$lt_var') <'\n'> <'\t fi'> ) } ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:exec_cmd) op: assign_op.Equal rhs: { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <cmd> ($ Id.VSub_DollarName '$args') ) } spids: [13418] ) ] ) ] spids: [13307 13321] ) ] else_action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$shlibpath_var'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<eval>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'ECHO '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'shlibpath_var='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) ($ Id.VSub_DollarName '$shlibpath_var') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ) } ) (C {<echo>} {(DQ <'export '> ($ Id.VSub_DollarName '$shlibpath_var'))}) ] spids: [13433 13444] ) ] ) (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$cmd') ($ Id.VSub_DollarName '$args'))} ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$EXIT_SUCCESS')} ) ] ) ] ) ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_mode'))} {<Id.Lit_Equals '='>} {<execute>}) (C {<func_mode_execute>} { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok:<Id.VTest_Plus '+'> arg_word:{(DQ ($ Id.VSub_At '$@'))}) ) } ) ] ) (command.ShFunction name: func_mode_finish body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libs) op: assign_op.Equal rhs: (word.Empty) spids: [13528] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libdirs) op: assign_op.Equal rhs: (word.Empty) spids: [13531] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:admincmds) op: assign_op.Equal rhs: (word.Empty) spids: [13534] ) ] ) (command.ForEach iter_name: opt iter_words: [ {(DQ ($ Id.VSub_DollarName '$nonopt'))} { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {(DQ ($ Id.VSub_At '$@'))} ) ) } ] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-d>} {(DQ ($ Id.VSub_DollarName '$opt'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<libdirs>} {(DQ <' '> ($ Id.VSub_DollarName '$opt'))}) ] spids: [13560 13571] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-f>} {(DQ ($ Id.VSub_DollarName '$opt'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<func_lalib_unsafe_p>} {(DQ ($ Id.VSub_DollarName '$opt'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<libs>} {(DQ <' '> ($ Id.VSub_DollarName '$opt'))} ) ] spids: [13599 13608] ) ] else_action: [ (C {<func_warning>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$opt') <'\' is not a valid libtool archive'> ) } ) ] ) ] spids: [13585 13596] ) ] else_action: [ (C {<func_fatal_error>} { (DQ <'invalid argument '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$opt') <'\''> ) } ) ] ) ] ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$libs'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$lt_sysroot'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:sysroot_regex) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$lt_sysroot'))} ) (C {($ Id.VSub_DollarName '$SED')} { (DQ ($ Id.VSub_DollarName '$sed_make_literal_regex') ) } ) ] negated: F ) ) } spids: [13685] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:sysroot_cmd) op: assign_op.Equal rhs: { (DQ <'s/'> <Id.Lit_BadBackslash '\\'> <'([ \']'> <Id.Lit_BadBackslash '\\'> <')'> ($ Id.VSub_DollarName '$sysroot_regex') <'/'> <Id.Lit_BadBackslash '\\'> <'1/g;'> ) } spids: [13705] ) ] ) ] spids: [13671 13682] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:sysroot_cmd) op: assign_op.Equal rhs: (word.Empty) spids: [13722] ) ] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {($ Id.VSub_DollarName '$opt_dry_run')}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ForEach iter_name: lib iter_words: [{($ Id.VSub_DollarName '$libs')}] do_arg_iter: F body: (command.DoGroup children: [ (C {<echo>} { (DQ <'removing references to '> ($ Id.VSub_DollarName '$lt_sysroot') <' and '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'=\' prefixes from '> ($ Id.VSub_DollarName '$lib') ) } ) ] ) ) ] spids: [13733 13738] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tmpdir) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<func_mktempdir>}) ) } spids: [13771] ) ] ) (command.ForEach iter_name: lib iter_words: [{($ Id.VSub_DollarName '$libs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Simple words: [ {<sed>} {<-e>} { (DQ (${ Id.VSub_Name sysroot_cmd) <' s/'> <Id.Lit_BadBackslash '\\'> <'([ \']-[LR]'> <Id.Lit_BadBackslash '\\'> <')=/'> <Id.Lit_BadBackslash '\\'> <'1/g; s/'> <Id.Lit_BadBackslash '\\'> <'([ \']'> <Id.Lit_BadBackslash '\\'> <')=/'> <Id.Lit_BadBackslash '\\'> <'1/g'> ) } {($ Id.VSub_DollarName '$lib')} ] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$tmpdir') <'/tmp-la'>} ) ] do_fork: T ) (C {<mv>} {<-f>} {($ Id.VSub_DollarName '$tmpdir') <'/tmp-la'>} {($ Id.VSub_DollarName '$lib')} ) ] ) ) (C {(${ Id.VSub_Name RM) <r>} {(DQ ($ Id.VSub_DollarName '$tmpdir'))}) ] ) ] spids: [13657 13668] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$finish_cmds') ($ Id.VSub_DollarName '$finish_eval') ) } ) (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$libdirs'))}) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ForEach iter_name: libdir iter_words: [{($ Id.VSub_DollarName '$libdirs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$finish_cmds'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_execute_cmds>} {(DQ ($ Id.VSub_DollarName '$finish_cmds'))} {(SQ <'admincmds="$admincmds\n'>) (DQ ($ Id.VSub_DollarName '$cmd')) (SQ <'"'>)} ) ] spids: [13891 13902] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$finish_eval'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<eval>} {<Id.Lit_VarLike 'cmds='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$finish_eval') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) (command.AndOr ops: [Id.Op_DPipe Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (C {<eval>} {(DQ ($ Id.VSub_DollarName '$cmds'))}) (C {<func_append>} {<admincmds>} {(DQ <'\n'> <' '> ($ Id.VSub_DollarName '$cmds'))} ) ] ) ] spids: [13929 13940] ) ] ) ] ) ) ] spids: [13854 13876] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {($ Id.VSub_DollarName '$opt_silent')}) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$EXIT_SUCCESS')} ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$finish_cmds') ($ Id.VSub_DollarName '$finish_eval') ) } ) (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$libdirs'))}) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<echo>} {(DQ <---------------------------------------------------------------------->)} ) (C {<echo>} {(DQ <'Libraries have been installed in:'>)}) (command.ForEach iter_name: libdir iter_words: [{($ Id.VSub_DollarName '$libdirs')}] do_arg_iter: F body: (command.DoGroup children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ <' '> ($ Id.VSub_DollarName '$libdir'))} ) ] ) ) (C {<echo>}) (C {<echo>} {(DQ <'If you ever happen to want to link against installed libraries'>)} ) (C {<echo>} {(DQ <'in a given directory, LIBDIR, you must either use libtool, and'>)} ) (C {<echo>} { (DQ <'specify the full pathname of the library, or use the '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'-LLIBDIR\''> ) } ) (C {<echo>} {(DQ <'flag during linking and do at least one of the following:'>)}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$shlibpath_var'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<echo>} { (DQ <' - add LIBDIR to the '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$shlibpath_var') <'\' environment variable'> ) } ) (C {<echo>} {(DQ <' during execution'>)}) ] spids: [14097 14108] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$runpath_var'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<echo>} { (DQ <' - add LIBDIR to the '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$runpath_var') <'\' environment variable'> ) } ) (C {<echo>} {(DQ <' during linking'>)}) ] spids: [14131 14142] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$hardcode_libdir_flag_spec'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libdir) op: assign_op.Equal rhs: {<LIBDIR>} spids: [14179] ) ] ) (C {<eval>} {<Id.Lit_VarLike 'flag='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$hardcode_libdir_flag_spec') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) } ) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <' - use the '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$flag') <'\' linker flag'> ) } ) ] spids: [14165 14176] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$admincmds'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <' - have your system administrator run these commands:'> ($ Id.VSub_DollarName '$admincmds') ) } ) ] spids: [14205 14216] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-f>} {<'/etc/ld.so.conf'>}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<echo>} { (DQ <' - have your system administrator add LIBDIR to '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'/etc/ld.so.conf\''> ) } ) ] spids: [14230 14239] ) ] ) (C {<echo>}) (C {<echo>} {(DQ <'See any operating system documentation about shared libraries for'>)} ) (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<solaris2.> <Id.Lit_LBracket '['> <6789> <Id.Lit_RBracket ']'>} {<solaris2.1> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'>} ] action: [ (C {<echo>} { (DQ < 'more information, such as the ld(1), crle(1) and ld.so(8) manual' > ) } ) (C {<echo>} {(DQ <pages.>)}) ] spids: [14272 14281 14298 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<echo>} { (DQ <'more information, such as the ld(1) and ld.so(8) manual pages.'> ) } ) ] spids: [14301 14302 14312 -1] ) ] ) (C {<echo>} {(DQ <---------------------------------------------------------------------->)} ) ] spids: [14002 14024] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$EXIT_SUCCESS')} ) ] ) ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_mode'))} {<Id.Lit_Equals '='>} {<finish>}) (C {<func_mode_finish>} { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok:<Id.VTest_Plus '+'> arg_word:{(DQ ($ Id.VSub_At '$@'))}) ) } ) ] ) (command.ShFunction name: func_mode_install body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe Id.Op_DPipe] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$nonopt'))} {<Id.Lit_Equals '='>} {(DQ ($ Id.VSub_DollarName '$SHELL'))} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$nonopt'))} {<Id.Lit_Equals '='>} {<'/bin/sh'>} ) (command.Case to_match: {($ Id.VSub_DollarName '$nonopt')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <shtool> <Id.Lit_Star '*'>}] action: [(C {<Id.Lit_Colon ':'>})] spids: [14420 14423 14426 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [(C {<false>})] spids: [14428 14429 14432 -1] ) ] ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_quote_for_eval>} {(DQ ($ Id.VSub_DollarName '$nonopt'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:install_prog) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_quote_for_eval_result') <' '>)} spids: [14451] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arg) op: assign_op.Equal rhs: {($ Id.VSub_Number '$1')} spids: [14458] ) ] ) (C {<shift>}) ] spids: [14381 14437] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:install_prog) op: assign_op.Equal rhs: (word.Empty) spids: [14468] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arg) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$nonopt')} spids: [14471] ) ] ) ] ) (C {<func_quote_for_eval>} {(DQ ($ Id.VSub_DollarName '$arg'))}) (C {<func_append>} {<install_prog>} {(DQ ($ Id.VSub_DollarName '$func_quote_for_eval_result'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:install_shared_prog) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$install_prog')} spids: [14503] ) ] ) (command.Case to_match: {(DQ <' '> ($ Id.VSub_DollarName '$install_prog') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <Id.Lit_LBracket '['> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\\\'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\ '>) <'/'> <Id.Lit_RBracket ']'> <cp> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\ '> ) <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:install_cp) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} spids: [14529] ) ] ) ] spids: [14518 14527 14532 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:install_cp) op: assign_op.Equal rhs: {<false>} spids: [14538] ) ] ) ] spids: [14535 14536 14541 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dest) op: assign_op.Equal rhs: (word.Empty) spids: [14552] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:files) op: assign_op.Equal rhs: (word.Empty) spids: [14555] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opts) op: assign_op.Equal rhs: (word.Empty) spids: [14558] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [14561] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:install_type) op: assign_op.Equal rhs: (word.Empty) spids: [14564] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:isdir) op: assign_op.Equal rhs: {<no>} spids: [14567] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:stripme) op: assign_op.Equal rhs: (word.Empty) spids: [14571] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:no_mode) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} spids: [14574] ) ] ) (command.ForEach iter_name: arg do_arg_iter: T body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arg2) op: assign_op.Equal rhs: (word.Empty) spids: [14586] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$dest'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<files>} {(DQ <' '> ($ Id.VSub_DollarName '$dest'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dest) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$arg')} spids: [14613] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [14589 14600] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$arg')} arms: [ (case_arm pat_list: [{<-d>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:isdir) op: assign_op.Equal rhs: {<yes>} spids: [14634] ) ] ) ] spids: [14631 14632 14637 -1] ) (case_arm pat_list: [{<-f>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {($ Id.VSub_DollarName '$install_cp')}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Sentence child: (C {<Id.Lit_Colon ':'>}) terminator: <Id.Op_Semi _> ) ] spids: [14644 14649] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$arg')} spids: [14657] ) ] ) ] ) ] spids: [14640 14641 14664 -1] ) (case_arm pat_list: [{<-g>} {<-m>} {<-o>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$arg')} spids: [14679] ) ] ) ] spids: [14667 14676 14683 -1] ) (case_arm pat_list: [{<-s>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:stripme) op: assign_op.Equal rhs: {(DQ <' -s'>)} spids: [14690] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [14686 14687 14699 -1] ) (case_arm pat_list: [{<-> <Id.Lit_Star '*'>}] spids: [14702 14704 14707 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$prev'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ <x> ($ Id.VSub_DollarName '$prev'))} {<Id.Lit_Equals '='>} {<x-m>} ) (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$install_override_mode' ) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arg2) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$install_override_mode')} spids: [14759] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:no_mode) op: assign_op.Equal rhs: {<false>} spids: [14763] ) ] ) ] spids: [14732 14756] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [14770] ) ] ) ] spids: [14718 14729] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dest) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$arg')} spids: [14776] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] ) ] spids: [14710 14711 14786 -1] ) ] ) (C {<func_quote_for_eval>} {(DQ ($ Id.VSub_DollarName '$arg'))}) (C {<func_append>} {<install_prog>} {(DQ <' '> ($ Id.VSub_DollarName '$func_quote_for_eval_result'))} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$arg2'))}) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<func_quote_for_eval>} {(DQ ($ Id.VSub_DollarName '$arg2'))})] spids: [14814 14825] ) ] ) (C {<func_append>} {<install_shared_prog>} {(DQ <' '> ($ Id.VSub_DollarName '$func_quote_for_eval_result'))} ) ] ) ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$install_prog'))}) (C {<func_fatal_help>} {(DQ <'you must specify an install program'>)}) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$prev'))}) (C {<func_fatal_help>} { (DQ <'the '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$prev') <'\' option requires an argument'> ) } ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$install_override_mode'))}) (C {($ Id.VSub_DollarName '$no_mode')}) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {($ Id.VSub_DollarName '$install_cp')}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Sentence child: (C {<Id.Lit_Colon ':'>}) terminator: <Id.Op_Semi _> ) ] spids: [14913 14918] ) ] else_action: [ (C {<func_quote_for_eval>} {(DQ ($ Id.VSub_DollarName '$install_override_mode'))} ) (C {<func_append>} {<install_shared_prog>} {(DQ <' -m '> ($ Id.VSub_DollarName '$func_quote_for_eval_result'))} ) ] ) ] spids: [14895 14910] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$files'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$dest'))}) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<func_fatal_help>} {(DQ <'no file or destination specified'>)})] spids: [14964 14975] ) ] else_action: [(C {<func_fatal_help>} {(DQ <'you must specify a destination'>)})] ) ] spids: [14950 14961] ) ] ) (C {<func_stripname>} {(SQ )} {(SQ <'/'>)} {(DQ ($ Id.VSub_DollarName '$dest'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dest) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [15020] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-d>} {(DQ ($ Id.VSub_DollarName '$dest'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:isdir) op: assign_op.Equal rhs: {<yes>} spids: [15039] ) ] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$isdir'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:destdir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$dest'))} spids: [15059] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:destname) op: assign_op.Equal rhs: (word.Empty) spids: [15065] ) ] ) ] spids: [15043 15056] ) ] else_action: [ (C {<func_dirname_and_basename>} {(DQ ($ Id.VSub_DollarName '$dest'))} {(DQ )} {(DQ <.>)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:destdir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_dirname_result'))} spids: [15085] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:destname) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_basename_result'))} spids: [15091] ) ] ) (command.Sentence child: (C {<set>} {<dummy>} {($ Id.VSub_DollarName '$files')}) terminator: <Id.Op_Semi _> ) (C {<shift>}) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_Pound '$#'))} {<-gt>} {<1>}) (C {<func_fatal_help>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$dest') <'\' is not a directory'> ) } ) ] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$destdir')} arms: [ (case_arm pat_list: [ {<Id.Lit_LBracket '['> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\\\'> ) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } {<Id.Lit_LBracket '['> <A-Za-z> <Id.Lit_RBracket ']'> <Id.Lit_Colon ':'> <Id.Lit_LBracket '['> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } ] spids: [15145 15162 15164 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ForEach iter_name: file iter_words: [{($ Id.VSub_DollarName '$files')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$file')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <.lo>}] spids: [15190 15192 15194 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_fatal_help>} { (DQ (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$destdir') <'\' must be an absolute directory name'> ) } ) ] spids: [15197 15198 15210 -1] ) ] ) ] ) ) ] spids: [15167 15168 15219 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libtool_install_magic) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$magic'))} spids: [15234] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:staticlibs) op: assign_op.Equal rhs: (word.Empty) spids: [15241] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:future_libdirs) op: assign_op.Equal rhs: (word.Empty) spids: [15244] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:current_libdirs) op: assign_op.Equal rhs: (word.Empty) spids: [15247] ) ] ) (command.ForEach iter_name: file iter_words: [{($ Id.VSub_DollarName '$files')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$file')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <.> ($ Id.VSub_DollarName '$libext')}] action: [ (C {<func_append>} {<staticlibs>} {(DQ <' '> ($ Id.VSub_DollarName '$file'))}) ] spids: [15274 15277 15294 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'> <.la>}] action: [ (C {<func_resolve_sysroot>} {(DQ ($ Id.VSub_DollarName '$file'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:file) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_resolve_sysroot_result')} spids: [15310] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<func_lalib_unsafe_p>} {(DQ ($ Id.VSub_DollarName '$file'))}) (C {<func_fatal_help>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$file') <'\' is not a valid libtool archive'> ) } ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:library_names) op: assign_op.Equal rhs: (word.Empty) spids: [15339] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:old_library) op: assign_op.Equal rhs: (word.Empty) spids: [15342] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:relink_command) op: assign_op.Equal rhs: (word.Empty) spids: [15345] ) ] ) (C {<func_source>} {(DQ ($ Id.VSub_DollarName '$file'))}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$destdir'))} {<Id.Lit_Equals '='>} {(DQ <X> ($ Id.VSub_DollarName '$libdir'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$current_libdirs') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$libdir') <' '>) <Id.Lit_Star '*'> } ] spids: [15390 15397 15399 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<current_libdirs>} {(DQ <' '> ($ Id.VSub_DollarName '$libdir'))} ) ] spids: [15402 15403 15414 -1] ) ] ) ] spids: [15360 15377] ) ] else_action: [ (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$future_libdirs') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$libdir') <' '>) <Id.Lit_Star '*'> } ] spids: [15437 15444 15446 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<future_libdirs>} {(DQ <' '> ($ Id.VSub_DollarName '$libdir'))} ) ] spids: [15449 15450 15461 -1] ) ] ) ] ) (C {<func_dirname>} {(DQ ($ Id.VSub_DollarName '$file'))} {(DQ <'/'>)} {(DQ )}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_dirname_result'))} spids: [15485] ) ] ) (C {<func_append>} {<dir>} {(DQ ($ Id.VSub_DollarName '$objdir'))}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$relink_command'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:inst_prefix_dir) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$destdir'))} ) (C {($ Id.VSub_DollarName '$SED')} {<-e>} { (DQ <'s%'> ($ Id.VSub_DollarName '$libdir') <Id.Lit_Dollar '$'> <'%%'> ) } ) ] negated: F ) ) } spids: [15519] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$inst_prefix_dir'))} {<Id.Lit_Equals '='>} {(DQ ($ Id.VSub_DollarName '$destdir'))} ) (C {<func_fatal_error>} { (DQ <'error: cannot install '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$file') <'\' to a directory not ending in '> ($ Id.VSub_DollarName '$libdir') ) } ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$inst_prefix_dir'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:relink_command) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ ($ Id.VSub_DollarName '$relink_command' ) ) } ) (C {($ Id.VSub_DollarName '$SED')} { (DQ < 's%@inst_prefix_dir@%-inst-prefix-dir ' > ($ Id.VSub_DollarName '$inst_prefix_dir') <'%'> ) } ) ] negated: F ) ) } spids: [15617] ) ] ) ] spids: [15599 15610] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:relink_command) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ ($ Id.VSub_DollarName '$relink_command' ) ) } ) (C {($ Id.VSub_DollarName '$SED')} {(DQ <'s%@inst_prefix_dir@%%'>)} ) ] negated: F ) ) } spids: [15642] ) ] ) ] ) (C {<func_warning>} { (DQ <'relinking '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$file') <'\''> ) } ) (C {<func_show_eval>} {(DQ ($ Id.VSub_DollarName '$relink_command'))} {(SQ <'func_fatal_error "error: relink \\`$file'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\\''> ) (SQ <' with the above command before installing it"'>) } ) ] spids: [15501 15512] ) ] ) (command.Sentence child: (C {<set>} {<dummy>} {($ Id.VSub_DollarName '$library_names')}) terminator: <Id.Op_Semi _> ) (C {<shift>}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_Number '$1'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:realname) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [15725] ) ] ) (C {<shift>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:srcname) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$realname'))} spids: [15735] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$relink_command'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:srcname) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$realname')) <T>} spids: [15751] ) ] ) ] ) (C {<func_show_eval>} { (DQ ($ Id.VSub_DollarName '$install_shared_prog') <' '> ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$srcname') <' '> ($ Id.VSub_DollarName '$destdir') <'/'> ($ Id.VSub_DollarName '$realname') ) } {(SQ <'exit $?'>)} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tstripme) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$stripme'))} spids: [15784] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$host_os')} arms: [ (case_arm pat_list: [ {<cygwin> <Id.Lit_Star '*'>} {<mingw> <Id.Lit_Star '*'>} {<pw32> <Id.Lit_Star '*'>} {<cegcc> <Id.Lit_Star '*'>} ] action: [ (command.Case to_match: {($ Id.VSub_DollarName '$realname')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <.dll.a>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tstripme) op: assign_op.Equal rhs: {(DQ )} spids: [15829] ) ] ) ] spids: [15824 15826 15834 -1] ) ] ) ] spids: [15797 15814 15840 -1] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$tstripme'))} ) (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$striplib'))} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_show_eval>} { (DQ ($ Id.VSub_DollarName '$striplib') <' '> ($ Id.VSub_DollarName '$destdir') <'/'> ($ Id.VSub_DollarName '$realname') ) } {(SQ <'exit $?'>)} ) ] spids: [15846 15867] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_Pound '$#'))} {<-gt>} {<0>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ForEach iter_name: linkname do_arg_iter: T body: (command.DoGroup children: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkname'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ ($ Id.VSub_DollarName '$realname'))} ) (C {<func_show_eval>} { (DQ <'(cd '> ($ Id.VSub_DollarName '$destdir') <' && { '> ($ Id.VSub_DollarName '$LN_S') <' -f '> ($ Id.VSub_DollarName '$realname') <' '> ($ Id.VSub_DollarName '$linkname') <' || { '> ($ Id.VSub_DollarName '$RM') <' '> ($ Id.VSub_DollarName '$linkname') <' && '> ($ Id.VSub_DollarName '$LN_S') <' '> ($ Id.VSub_DollarName '$realname') <' '> ($ Id.VSub_DollarName '$linkname') <'; }; })'> ) } ) ] ) ] ) ) ] spids: [15889 15902] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lib) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$destdir') <'/'> ($ Id.VSub_DollarName '$realname') ) } spids: [15982] ) ] ) (C {<func_execute_cmds>} {(DQ ($ Id.VSub_DollarName '$postinstall_cmds'))} {(SQ <'exit $?'>)} ) ] spids: [15711 15722] ) ] ) (C {<func_basename>} {(DQ ($ Id.VSub_DollarName '$file'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:name) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_basename_result'))} spids: [16016] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:instname) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$name') ) <i> } spids: [16022] ) ] ) (C {<func_show_eval>} { (DQ ($ Id.VSub_DollarName '$install_prog') <' '> ($ Id.VSub_DollarName '$instname') <' '> ($ Id.VSub_DollarName '$destdir') <'/'> ($ Id.VSub_DollarName '$name') ) } {(SQ <'exit $?'>)} ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$old_library'))}) (C {<func_append>} {<staticlibs>} { (DQ <' '> ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$old_library') ) } ) ] ) ] spids: [15298 15300 16075 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'> <.lo>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$destname'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:destfile) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$destdir') <'/'> ($ Id.VSub_DollarName '$destname') ) } spids: [16107] ) ] ) ] spids: [16093 16104] ) ] else_action: [ (C {<func_basename>} {(DQ ($ Id.VSub_DollarName '$file'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:destfile) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_basename_result'))} spids: [16125] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:destfile) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$destdir') <'/'> ($ Id.VSub_DollarName '$destfile') ) } spids: [16131] ) ] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$destfile')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <.lo>}] action: [ (C {<func_lo2o>} {(DQ ($ Id.VSub_DollarName '$destfile'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:staticdest) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_lo2o_result')} spids: [16166] ) ] ) ] spids: [16154 16156 16170 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'> <.> ($ Id.VSub_DollarName '$objext')}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:staticdest) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$destfile'))} spids: [16179] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:destfile) op: assign_op.Equal rhs: (word.Empty) spids: [16185] ) ] ) ] spids: [16173 16176 16188 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_fatal_help>} { (DQ <'cannot copy a libtool object to '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$destfile') <'\''> ) } ) ] spids: [16191 16192 16205 -1] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$destfile'))}) (C {<func_show_eval>} { (DQ ($ Id.VSub_DollarName '$install_prog') <' '> ($ Id.VSub_DollarName '$file') <' '> ($ Id.VSub_DollarName '$destfile') ) } {(SQ <'exit $?'>)} ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_old_libs'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_lo2o>} {(DQ ($ Id.VSub_DollarName '$file'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:staticobj) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_lo2o_result')} spids: [16275] ) ] ) (C {<func_show_eval>} { (DQ ($ Id.VSub_DollarName '$install_prog') <' '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <'staticobj '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <staticdest> ) } {(SQ <'exit $?'>)} ) ] spids: [16248 16261] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$EXIT_SUCCESS')} ) ] spids: [16079 16081 16303 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$destname'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:destfile) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$destdir') <'/'> ($ Id.VSub_DollarName '$destname') ) } spids: [16329] ) ] ) ] spids: [16315 16326] ) ] else_action: [ (C {<func_basename>} {(DQ ($ Id.VSub_DollarName '$file'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:destfile) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_basename_result'))} spids: [16347] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:destfile) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$destdir') <'/'> ($ Id.VSub_DollarName '$destfile') ) } spids: [16353] ) ] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:stripped_ext) op: assign_op.Equal rhs: {(DQ )} spids: [16377] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$file')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <.exe>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<Id.KW_Bang '!'>} {<-f>} {(DQ ($ Id.VSub_DollarName '$file'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_stripname>} {(SQ )} {(SQ <.exe>)} {(DQ ($ Id.VSub_DollarName '$file'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:file) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [16424] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:stripped_ext) op: assign_op.Equal rhs: {(DQ <.exe>)} spids: [16428] ) ] ) ] spids: [16394 16407] ) ] ) ] spids: [16389 16391 16437 -1] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <cygwin> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <mingw> <Id.Lit_Star '*'>} ] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<func_ltwrapper_executable_p>} {(DQ ($ Id.VSub_DollarName '$file'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_ltwrapper_scriptname>} {(DQ ($ Id.VSub_DollarName '$file'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:wrapper) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$func_ltwrapper_scriptname_result' ) } spids: [16486] ) ] ) ] spids: [16467 16476] ) ] else_action: [ (C {<func_stripname>} {(SQ )} {(SQ <.exe>)} {(DQ ($ Id.VSub_DollarName '$file'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:wrapper) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [16507] ) ] ) ] ) ] spids: [16455 16464 16514 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:wrapper) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$file')} spids: [16521] ) ] ) ] spids: [16517 16518 16525 -1] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<func_ltwrapper_script_p>} {(DQ ($ Id.VSub_DollarName '$wrapper'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:notinst_deplibs) op: assign_op.Equal rhs: (word.Empty) spids: [16543] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:relink_command) op: assign_op.Equal rhs: (word.Empty) spids: [16546] ) ] ) (C {<func_source>} {(DQ ($ Id.VSub_DollarName '$wrapper'))}) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$generated_by_libtool_version') ) } ) (C {<func_fatal_error>} { (DQ <'invalid libtool wrapper script '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$wrapper') <'\''> ) } ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize) op: assign_op.Equal rhs: {<yes>} spids: [16585] ) ] ) (command.ForEach iter_name: lib iter_words: [{($ Id.VSub_DollarName '$notinst_deplibs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libdir) op: assign_op.Equal rhs: (word.Empty) spids: [16605] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-f>} {(DQ ($ Id.VSub_DollarName '$lib'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_source>} {(DQ ($ Id.VSub_DollarName '$lib'))} ) ] spids: [16608 16619] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libfile) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$libdir') <'/'>) (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$lib'))} ) (C {($ Id.VSub_DollarName '$SED')} {(SQ <'s%^.*/%%g'>)} ) ] negated: F ) ) } spids: [16632] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$libdir') ) } ) (C {<test>} {<Id.KW_Bang '!'>} {<-f>} { (DQ ($ Id.VSub_DollarName '$libfile' ) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_warning>} { (DQ (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$lib') <'\' has not been installed in '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$libdir') <'\''> ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize) op: assign_op.Equal rhs: {<no>} spids: [16697] ) ] ) ] spids: [16659 16682] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:relink_command) op: assign_op.Equal rhs: (word.Empty) spids: [16708] ) ] ) (C {<func_source>} {(DQ ($ Id.VSub_DollarName '$wrapper'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:outputname) op: assign_op.Equal rhs: (word.Empty) spids: [16719] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$fast_install') ) } {<Id.Lit_Equals '='>} {<no>} ) (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$relink_command') ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (BraceGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$finalize' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tmpdir) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<func_mktempdir>}) ) } spids: [16771] ) ] ) (C {<func_basename>} { (DQ ($ Id.VSub_DollarName '$file') ($ Id.VSub_DollarName '$stripped_ext' ) ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:file) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$func_basename_result' ) ) } spids: [16787] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: outputname ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$tmpdir' ) <'/'> ($ Id.VSub_DollarName '$file') ) } spids: [16793] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: relink_command ) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C { ($ Id.VSub_DollarName '$ECHO' ) } {(DQ ($ Id.VSub_DollarName '$relink_command'))} ) (C { ($ Id.VSub_DollarName '$SED' ) } {(SQ <'s%@OUTPUT@%'>) (DQ ($ Id.VSub_DollarName '$outputname')) (SQ <'%g'>)} ) ] negated: F ) ) } spids: [16805] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C { ($ Id.VSub_DollarName '$opt_silent' ) } ) (BraceGroup children: [ (C {<func_quote_for_expand>} { (DQ ($ Id.VSub_DollarName '$relink_command' ) ) } ) (C {<eval>} { (DQ <'func_echo '> ($ Id.VSub_DollarName '$func_quote_for_expand_result' ) ) } ) ] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<eval>} { (DQ ($ Id.VSub_DollarName '$relink_command' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<Id.Lit_Colon ':'>})] spids: [16857 16866] ) ] else_action: [ (C {<func_error>} { (DQ <'error: relink '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$file') <'\' with the above command before installing it'> ) } ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C { ($ Id.VSub_DollarName '$opt_dry_run' ) } ) (C {(${ Id.VSub_Name RM) <r>} { (DQ ($ Id.VSub_DollarName '$tmpdir' ) ) } ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue > ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:file) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$outputname' ) ) } spids: [16904] ) ] ) ] spids: [16755 16768] ) ] else_action: [ (C {<func_warning>} { (DQ <'cannot relink '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$file') <'\''> ) } ) ] ) ] ) ] ) ] spids: [16722 16745] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:file) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ ($ Id.VSub_DollarName '$file') ($ Id.VSub_DollarName '$stripped_ext') ) } ) (C {($ Id.VSub_DollarName '$SED')} { (DQ <'s%'> <Id.Lit_BadBackslash '\\'> <'([^/]*'> <Id.Lit_BadBackslash '\\'> <')'> <Id.Lit_Dollar '$'> <'%'> ($ Id.VSub_DollarName '$objdir') <'/'> <Id.Lit_BadBackslash '\\'> <'1%'> ) } ) ] negated: F ) ) } spids: [16936] ) ] ) ] ) ] spids: [16531 16540] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$install_prog') <Id.Lit_Comma ','> ($ Id.VSub_DollarName '$host') } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <'/usr/bin/install'> <Id.Lit_Star '*'> <Id.Lit_Comma ','> <Id.Lit_Star '*'> <cygwin> <Id.Lit_Star '*'> } ] action: [ (command.Case to_match: {($ Id.VSub_DollarName '$file') <Id.Lit_Colon ':'> ($ Id.VSub_DollarName '$destfile') } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <.exe> <Id.Lit_Colon ':'> <Id.Lit_Star '*'> <.exe> } ] spids: [17016 17021 17028 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'> <.exe> <Id.Lit_Colon ':'> <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:destfile) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$destfile') <.exe>} spids: [17038] ) ] ) ] spids: [17031 17035 17043 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'> <Id.Lit_Colon ':'> <Id.Lit_Star '*'> <.exe> } ] action: [ (C {<func_stripname>} {(SQ )} {(SQ <.exe>)} {(DQ ($ Id.VSub_DollarName '$destfile'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:destfile) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [17067] ) ] ) ] spids: [17046 17050 17071 -1] ) ] ) ] spids: [16997 17004 17077 -1] ) ] ) (C {<func_show_eval>} { (DQ ($ Id.VSub_DollarName '$install_prog') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <'stripme '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'file '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <destfile> ) } {(SQ <'exit $?'>)} ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$outputname'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {(${ Id.VSub_Name RM) <r>} {(DQ ($ Id.VSub_DollarName '$tmpdir'))} ) ] spids: [17104 17115] ) ] ) ] ) ] spids: [16307 16308 17131 -1] ) ] ) ] ) ) (command.ForEach iter_name: file iter_words: [{($ Id.VSub_DollarName '$staticlibs')}] do_arg_iter: F body: (command.DoGroup children: [ (C {<func_basename>} {(DQ ($ Id.VSub_DollarName '$file'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:name) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_basename_result'))} spids: [17160] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:oldlib) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$destdir') <'/'> ($ Id.VSub_DollarName '$name') ) } spids: [17171] ) ] ) (C {<func_to_tool_file>} {(DQ ($ Id.VSub_DollarName '$oldlib'))} {<func_convert_file_msys_to_w32>} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tool_oldlib) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_to_tool_file_result')} spids: [17188] ) ] ) (C {<func_show_eval>} { (DQ ($ Id.VSub_DollarName '$install_prog') <' '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <'file '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <oldlib> ) } {(SQ <'exit $?'>)} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$stripme'))}) (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$old_striplib'))}) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_show_eval>} { (DQ ($ Id.VSub_DollarName '$old_striplib') <' '> ($ Id.VSub_DollarName '$tool_oldlib') ) } {(SQ <'exit $?'>)} ) ] spids: [17210 17231] ) ] ) (C {<func_execute_cmds>} {(DQ ($ Id.VSub_DollarName '$old_postinstall_cmds'))} {(SQ <'exit $?'>)} ) ] ) ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$future_libdirs'))}) (C {<func_warning>} { (DQ <'remember to run '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$progname') <' --finish'> ($ Id.VSub_DollarName '$future_libdirs') <'\''> ) } ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$current_libdirs'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:current_libdirs) op: assign_op.Equal rhs: {(DQ <' -n'> ($ Id.VSub_DollarName '$current_libdirs'))} spids: [17317] ) ] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:exec_cmd) op: assign_op.Equal rhs: {(SQ <'$SHELL $progpath $preserve_args --finish$current_libdirs'>)} spids: [17324] ) ] ) ] spids: [17295 17306] ) ] else_action: [ (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$EXIT_SUCCESS')} ) ] ) ] ) ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_mode'))} {<Id.Lit_Equals '='>} {<install>}) (C {<func_mode_install>} { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok:<Id.VTest_Plus '+'> arg_word:{(DQ ($ Id.VSub_At '$@'))}) ) } ) ] ) (command.ShFunction name: func_generate_dlsyms body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_outputname) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [17387] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_originator) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$2'))} spids: [17393] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_pic_p) op: assign_op.Equal rhs: { (DQ (braced_var_sub token: <Id.VSub_Number 3> suffix_op: (suffix_op.Unary tok:<Id.VTest_Hyphen -> arg_word:{<no>}) ) ) } spids: [17399] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_prefix) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$my_originator'))} ) (C {<sed>} {(SQ <'s%[^a-zA-Z0-9]%_%g'>)}) ] negated: F ) ) } spids: [17409] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_dlsyms) op: assign_op.Equal rhs: (word.Empty) spids: [17429] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$dlfiles') ($ Id.VSub_DollarName '$dlprefiles') ) } ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$dlself'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<no>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$NM'))}) (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$global_symbol_pipe'))} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_dlsyms) op: assign_op.Equal rhs: {(DQ (${ Id.VSub_Name my_outputname) <S.c>)} spids: [17485] ) ] ) ] spids: [17461 17482] ) ] else_action: [ (C {<func_error>} {(DQ <'not configured to extract global symbols from dlpreopened files'>)} ) ] ) ] spids: [17433 17458] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$my_dlsyms'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {($ Id.VSub_DollarName '$my_dlsyms')} arms: [ (case_arm pat_list: [{(DQ )}] spids: [17532 17534 17536 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'> <.c>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:nlist) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> (${ Id.VSub_Name my_outputname) <.nm> ) } spids: [17548] ) ] ) (C {<func_show_eval>} { (DQ ($ Id.VSub_DollarName '$RM') <' '> ($ Id.VSub_DollarName '$nlist') <' '> (${ Id.VSub_Name nlist) <'S '> (${ Id.VSub_Name nlist) <T> ) } ) (C {<func_verbose>} { (DQ <'creating '> ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$my_dlsyms') ) } ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (command.Simple words: [ {($ Id.VSub_DollarName '$ECHO')} { (DQ <'/* '> ($ Id.VSub_DollarName '$my_dlsyms') <' - symbol resolution table for '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$my_outputname') <'\' dlsym emulation. */\n'> <'/* Generated by '> ($ Id.VSub_DollarName '$PROGRAM') <' (GNU '> ($ Id.VSub_DollarName '$PACKAGE') ($ Id.VSub_DollarName '$TIMESTAMP') <') '> ($ Id.VSub_DollarName '$VERSION') <' */\n'> <'\n'> <'#ifdef __cplusplus\n'> <'extern '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <C> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' {\n'> <'#endif\n'> <'\n'> < '#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))\n' > <'#pragma GCC diagnostic ignored '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <-Wstrict-prototypes> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'\n'> <'#endif\n'> <'\n'> < '/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */\n' > <'#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)\n'> < '/* DATA imports from DLLs on WIN32 con\'t be const, because runtime\n' > <' relocations are performed -- see ld\'s documentation on pseudo-relocs. */\n'> <'# define LT_DLSYM_CONST\n'> <'#elif defined(__osf__)\n'> < '/* This system does not cope well with relocations in const data. */\n' > <'# define LT_DLSYM_CONST\n'> <'#else\n'> <'# define LT_DLSYM_CONST const\n'> <'#endif\n'> <'\n'> <'/* External symbol declarations for the compiler. */'> ) } ] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$my_dlsyms') ) } ) ] do_fork: T ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$dlself'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_verbose>} { (DQ <'generating symbol list for '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$output') <'\''> ) } ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (command.Simple words: [{<echo>} {(SQ <': @PROGRAM@ '>)}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {(DQ ($ Id.VSub_DollarName '$nlist'))} ) ] do_fork: T ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:progfiles) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ ($ Id.VSub_DollarName '$objs') ($ Id.VSub_DollarName '$old_deplibs') ) } ) (C {($ Id.VSub_DollarName '$SP2NL')}) (C {($ Id.VSub_DollarName '$SED')} {(DQ ($ Id.VSub_DollarName '$lo2o'))} ) (C {($ Id.VSub_DollarName '$NL2SP')}) ] negated: F ) ) } spids: [17708] ) ] ) (command.ForEach iter_name: progfile iter_words: [{($ Id.VSub_DollarName '$progfiles')}] do_arg_iter: F body: (command.DoGroup children: [ (C {<func_to_tool_file>} {(DQ ($ Id.VSub_DollarName '$progfile'))} {<func_convert_file_msys_to_w32>} ) (C {<func_verbose>} { (DQ <'extracting global C symbols from '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$func_to_tool_file_result') <'\''> ) } ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (C {<eval>} { (DQ ($ Id.VSub_DollarName '$NM') <' '> ($ Id.VSub_DollarName '$func_to_tool_file_result' ) <' | '> ($ Id.VSub_DollarName '$global_symbol_pipe') <' >> \''> ($ Id.VSub_DollarName '$nlist') <'\''> ) } ) ] ) ] ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$exclude_expsyms'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (BraceGroup children: [ (C {<eval>} { (SQ < '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' > ) } ) (C {<eval>} {(SQ <'$MV "$nlist"T "$nlist"'>)}) ] ) ] ) ] spids: [17790 17801] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$export_symbols_regex' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (BraceGroup children: [ (C {<eval>} { (SQ < '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' > ) } ) (C {<eval>} {(SQ <'$MV "$nlist"T "$nlist"'>)}) ] ) ] ) ] spids: [17832 17843] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$export_symbols'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:export_symbols) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$outputname') <.exp> ) } spids: [17892] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (BraceGroup children: [ (C {($ Id.VSub_DollarName '$RM')} {($ Id.VSub_DollarName '$export_symbols')} ) (C {<eval>} { (DQ (${ Id.VSub_Name SED) <' -n -e \'/^: @PROGRAM@ '> <Id.Lit_Dollar '$'> <'/d\' -e \'s/^.* '> <Id.Lit_BadBackslash '\\'> <'(.*'> <Id.Lit_BadBackslash '\\'> <')'> <Id.Lit_Dollar '$'> <'/'> <Id.Lit_BadBackslash '\\'> <'1/p\' '> ) (SQ <'< "$nlist" > "$export_symbols"'>) } ) (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <cygwin> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <mingw> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <cegcc> <Id.Lit_Star '*'> } ] action: [ (C {<eval>} {(DQ <'echo EXPORTS '>) (SQ < '> "$output_objdir/$outputname.def"' > ) } ) (C {<eval>} { (SQ < 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' > ) } ) ] spids: [17943 17959 17979 -1] ) ] ) ] ) ] ) ] spids: [17878 17889] ) ] else_action: [ (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (BraceGroup children: [ (C {<eval>} { (DQ (${ Id.VSub_Name SED) <' -e \'s/'> <Id.Lit_BadBackslash '\\'> <'([].[*^'> <Id.Lit_Dollar '$'> <']'> <Id.Lit_BadBackslash '\\'> <')/'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\\\'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <Id.Lit_BadBackslash '\\'> <'1/g\' -e \'s/^/ /\' -e \'s/'> <Id.Lit_Dollar '$'> <'/'> <Id.Lit_Dollar '$'> <'/\''> ) (SQ <' < "$export_symbols" > "$output_objdir/$outputname.exp"'>) } ) (C {<eval>} { (SQ < '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' > ) } ) (C {<eval>} {(SQ <'$MV "$nlist"T "$nlist"'>)}) (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <cygwin> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <mingw> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <cegcc> <Id.Lit_Star '*'>} ] action: [ (C {<eval>} {(DQ <'echo EXPORTS '>) (SQ <'> "$output_objdir/$outputname.def"'> ) } ) (C {<eval>} { (SQ < 'cat "$nlist" >> "$output_objdir/$outputname.def"' > ) } ) ] spids: [18046 18062 18082 -1] ) ] ) ] ) ] ) ] ) ] spids: [17659 17672] ) ] ) (command.ForEach iter_name: dlprefile iter_words: [{($ Id.VSub_DollarName '$dlprefiles')}] do_arg_iter: F body: (command.DoGroup children: [ (C {<func_verbose>} { (DQ <'extracting global C symbols from '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$dlprefile') <'\''> ) } ) (C {<func_basename>} {(DQ ($ Id.VSub_DollarName '$dlprefile'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:name) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_basename_result'))} spids: [18127] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <cygwin> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <mingw> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <cegcc> <Id.Lit_Star '*'>} ] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<func_win32_import_lib_p>} { (DQ ($ Id.VSub_DollarName '$dlprefile') ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_tr_sh>} {(DQ ($ Id.VSub_DollarName '$dlprefile'))} ) (C {<eval>} { (DQ <'curr_lafile='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <libfile_> ($ Id.VSub_DollarName '$func_tr_sh_result') ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: dlprefile_dlbasename ) op: assign_op.Equal rhs: {(DQ )} spids: [18192] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$curr_lafile' ) ) } ) (C {<func_lalib_p>} { (DQ ($ Id.VSub_DollarName '$curr_lafile' ) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: dlprefile_dlname ) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<source>} { (DQ ($ Id.VSub_DollarName '$curr_lafile' ) ) } ) (C {<echo>} { (DQ ($ Id.VSub_DollarName '$dlname' ) ) } ) ] ) ) } spids: [18223] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$dlprefile_dlname' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_basename>} { (DQ ($ Id.VSub_DollarName '$dlprefile_dlname' ) ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: dlprefile_dlbasename ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$func_basename_result' ) ) } spids: [18265] ) ] ) ] spids: [18243 18255] ) ] else_action: [ (C { ($ Id.VSub_DollarName '$sharedlib_from_linklib_cmd' ) } {(DQ ($ Id.VSub_DollarName '$dlprefile'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: dlprefile_dlbasename ) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$sharedlib_from_linklib_result' ) } spids: [18285] ) ] ) ] ) ] spids: [18197 18216] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (BraceGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$dlprefile_dlbasename' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<eval>} { (SQ < '$ECHO ": $dlprefile_dlbasename" >> "$nlist"' > ) } ) ] spids: [18302 18314] ) ] else_action: [ (C {<func_warning>} { (DQ < 'Could not compute DLL name from ' > ($ Id.VSub_DollarName '$name') ) } ) (C {<eval>} { (SQ < '$ECHO ": $name " >> "$nlist"' > ) } ) ] ) (C {<func_to_tool_file>} { (DQ ($ Id.VSub_DollarName '$dlprefile') ) } {<func_convert_file_msys_to_w32>} ) (C {<eval>} { (DQ ($ Id.VSub_DollarName '$NM') <' '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$func_to_tool_file_result') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <' 2>/dev/null | '> ($ Id.VSub_DollarName '$global_symbol_pipe') <' |\n'> <'\t '> ($ Id.VSub_DollarName '$SED') <' -e \'/I __imp/d\' -e \'s/I __nm_/D /;s/_nm__//\' >> \''> ($ Id.VSub_DollarName '$nlist') <'\''> ) } ) ] ) ] ) ] spids: [18163 18172] ) ] else_action: [ (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (BraceGroup children: [ (C {<eval>} {(SQ <'$ECHO ": $name " >> "$nlist"'>)} ) (C {<func_to_tool_file>} {(DQ ($ Id.VSub_DollarName '$dlprefile'))} {<func_convert_file_msys_to_w32>} ) (C {<eval>} { (DQ ($ Id.VSub_DollarName '$NM') <' '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$func_to_tool_file_result') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <' 2>/dev/null | '> ($ Id.VSub_DollarName '$global_symbol_pipe') <' >> \''> ($ Id.VSub_DollarName '$nlist') <'\''> ) } ) ] ) ] ) ] ) ] spids: [18140 18156 18427 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (BraceGroup children: [ (C {<eval>} {(SQ <'$ECHO ": $name " >> "$nlist"'>)}) (C {<func_to_tool_file>} {(DQ ($ Id.VSub_DollarName '$dlprefile'))} {<func_convert_file_msys_to_w32>} ) (C {<eval>} { (DQ ($ Id.VSub_DollarName '$NM') <' '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$func_to_tool_file_result') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <' 2>/dev/null | '> ($ Id.VSub_DollarName '$global_symbol_pipe') <' >> \''> ($ Id.VSub_DollarName '$nlist') <'\''> ) } ) ] ) ] ) ] spids: [18430 18431 18476 -1] ) ] ) ] ) ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (BraceGroup children: [ (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {<-f>} {(DQ ($ Id.VSub_DollarName '$nlist'))}) (command.Simple words: [{<Id.Lit_Colon ':'>}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {(DQ ($ Id.VSub_DollarName '$nlist'))} ) ] do_fork: T ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$exclude_expsyms'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Simple words: [ {($ Id.VSub_DollarName '$EGREP')} {<-v>} { (DQ <' ('> ($ Id.VSub_DollarName '$exclude_expsyms') <')'> <Id.Lit_Dollar '$'> ) } {(DQ ($ Id.VSub_DollarName '$nlist'))} ] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {(DQ ($ Id.VSub_DollarName '$nlist')) <T>} ) ] do_fork: T ) (C {($ Id.VSub_DollarName '$MV')} {(DQ ($ Id.VSub_DollarName '$nlist')) <T>} {(DQ ($ Id.VSub_DollarName '$nlist'))} ) ] spids: [18517 18528] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.Pipeline children: [ (command.Simple words: [ {($ Id.VSub_DollarName '$GREP')} {<-v>} {(DQ <'^: '>)} ] redirects: [ (redir op: <Id.Redir_Less '<'> loc: (redir_loc.Fd fd:0) arg: {(DQ ($ Id.VSub_DollarName '$nlist'))} ) ] do_fork: T ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple words: [{<sort>} {<-k>} {<3>}] redirects: [ (redir op: <Id.Redir_Less '<'> loc: (redir_loc.Fd fd: 0 ) arg: {<'/dev/null'>} ) (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd: 1 ) arg: {<'/dev/null'>} ) (redir op: <Id.Redir_GreatAnd '2>&' > loc: (redir_loc.Fd fd: 2 ) arg: {<1>} ) ] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<sort>} {<-k>} {<3>})] spids: [18593 18611] ) ] else_action: [ (C {<sort>} {<Id.Lit_Other '+'> <2>}) ] ) (command.Simple words: [{<uniq>}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {(DQ ($ Id.VSub_DollarName '$nlist')) <S> } ) ] do_fork: T ) ] negated: F ) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<Id.Lit_Colon ':'>})] spids: [18574 18645] ) ] else_action: [ (command.Simple words: [{($ Id.VSub_DollarName '$GREP')} {<-v>} {(DQ <'^: '>)}] redirects: [ (redir op: <Id.Redir_Less '<'> loc: (redir_loc.Fd fd:0) arg: {(DQ ($ Id.VSub_DollarName '$nlist'))} ) (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {(DQ ($ Id.VSub_DollarName '$nlist')) <S>} ) ] do_fork: T ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-f>} {(DQ ($ Id.VSub_DollarName '$nlist')) <S>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<eval>} {(DQ ($ Id.VSub_DollarName '$global_symbol_to_cdecl')) (SQ <' < "$nlist"S >> "$output_objdir/$my_dlsyms"'>) } ) ] spids: [18680 18692] ) ] else_action: [ (command.Simple words: [{<echo>} {(SQ <'/* NONE */'>)}] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$my_dlsyms') ) } ) ] do_fork: T ) ] ) (command.Simple words: [ {<echo>} { (DQ <'\n'> < '/* The mapping between symbol names and symbols. */\n' > <'typedef struct {\n'> <' const char *name;\n'> <' void *address;\n'> <'} lt_dlsymlist;\n'> <'extern LT_DLSYM_CONST lt_dlsymlist\n'> <lt_> (${ Id.VSub_Name my_prefix) <'_LTX_preloaded_symbols[];\n'> <'LT_DLSYM_CONST lt_dlsymlist\n'> <lt_> (${ Id.VSub_Name my_prefix) <'_LTX_preloaded_symbols[] =\n'> <'{'> <' { '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$my_originator') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <', (void *) 0 },'> ) } ] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$my_dlsyms') ) } ) ] do_fork: T ) (command.Case to_match: {($ Id.VSub_DollarName '$need_lib_prefix')} arms: [ (case_arm pat_list: [{<no>}] action: [ (command.Simple words: [ {<eval>} { (DQ ($ Id.VSub_DollarName '$global_symbol_to_c_name_address' ) ) } ] redirects: [ (redir op: <Id.Redir_Less '<'> loc: (redir_loc.Fd fd:0) arg: {(DQ ($ Id.VSub_DollarName '$nlist'))} ) (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$my_dlsyms') ) } ) ] do_fork: T ) ] spids: [18775 18776 18800 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.Simple words: [ {<eval>} { (DQ ($ Id.VSub_DollarName '$global_symbol_to_c_name_address_lib_prefix' ) ) } ] redirects: [ (redir op: <Id.Redir_Less '<'> loc: (redir_loc.Fd fd:0) arg: {(DQ ($ Id.VSub_DollarName '$nlist'))} ) (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$my_dlsyms') ) } ) ] do_fork: T ) ] spids: [18803 18804 18828 -1] ) ] ) (command.Simple words: [ {<echo>} { (DQ <' {0, (void *) 0}\n'> <'};\n'> <'\n'> < '/* This works around a problem in FreeBSD linker */\n' > <'#ifdef FREEBSD_WORKAROUND\n'> <'static const void *lt_preloaded_setup() {\n'> <' return lt_'> (${ Id.VSub_Name my_prefix) <'_LTX_preloaded_symbols;\n'> <'}\n'> <'#endif\n'> <'\n'> <'#ifdef __cplusplus\n'> <'}\n'> <'#endif'> ) } ] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$my_dlsyms') ) } ) ] do_fork: T ) ] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pic_flag_for_symtable) op: assign_op.Equal rhs: (word.Empty) spids: [18874] ) ] ) (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$compile_command') <' '>)} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> (DQ <' -static '>) <Id.Lit_Star '*'>}] spids: [18887 18892 18894 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-freebsd2.> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-freebsd3.0> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-freebsdelf3.0> <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pic_flag_for_symtable) op: assign_op.Equal rhs: { (DQ <' '> ($ Id.VSub_DollarName '$pic_flag') <' -DFREEBSD_WORKAROUND'> ) } spids: [18948] ) ] ) ] spids: [18928 18945 18955 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-hpux> <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pic_flag_for_symtable) op: assign_op.Equal rhs: {(DQ <' '> ($ Id.VSub_DollarName '$pic_flag'))} spids: [18966] ) ] ) ] spids: [18958 18963 18972 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ <X> ($ Id.VSub_DollarName '$my_pic_p') ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<Xno>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: pic_flag_for_symtable ) op: assign_op.Equal rhs: { (DQ <' '> ($ Id.VSub_DollarName '$pic_flag') ) } spids: [18997] ) ] ) ] spids: [18979 18994] ) ] ) ] spids: [18975 18976 19007 -1] ) ] ) ] spids: [18897 18898 19013 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:symtab_cflags) op: assign_op.Equal rhs: (word.Empty) spids: [19019] ) ] ) (command.ForEach iter_name: arg iter_words: [{($ Id.VSub_DollarName '$LTCFLAGS')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$arg')} arms: [ (case_arm pat_list: [{<-pie>} {<-fpie>} {<-fPIE>}] spids: [19041 19050 19052 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<symtab_cflags>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) ] spids: [19055 19056 19067 -1] ) ] ) ] ) ) (C {<func_show_eval>} { (SQ < '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' > ) } {(SQ <'exit $?'>)} ) (C {<func_show_eval>} { (SQ < '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"' > ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:symfileobj) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> (${ Id.VSub_Name my_outputname) <S.> ($ Id.VSub_DollarName '$objext') ) } spids: [19109] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <cygwin> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <mingw> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <cegcc> <Id.Lit_Star '*'>} ] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-f>} { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$my_outputname') <.def> ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_command) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ ($ Id.VSub_DollarName '$compile_command' ) ) } ) (C {($ Id.VSub_DollarName '$SED')} { (DQ <'s%@SYMFILE@%'> ($ Id.VSub_DollarName '$output_objdir' ) <'/'> ($ Id.VSub_DollarName '$my_outputname') <'.def '> ($ Id.VSub_DollarName '$symfileobj') <'%'> ) } ) ] negated: F ) ) } spids: [19164] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_command) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ ($ Id.VSub_DollarName '$finalize_command' ) ) } ) (C {($ Id.VSub_DollarName '$SED')} { (DQ <'s%@SYMFILE@%'> ($ Id.VSub_DollarName '$output_objdir' ) <'/'> ($ Id.VSub_DollarName '$my_outputname') <'.def '> ($ Id.VSub_DollarName '$symfileobj') <'%'> ) } ) ] negated: F ) ) } spids: [19190] ) ] ) ] spids: [19147 19161] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_command) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ ($ Id.VSub_DollarName '$compile_command' ) ) } ) (C {($ Id.VSub_DollarName '$SED')} { (DQ <'s%@SYMFILE@%'> ($ Id.VSub_DollarName '$symfileobj') <'%'> ) } ) ] negated: F ) ) } spids: [19219] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_command) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ ($ Id.VSub_DollarName '$finalize_command' ) ) } ) (C {($ Id.VSub_DollarName '$SED')} { (DQ <'s%@SYMFILE@%'> ($ Id.VSub_DollarName '$symfileobj') <'%'> ) } ) ] negated: F ) ) } spids: [19241] ) ] ) ] ) ] spids: [19128 19144 19266 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_command) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ ($ Id.VSub_DollarName '$compile_command') ) } ) (C {($ Id.VSub_DollarName '$SED')} { (DQ <'s%@SYMFILE@%'> ($ Id.VSub_DollarName '$symfileobj') <'%'> ) } ) ] negated: F ) ) } spids: [19273] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_command) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ ($ Id.VSub_DollarName '$finalize_command') ) } ) (C {($ Id.VSub_DollarName '$SED')} { (DQ <'s%@SYMFILE@%'> ($ Id.VSub_DollarName '$symfileobj') <'%'> ) } ) ] negated: F ) ) } spids: [19295] ) ] ) ] spids: [19269 19270 19317 -1] ) ] ) ] spids: [17539 17541 19323 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_fatal_error>} { (DQ <'unknown suffix for '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$my_dlsyms') <'\''> ) } ) ] spids: [19326 19327 19340 -1] ) ] ) ] spids: [17511 17522] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_command) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$compile_command'))} ) (C {($ Id.VSub_DollarName '$SED')} {(DQ <'s% @SYMFILE@%%'>)}) ] negated: F ) ) } spids: [19366] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_command) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$finalize_command'))} ) (C {($ Id.VSub_DollarName '$SED')} {(DQ <'s% @SYMFILE@%%'>)}) ] negated: F ) ) } spids: [19386] ) ] ) ] ) ] ) ) (command.ShFunction name: func_win32_libid body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:win32_libid_type) op: assign_op.Equal rhs: {(DQ <unknown>)} spids: [19443] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:win32_fileres) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Simple words: [{<file>} {<-L>} {($ Id.VSub_Number '$1')}] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) ) } spids: [19449] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$win32_fileres')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <ar> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\ '>) <archive> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\ '>) <Id.KW_Import import> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\ '> ) <library> <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:win32_libid_type) op: assign_op.Equal rhs: {(DQ <'x86 archive import'>)} spids: [19486] ) ] ) ] spids: [19471 19480 19492 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'> <ar> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\ '>) <archive> <Id.Lit_Star '*'> } ] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.Pipeline children: [ (C {<eval>} {($ Id.VSub_DollarName '$OBJDUMP')} {<-f>} {($ Id.VSub_Number '$1')} ) (command.Simple words: [{($ Id.VSub_DollarName '$SED')} {<-e>} {(SQ <10q>)}] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) (command.Simple words: [ {($ Id.VSub_DollarName '$EGREP')} { (SQ < 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' > ) } ] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/dev/null'>} ) ] do_fork: T ) ] negated: F ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_to_tool_file>} {(DQ ($ Id.VSub_Number '$1'))} {<func_convert_file_msys_to_w32>} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:win32_nmres) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {<eval>} {($ Id.VSub_DollarName '$NM')} {<-f>} {<posix>} {<-A>} {(DQ ($ Id.VSub_DollarName '$func_to_tool_file_result'))} ) (C {($ Id.VSub_DollarName '$SED')} {<-n>} {<-e>} { (SQ <'\n'> <'\t 1,100{\n'> <'\t\t/ I /{\n'> <'\t\t s,.*,import,\n'> <'\t\t p\n'> <'\t\t q\n'> <'\t\t}\n'> <'\t }'> ) } ) ] negated: F ) ) } spids: [19558] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$win32_nmres')} arms: [ (case_arm pat_list: [{<Id.KW_Import import> <Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:win32_libid_type) op: assign_op.Equal rhs: {(DQ <'x86 archive import'>)} spids: [19621] ) ] ) ] spids: [19617 19619 19625 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:win32_libid_type) op: assign_op.Equal rhs: {(DQ <'x86 archive static'>)} spids: [19631] ) ] ) ] spids: [19628 19629 19635 -1] ) ] ) ] spids: [19510 19546] ) ] ) ] spids: [19495 19500 19644 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'> <DLL> <Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:win32_libid_type) op: assign_op.Equal rhs: {(DQ <'x86 DLL'>)} spids: [19653] ) ] ) ] spids: [19647 19650 19659 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'> <executable> <Id.Lit_Star '*'>}] action: [ (command.Case to_match: {($ Id.VSub_DollarName '$win32_fileres')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <MS> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\ '> ) <Windows> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\ '>) <PE> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\ '> ) <Intel> <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:win32_libid_type) op: assign_op.Equal rhs: {(DQ <'x86 DLL'>)} spids: [19690] ) ] ) ] spids: [19678 19687 19696 -1] ) ] ) ] spids: [19662 19665 19702 -1] ) ] ) (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$win32_libid_type'))}) ] ) ) (command.ShFunction name: func_cygming_dll_for_implib body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:sharedlib_from_linklib_result) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {($ Id.VSub_DollarName '$DLLTOOL')} {<--identify-strict>} {<--identify>} {(DQ ($ Id.VSub_Number '$1'))} ) ) } spids: [19755] ) ] ) ] ) ) (command.ShFunction name: func_cygming_dll_for_implib_fallback_core body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:match_literal) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_Number '$1'))}) (C {($ Id.VSub_DollarName '$SED')} {(DQ ($ Id.VSub_DollarName '$sed_make_literal_regex'))} ) ] negated: F ) ) } spids: [19817] ) ] ) (command.Pipeline children: [ (command.Simple words: [ {($ Id.VSub_DollarName '$OBJDUMP')} {<-s>} {<--section>} {(DQ ($ Id.VSub_Number '$1'))} {(DQ ($ Id.VSub_Number '$2'))} ] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) (C {($ Id.VSub_DollarName '$SED')} {(SQ <'/^Contents of section '>) (DQ ($ Id.VSub_DollarName '$match_literal')) (SQ <':/{\n'> <' # Place marker at beginning of archive member dllname section\n'> <' s/.*/====MARK====/\n'> <' p\n'> <' d\n'> <' }\n'> <' # These lines can sometimes be longer than 43 characters, but\n'> <' # are always uninteresting\n'> <' /:[\t ]*file format pe[i]\\{,1\\}-/d\n'> <' /^In archive [^:]*:/d\n'> <' # Ensure marker is printed\n'> <' /^====MARK====/p\n'> <' # Remove all lines with less than 43 characters\n'> <' /^.\\{43\\}/!d\n'> <' # From remaining lines, remove first 43 characters\n'> <' s/^.\\{43\\}//'> ) } ) (C {($ Id.VSub_DollarName '$SED')} {<-n>} { (SQ <'\n'> <' # Join marker and all lines until next marker into a single line\n'> <' /^====MARK====/ b para\n'> <' H\n'> <' $ b para\n'> <' b\n'> <' :para\n'> <' x\n'> <' s/\\n//g\n'> <' # Remove the marker\n'> <' s/^====MARK====//\n'> <' # Remove trailing dots and whitespace\n'> <' s/[\\. \\t]*$//\n'> <' # Print\n'> <' /./p'> ) } ) (C {($ Id.VSub_DollarName '$SED')} {<-e>} {(SQ <'/^\\./d;/^.\\./d;q'>)}) ] negated: F ) ] ) ) (command.ShFunction name: func_cygming_gnu_implib_p body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (C {<func_to_tool_file>} {(DQ ($ Id.VSub_Number '$1'))} {<func_convert_file_msys_to_w32>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_cygming_gnu_implib_tmp) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$NM')} {(DQ ($ Id.VSub_DollarName '$func_to_tool_file_result'))} ) (C {<eval>} {(DQ ($ Id.VSub_DollarName '$global_symbol_pipe'))}) (C {($ Id.VSub_DollarName '$EGREP')} {(SQ <' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'>)} ) ] negated: F ) ) } spids: [19999] ) ] ) (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$func_cygming_gnu_implib_tmp'))}) ] ) ) (command.ShFunction name: func_cygming_ms_implib_p body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (C {<func_to_tool_file>} {(DQ ($ Id.VSub_Number '$1'))} {<func_convert_file_msys_to_w32>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_cygming_ms_implib_tmp) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$NM')} {(DQ ($ Id.VSub_DollarName '$func_to_tool_file_result'))} ) (C {<eval>} {(DQ ($ Id.VSub_DollarName '$global_symbol_pipe'))}) (C {($ Id.VSub_DollarName '$GREP')} {(SQ <_NULL_IMPORT_DESCRIPTOR>)}) ] negated: F ) ) } spids: [20070] ) ] ) (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$func_cygming_ms_implib_tmp'))}) ] ) ) (command.ShFunction name: func_cygming_dll_for_implib_fallback body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<func_cygming_gnu_implib_p>} {(DQ ($ Id.VSub_Number '$1'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:sharedlib_from_linklib_result) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<func_cygming_dll_for_implib_fallback_core>} {(SQ <'.idata$7'>)} {(DQ ($ Id.VSub_Number '$1'))} ) ) } spids: [20170] ) ] ) ] spids: [20153 20163] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<func_cygming_ms_implib_p>} {(DQ ($ Id.VSub_Number '$1'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:sharedlib_from_linklib_result) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<func_cygming_dll_for_implib_fallback_core>} {(SQ <'.idata$6'>)} {(DQ ($ Id.VSub_Number '$1'))} ) ) } spids: [20203] ) ] ) ] spids: [20186 20196] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:sharedlib_from_linklib_result) op: assign_op.Equal rhs: {(DQ )} spids: [20226] ) ] ) ] ) ] ) ) (command.ShFunction name: func_extract_an_archive body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:f_ex_an_ar_dir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [20251] ) ] ) terminator: <Id.Op_Semi _> ) (C {<shift>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:f_ex_an_ar_oldlib) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [20260] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$lock_old_archive_extraction'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lockfile) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$f_ex_an_ar_oldlib') <.lock>} spids: [20282] ) ] ) (command.WhileUntil keyword: <Id.KW_Until until> cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (command.Simple words: [ {<ln>} {(DQ ($ Id.VSub_DollarName '$progpath'))} {(DQ ($ Id.VSub_DollarName '$lockfile'))} ] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) ] ) terminator: <Id.Op_Semi _> ) ] ) body: (command.DoGroup children: [ (C {<func_echo>} { (DQ <'Waiting for '> ($ Id.VSub_DollarName '$lockfile') <' to be removed'> ) } ) (C {<sleep>} {<2>}) ] ) ) ] spids: [20266 20279] ) ] ) (C {<func_show_eval>} { (DQ <'(cd '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'f_ex_an_ar_dir && '> ($ Id.VSub_DollarName '$AR') <' x '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <f_ex_an_ar_oldlib> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <')'> ) } {(SQ <'stat=$?; rm -f "$lockfile"; exit $stat'>)} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$lock_old_archive_extraction'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (C {<rm>} {<-f>} {(DQ ($ Id.VSub_DollarName '$lockfile'))}) ] ) ] spids: [20352 20365] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.Subshell child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$AR')} {<t>} {(DQ ($ Id.VSub_DollarName '$f_ex_an_ar_oldlib'))} ) (C {<sort>}) (command.Simple words: [{<sort>} {<-uc>}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/dev/null'>} ) (redir op: <Id.Redir_GreatAnd '2>&'> loc: (redir_loc.Fd fd:2) arg: {<1>} ) ] do_fork: T ) ] negated: F ) ) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<Id.Lit_Colon ':'>})] spids: [20384 20413] ) ] else_action: [ (C {<func_fatal_error>} { (DQ <'object name conflicts in archive: '> ($ Id.VSub_DollarName '$f_ex_an_ar_dir') <'/'> ($ Id.VSub_DollarName '$f_ex_an_ar_oldlib') ) } ) ] ) ] ) ) (command.ShFunction name: func_extract_archives body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_gentop) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [20452] ) ] ) terminator: <Id.Op_Semi _> ) (C {<shift>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_oldlibs) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok: <Id.VTest_Plus '+'> arg_word: {(DQ ($ Id.VSub_At '$@'))} ) ) } spids: [20461] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_oldobjs) op: assign_op.Equal rhs: {(DQ )} spids: [20471] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_xlib) op: assign_op.Equal rhs: {(DQ )} spids: [20476] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_xabs) op: assign_op.Equal rhs: {(DQ )} spids: [20481] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_xdir) op: assign_op.Equal rhs: {(DQ )} spids: [20486] ) ] ) (command.ForEach iter_name: my_xlib iter_words: [{($ Id.VSub_DollarName '$my_oldlibs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$my_xlib')} arms: [ (case_arm pat_list: [ {<Id.Lit_LBracket '['> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\\\'> ) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } {<Id.Lit_LBracket '['> <A-Za-z> <Id.Lit_RBracket ']'> <Id.Lit_Colon ':'> <Id.Lit_LBracket '['> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_xabs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$my_xlib'))} spids: [20534] ) ] ) ] spids: [20515 20532 20539 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_xabs) op: assign_op.Equal rhs: {(command_sub left_token:<Id.Left_Backtick '`'> child:(C {<pwd>})) (DQ <'/'> ($ Id.VSub_DollarName '$my_xlib')) } spids: [20545] ) ] ) ] spids: [20542 20543 20556 -1] ) ] ) (C {<func_basename>} {(DQ ($ Id.VSub_DollarName '$my_xlib'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_xlib) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_basename_result'))} spids: [20569] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_xlib_u) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$my_xlib')} spids: [20575] ) ] ) (command.WhileUntil keyword: <Id.KW_While while> cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_Colon ':'>}) terminator: <Id.Op_Semi _> ) ] ) body: (command.DoGroup children: [ (command.Case to_match: {(DQ <' '> ($ Id.VSub_DollarName '$extracted_archives') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$my_xlib_u') <' '>) <Id.Lit_Star '*'> } ] action: [ (C {<func_arith>} {($ Id.VSub_DollarName '$extracted_serial')} {<Id.Lit_Other '+'>} {<1>} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:extracted_serial) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_arith_result')} spids: [20617] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_xlib_u) op: assign_op.Equal rhs: {<lt> ($ Id.VSub_DollarName '$extracted_serial') <-> ($ Id.VSub_DollarName '$my_xlib') } spids: [20621] ) ] ) ] spids: [20598 20605 20627 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [(command.ControlFlow token:<Id.ControlFlow_Break break>)] spids: [20630 20631 20635 -1] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:extracted_archives) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$extracted_archives') <' '> ($ Id.VSub_DollarName '$my_xlib_u') ) } spids: [20644] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_xdir) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$my_gentop') <'/'> ($ Id.VSub_DollarName '$my_xlib_u') ) } spids: [20652] ) ] ) (C {<func_mkdir_p>} {(DQ ($ Id.VSub_DollarName '$my_xdir'))}) (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <-darwin> <Id.Lit_Star '*'>}] action: [ (C {<func_verbose>} {(DQ <'Extracting '> ($ Id.VSub_DollarName '$my_xabs'))}) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:darwin_orig_dir) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<pwd>}) ) } spids: [20701] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<cd>} {($ Id.VSub_DollarName '$my_xdir')}) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_QMark '$?')} ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:darwin_archive) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$my_xabs')} spids: [20720] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:darwin_curdir) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<pwd>}) ) } spids: [20724] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:darwin_base_archive) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<basename>} {(DQ ($ Id.VSub_DollarName '$darwin_archive'))} ) ) } spids: [20732] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:darwin_arches) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.AndOr ops: [Id.Op_DPipe] children: [ (command.Pipeline children: [ (command.Simple words: [ {($ Id.VSub_DollarName '$LIPO')} {<-info>} { (DQ ($ Id.VSub_DollarName '$darwin_archive' ) ) } ] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) (command.Simple words: [ {($ Id.VSub_DollarName '$GREP')} {<Architectures>} ] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) ] negated: F ) (C {<true>}) ] ) ) } spids: [20744] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$darwin_arches'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:darwin_arches) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ ($ Id.VSub_DollarName '$darwin_arches' ) ) } ) (C {($ Id.VSub_DollarName '$SED')} {<-e>} {(SQ <'s/.*are://'>)} ) ] negated: F ) ) } spids: [20788] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:darwin_arch) op: assign_op.Equal rhs: (word.Empty) spids: [20810] ) ] ) (C {<func_verbose>} { (DQ ($ Id.VSub_DollarName '$darwin_base_archive') <' has multiple architectures '> ($ Id.VSub_DollarName '$darwin_arches') ) } ) (command.ForEach iter_name: darwin_arch iter_words: [{($ Id.VSub_DollarName '$darwin_arches')}] do_arg_iter: F body: (command.DoGroup children: [ (C {<func_mkdir_p>} { (DQ <unfat-> ($ Id.VSub_Dollar '$$') <'/'> (${ Id.VSub_Name darwin_base_archive) <-> (${ Id.VSub_Name darwin_arch) ) } ) (C {($ Id.VSub_DollarName '$LIPO')} {<-thin>} {($ Id.VSub_DollarName '$darwin_arch')} {<-output>} { (DQ <unfat-> ($ Id.VSub_Dollar '$$') <'/'> (${ Id.VSub_Name darwin_base_archive) <-> (${ Id.VSub_Name darwin_arch) <'/'> (${ Id.VSub_Name darwin_base_archive) ) } {(DQ (${ Id.VSub_Name darwin_archive))} ) (C {<cd>} { (DQ <unfat-> ($ Id.VSub_Dollar '$$') <'/'> (${ Id.VSub_Name darwin_base_archive) <-> (${ Id.VSub_Name darwin_arch) ) } ) (C {<func_extract_an_archive>} { (DQ (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<pwd>}) ) ) } {(DQ (${ Id.VSub_Name darwin_base_archive))} ) (C {<cd>} {(DQ ($ Id.VSub_DollarName '$darwin_curdir'))} ) (C {($ Id.VSub_DollarName '$RM')} { (DQ <unfat-> ($ Id.VSub_Dollar '$$') <'/'> (${ Id.VSub_Name darwin_base_archive) <-> (${ Id.VSub_Name darwin_arch) <'/'> (${ Id.VSub_Name darwin_base_archive) ) } ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:darwin_filelist) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {<find>} {<unfat-> ($ Id.VSub_Dollar '$$')} {<-type>} {<f>} {<-name>} {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\*'>) <.o>} {<-print>} {<-o>} {<-name>} {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\*'>) <.lo>} {<-print>} ) (C {($ Id.VSub_DollarName '$SED')} {<-e>} { (DQ ($ Id.VSub_DollarName '$basename') ) } ) (C {<sort>} {<-u>}) ] negated: F ) ) } spids: [20953] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:darwin_file) op: assign_op.Equal rhs: (word.Empty) spids: [21004] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:darwin_files) op: assign_op.Equal rhs: (word.Empty) spids: [21007] ) ] ) (command.ForEach iter_name: darwin_file iter_words: [{($ Id.VSub_DollarName '$darwin_filelist')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:darwin_files) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {<find>} {<unfat-> ($ Id.VSub_Dollar '$$') } {<-name>} {($ Id.VSub_DollarName '$darwin_file')} {<-print>} ) (C {<sort>}) (C { ($ Id.VSub_DollarName '$NL2SP' ) } ) ] negated: F ) ) } spids: [21022] ) ] ) (C {($ Id.VSub_DollarName '$LIPO')} {<-create>} {<-output>} {(DQ ($ Id.VSub_DollarName '$darwin_file'))} {($ Id.VSub_DollarName '$darwin_files')} ) ] ) ) (C {($ Id.VSub_DollarName '$RM')} {<-rf>} {<unfat-> ($ Id.VSub_Dollar '$$')} ) (C {<cd>} {(DQ ($ Id.VSub_DollarName '$darwin_orig_dir'))}) ] spids: [20774 20785] ) ] else_action: [ (C {<cd>} {($ Id.VSub_DollarName '$darwin_orig_dir')}) (C {<func_extract_an_archive>} {(DQ ($ Id.VSub_DollarName '$my_xdir'))} {(DQ ($ Id.VSub_DollarName '$my_xabs'))} ) ] ) ] ) ] ) ] spids: [20676 20679 21112 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_extract_an_archive>} {(DQ ($ Id.VSub_DollarName '$my_xdir'))} {(DQ ($ Id.VSub_DollarName '$my_xabs'))} ) ] spids: [21115 21116 21130 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:my_oldobjs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$my_oldobjs') <' '>) (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {<find>} {($ Id.VSub_DollarName '$my_xdir')} {<-name>} {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\*'>) <.> ($ Id.VSub_DollarName '$objext') } {<-print>} {<-o>} {<-name>} {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\*'>) <.lo>} {<-print>} ) (C {<sort>}) (C {($ Id.VSub_DollarName '$NL2SP')}) ] negated: F ) ) } spids: [21136] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_extract_archives_result) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$my_oldobjs'))} spids: [21183] ) ] ) ] ) ) (command.ShFunction name: func_emit_wrapper body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:func_emit_wrapper_arg1) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok:<Id.VTest_Hyphen -> arg_word:{<no>}) ) } spids: [21242] ) ] ) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'#! '> ($ Id.VSub_DollarName '$SHELL') <'\n'> <'\n'> <'# '> ($ Id.VSub_DollarName '$output') <' - temporary wrapper script for '> ($ Id.VSub_DollarName '$objdir') <'/'> ($ Id.VSub_DollarName '$outputname') <'\n'> <'# Generated by '> ($ Id.VSub_DollarName '$PROGRAM') <' (GNU '> ($ Id.VSub_DollarName '$PACKAGE') ($ Id.VSub_DollarName '$TIMESTAMP') <') '> ($ Id.VSub_DollarName '$VERSION') <'\n'> <'#\n'> <'# The '> ($ Id.VSub_DollarName '$output') <' program cannot be directly executed until all the libtool\n'> <'# libraries that it depends on are installed.\n'> <'#\n'> <'# This wrapper script should never be moved out of the build directory.\n'> <'# If it is, it will not operate correctly.\n'> <'\n'> <'# Sed substitution that helps us do robust quoting. It backslashifies\n'> <'# metacharacters that are still active within double-quoted strings.\n'> <'sed_quote_subst=\''> ($ Id.VSub_DollarName '$sed_quote_subst') <'\'\n'> <'\n'> <'# Be Bourne compatible\n'> <'if test -n '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'{ZSH_VERSION+set}'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' && (emulate sh) >/dev/null 2>&1; then\n'> <' emulate sh\n'> <' NULLCMD=:\n'> <' # Zsh 3.x and 4.x performs word splitting on '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'{1+'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'@'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'}, which\n'> <' # is contrary to our usage. Disable this feature.\n'> <' alias -g \''> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'{1+'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'@'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'}\'=\''> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'@'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'\'\n'> <' setopt NO_GLOB_SUBST\n'> <'else\n'> <' case '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'(set -o) 2>/dev/null'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <' in *posix*) set -o posix;; esac\n'> <'fi\n'> <'BIN_SH=xpg4; export BIN_SH # for Tru64\n'> <'DUALCASE=1; export DUALCASE # for MKS sh\n'> <'\n'> <'# The HP-UX ksh and POSIX shell print the target directory to stdout\n'> <'# if CDPATH is set.\n'> <'(unset CDPATH) >/dev/null 2>&1 && unset CDPATH\n'> <'\n'> <'relink_command='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ($ Id.VSub_DollarName '$relink_command') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'\n'> <'\n'> <'# This environment variable determines our operation mode.\n'> <'if test '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <libtool_install_magic> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' = '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ($ Id.VSub_DollarName '$magic') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'; then\n'> <' # install mode needs the following variables:\n'> <' generated_by_libtool_version=\''> ($ Id.VSub_DollarName '$macro_version') <'\'\n'> <' notinst_deplibs=\''> ($ Id.VSub_DollarName '$notinst_deplibs') <'\'\n'> <'else\n'> <' # When we are sourced in execute mode, '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'file and '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'ECHO are already set.\n'> <' if test '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <libtool_execute_magic> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' != '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ($ Id.VSub_DollarName '$magic') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'; then\n'> <' file='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <0> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:qECHO) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$ECHO'))}) (C {($ Id.VSub_DollarName '$SED')} {(DQ ($ Id.VSub_DollarName '$sed_quote_subst'))} ) ] negated: F ) ) } spids: [21384] ) ] ) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'\n'> <'# A function that is used when there is no print builtin or printf.\n'> <'func_fallback_echo ()\n'> <'{\n'> <' eval \'cat <<_LTECHO_EOF\n'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'1\n'> <'_LTECHO_EOF\'\n'> <'}\n'> <' ECHO='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ($ Id.VSub_DollarName '$qECHO') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'\n'> <' fi\n'> <'\n'> <'# Very basic option parsing. These options are (a) specific to\n'> <'# the libtool wrapper, (b) are identical between the wrapper\n'> <'# /script/ and the wrapper /executable/ which is used only on\n'> <'# windows platforms, and (c) all begin with the string '> ) <--lt-> (DQ <'\n'> <'# (application programs are unlikely to have options which match\n'> <'# this pattern).\n'> <'#\n'> <'# There are only two supported options: --lt-debug and\n'> <'# --lt-dump-script. There is, deliberately, no --lt-help.\n'> <'#\n'> <'# The first argument to this parsing function should be the\n'> <'# script\'s '> ($ Id.VSub_Number '$0') <' value, followed by '> ) ($ Id.VSub_At '$@') (DQ <'.\n'> <'lt_option_debug=\n'> <'func_parse_lt_options ()\n'> <'{\n'> <' lt_script_arg0='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'0\n'> <' shift\n'> <' for lt_opt\n'> <' do\n'> <' case '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <lt_opt> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' in\n'> <' --lt-debug) lt_option_debug=1 ;;\n'> <' --lt-dump-script)\n'> <' lt_dump_D='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'ECHO '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <X> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <lt_script_arg0> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' | '> ($ Id.VSub_DollarName '$SED') <' -e \'s/^X//\' -e \'s%/[^/]*'> <Id.Lit_Dollar '$'> <'%%\''> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'\n'> <' test '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <X> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <lt_dump_D> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' = '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <X> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <lt_script_arg0> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' && lt_dump_D=.\n'> <' lt_dump_F='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'ECHO '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <X> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <lt_script_arg0> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' | '> ($ Id.VSub_DollarName '$SED') <' -e \'s/^X//\' -e \'s%^.*/%%\''> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'\n'> <' cat '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'lt_dump_D/'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <lt_dump_F> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'\n'> <' exit 0\n'> <' ;;\n'> <' --lt-*)\n'> <' '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'ECHO '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'Unrecognized --lt- option: \''> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'lt_opt\''> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' 1>&2\n'> <' exit 1\n'> <' ;;\n'> <' esac\n'> <' done\n'> <'\n'> <' # Print the debug banner immediately:\n'> <' if test -n '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <lt_option_debug> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'; then\n'> <' echo '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (${ Id.VSub_Name outputname) <':'> (${ Id.VSub_Name output) <':'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'{LINENO}: libtool wrapper (GNU '> ($ Id.VSub_DollarName '$PACKAGE') ($ Id.VSub_DollarName '$TIMESTAMP') <') '> ($ Id.VSub_DollarName '$VERSION') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' 1>&2\n'> <' fi\n'> <'}\n'> <'\n'> <'# Used when --lt-debug. Prints its arguments to stdout\n'> <'# (redirection is the responsibility of the caller)\n'> <'func_lt_dump_args ()\n'> <'{\n'> <' lt_dump_args_N=1;\n'> <' for lt_arg\n'> <' do\n'> <' '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'ECHO '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (${ Id.VSub_Name outputname) <':'> (${ Id.VSub_Name output) <':'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'{LINENO}: newargv['> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'lt_dump_args_N]: '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <lt_arg> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'\n'> <' lt_dump_args_N='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'expr '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'lt_dump_args_N + 1'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'\n'> <' done\n'> <'}\n'> <'\n'> <'# Core function for launching the target application\n'> <'func_exec_program_core ()\n'> <'{\n'> ) } ) (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-mingw>} {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-os2> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <-cegcc> <Id.Lit_Star '*'>} ] action: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <' if test -n '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <lt_option_debug> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <'; then\n'> <' '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'ECHO '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (${ Id.VSub_Name outputname) <':'> (${ Id.VSub_Name output) <':'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <'{LINENO}: newargv[0]: '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <progdir> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\\\'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <program> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' 1>&2\n'> <' func_lt_dump_args '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'{1+'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'@'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <'} 1>&2\n'> <' fi\n'> <' exec '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <progdir> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\\\'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <program> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <' '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'{1+'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'@'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <'}\n'> ) } ) ] spids: [21613 21631 21695 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <' if test -n '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <lt_option_debug> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <'; then\n'> <' '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'ECHO '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (${ Id.VSub_Name outputname) <':'> (${ Id.VSub_Name output) <':'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <'{LINENO}: newargv[0]: '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'progdir/'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <program> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' 1>&2\n'> <' func_lt_dump_args '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'{1+'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'@'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <'} 1>&2\n'> <' fi\n'> <' exec '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <'progdir/'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <program> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <' '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'{1+'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'@'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <'}\n'> ) } ) ] spids: [21699 21700 21760 -1] ) ] ) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <' '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'ECHO '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'0: cannot exec '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'program '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'*'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' 1>&2\n'> <' exit 1\n'> <'}\n'> <'\n'> <'# A function to encapsulate launching the target application\n'> <'# Strips options in the --lt-* namespace from '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'@ and\n'> <'# launches target application with the remaining arguments.\n'> <'func_exec_program ()\n'> <'{\n'> <' case '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'* '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' in\n'> <' *'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <' --lt-*)\n'> <' for lt_wr_arg\n'> <' do\n'> <' case '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'lt_wr_arg in\n'> <' --lt-*) ;;\n'> <' *) set x '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'@'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <lt_wr_arg> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'; shift;;\n'> <' esac\n'> <' shift\n'> <' done ;;\n'> <' esac\n'> <' func_exec_program_core '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'{1+'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'@'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'}\n'> <'}\n'> <'\n'> <' # Parse options\n'> <' func_parse_lt_options '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <0> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'{1+'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'@'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'}\n'> <'\n'> <' # Find the directory that this script lives in.\n'> <' thisdir='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'ECHO '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <file> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' | '> ($ Id.VSub_DollarName '$SED') <' \'s%/[^/]*'> <Id.Lit_Dollar '$'> <'%%\''> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'\n'> <' test '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <x> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <thisdir> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' = '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <x> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <file> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' && thisdir=.\n'> <'\n'> <' # Follow symbolic links until we get to the real thisdir.\n'> <' file='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'ls -ld '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <file> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' | '> ($ Id.VSub_DollarName '$SED') <' -n \'s/.*-> //p\''> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'\n'> <' while test -n '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <file> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'; do\n'> <' destdir='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'ECHO '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <file> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' | '> ($ Id.VSub_DollarName '$SED') <' \'s%/[^/]*'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'%%\''> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'\n'> <'\n'> <' # If there was a directory component, then change thisdir.\n'> <' if test '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <x> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <destdir> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' != '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <x> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <file> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'; then\n'> <' case '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <destdir> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' in\n'> <' ['> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <'/]* | [A-Za-z]:['> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <'/]*) thisdir='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <destdir> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' ;;\n'> <' *) thisdir='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'thisdir/'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <destdir> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' ;;\n'> <' esac\n'> <' fi\n'> <'\n'> <' file='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'ECHO '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <file> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' | '> ($ Id.VSub_DollarName '$SED') <' \'s%^.*/%%\''> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'\n'> <' file='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'ls -ld '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'thisdir/'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <file> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' | '> ($ Id.VSub_DollarName '$SED') <' -n \'s/.*-> //p\''> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'\n'> <' done\n'> <'\n'> <' # Usually \'no\', except on cygwin/mingw when embedded into\n'> <' # the cwrapper.\n'> <' WRAPPER_SCRIPT_BELONGS_IN_OBJDIR='> ($ Id.VSub_DollarName '$func_emit_wrapper_arg1') <'\n'> <' if test '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <WRAPPER_SCRIPT_BELONGS_IN_OBJDIR> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' = '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <yes> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'; then\n'> <' # special case for \'.\'\n'> <' if test '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <thisdir> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' = '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <.> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'; then\n'> <' thisdir='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <pwd> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'\n'> <' fi\n'> <' # remove .libs from thisdir\n'> <' case '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <thisdir> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' in\n'> <' *['> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <'/]'> ($ Id.VSub_DollarName '$objdir') <' ) thisdir='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'ECHO '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <thisdir> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' | '> ($ Id.VSub_DollarName '$SED') <' \'s%['> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <'/][^'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <'/]*'> <Id.Lit_Dollar '$'> <'%%\''> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <' ;;\n'> <' '> ($ Id.VSub_DollarName '$objdir') <' ) thisdir=. ;;\n'> <' esac\n'> <' fi\n'> <'\n'> <' # Try to get the absolute directory name.\n'> <' absdir='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'cd '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <thisdir> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' && pwd'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'\n'> <' test -n '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <absdir> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' && thisdir='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <absdir> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'\n'> ) } ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$fast_install'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <' program=lt-\''> ($ Id.VSub_DollarName '$outputname') <'\''> ($ Id.VSub_DollarName '$exeext') <'\n'> <' progdir='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <'thisdir/'> ($ Id.VSub_DollarName '$objdir') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <'\n'> <'\n'> <' if test ! -f '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <'progdir/'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <program> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <' ||\n'> <' { file='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'ls -1dt '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'progdir/'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <program> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'progdir/../'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <program> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' 2>/dev/null | '> (${ Id.VSub_Name SED) <' 1q'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'; '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\\\'> ) <'\n'> <' test '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <X> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <file> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' != '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <X> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'progdir/'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <program> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'; }; then\n'> <'\n'> <' file='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <-> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <program> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'\n'> <'\n'> <' if test ! -d '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <progdir> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <'; then\n'> <' '> ($ Id.VSub_DollarName '$MKDIR') <' '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <progdir> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <'\n'> <' else\n'> <' '> ($ Id.VSub_DollarName '$RM') <' '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'progdir/'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <file> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'\n'> <' fi'> ) } ) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'\n'> <' # relink executable if necessary\n'> <' if test -n '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <relink_command> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <'; then\n'> <' if relink_command_output='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'eval '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'relink_command 2>&1'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'; then :\n'> <' else\n'> <'\t'> ($ Id.VSub_DollarName '$ECHO') <' '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <relink_command_output> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <' >&2\n'> <'\t'> ($ Id.VSub_DollarName '$RM') <' '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'progdir/'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <file> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'\n'> <'\texit 1\n'> <' fi\n'> <' fi\n'> <'\n'> <' '> ($ Id.VSub_DollarName '$MV') <' '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'progdir/'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <file> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'progdir/'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <program> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' 2>/dev/null ||\n'> <' { '> ($ Id.VSub_DollarName '$RM') <' '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <'progdir/'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <program> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <';\n'> <' '> ($ Id.VSub_DollarName '$MV') <' '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'progdir/'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <file> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'progdir/'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <program> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'; }\n'> <' '> ($ Id.VSub_DollarName '$RM') <' '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <'progdir/'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <file> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <'\n'> <' fi'> ) } ) ] spids: [22082 22095] ) ] else_action: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <' program=\''> ($ Id.VSub_DollarName '$outputname') <'\'\n'> <' progdir='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'thisdir/'> ($ Id.VSub_DollarName '$objdir') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'\n'> ) } ) ] ) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'\n'> <' if test -f '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'progdir/'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <program> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'; then'> ) } ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$dllsearchpath'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <' # Add the dll search path components to the executable PATH\n'> <' PATH='> ($ Id.VSub_DollarName '$dllsearchpath') <':'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <'PATH\n'> ) } ) ] spids: [22365 22376] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$shlibpath_overrides_runpath'))} {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$shlibpath_var'))}) (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$temp_rpath'))}) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <' # Add our own library path to '> ($ Id.VSub_DollarName '$shlibpath_var') <'\n'> <' '> ($ Id.VSub_DollarName '$shlibpath_var') <'='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$temp_rpath') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) ($ Id.VSub_DollarName '$shlibpath_var') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'\n'> <'\n'> <' # Some systems cannot cope with colon-terminated '> ($ Id.VSub_DollarName '$shlibpath_var') <'\n'> <' # The second colon is a workaround for a bug in BeOS R4 sed\n'> <' '> ($ Id.VSub_DollarName '$shlibpath_var') <'='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'ECHO '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) ($ Id.VSub_DollarName '$shlibpath_var') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) <' | '> ($ Id.VSub_DollarName '$SED') <' \'s/::*'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <'//\''> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'\n'> <'\n'> <' export '> ($ Id.VSub_DollarName '$shlibpath_var') <'\n'> ) } ) ] spids: [22400 22433] ) ] ) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <' if test '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <libtool_execute_magic> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' != '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ($ Id.VSub_DollarName '$magic') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'; then\n'> <' # Run the actual program with our arguments.\n'> <' func_exec_program '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'{1+'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'@'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'}\n'> <' fi\n'> <' else\n'> <' # The program doesn\'t exist.\n'> <' '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'ECHO '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'0: error: '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'progdir/'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'program\' does not exist'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' 1>&2\n'> <' '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'ECHO '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'This script is just a wrapper for '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <program.> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' 1>&2\n'> <' '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'ECHO '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'See the '> ($ Id.VSub_DollarName '$PACKAGE') <' documentation for more information.'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' 1>&2\n'> <' exit 1\n'> <' fi\n'> <fi> ) } ) ] ) ) (command.ShFunction name: func_emit_cwrapperexe_src body: (BraceGroup children: [ (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {<EOF>} here_end_span_id: 22604 stdin_parts: [ <'\n'> <'/* '> ($ Id.VSub_DollarName '$cwrappersource') <' - temporary wrapper executable for '> ($ Id.VSub_DollarName '$objdir') <'/'> ($ Id.VSub_DollarName '$outputname') <'\n'> <' Generated by '> ($ Id.VSub_DollarName '$PROGRAM') <' (GNU '> ($ Id.VSub_DollarName '$PACKAGE') ($ Id.VSub_DollarName '$TIMESTAMP') <') '> ($ Id.VSub_DollarName '$VERSION') <'\n'> <'\n'> <' The '> ($ Id.VSub_DollarName '$output') <' program cannot be directly executed until all the libtool\n'> <' libraries that it depends on are installed.\n'> <'\n'> < ' This wrapper executable should never be moved out of the build directory.\n' > <' If it is, it will not operate correctly.\n'> <'*/\n'> ] ) ) ] do_fork: T ) (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {(DQ <EOF>)} here_end_span_id: 22760 stdin_parts: [ <'#ifdef _MSC_VER\n'> <'# define _CRT_SECURE_NO_DEPRECATE 1\n'> <'#endif\n'> <'#include <stdio.h>\n'> <'#include <stdlib.h>\n'> <'#ifdef _MSC_VER\n'> <'# include <direct.h>\n'> <'# include <process.h>\n'> <'# include <io.h>\n'> <'#else\n'> <'# include <unistd.h>\n'> <'# include <stdint.h>\n'> <'# ifdef __CYGWIN__\n'> <'# include <io.h>\n'> <'# endif\n'> <'#endif\n'> <'#include <malloc.h>\n'> <'#include <stdarg.h>\n'> <'#include <assert.h>\n'> <'#include <string.h>\n'> <'#include <ctype.h>\n'> <'#include <errno.h>\n'> <'#include <fcntl.h>\n'> <'#include <sys/stat.h>\n'> <'\n'> <'/* declarations of non-ANSI functions */\n'> <'#if defined(__MINGW32__)\n'> <'# ifdef __STRICT_ANSI__\n'> <'int _putenv (const char *);\n'> <'# endif\n'> <'#elif defined(__CYGWIN__)\n'> <'# ifdef __STRICT_ANSI__\n'> <'char *realpath (const char *, char *);\n'> <'int putenv (char *);\n'> <'int setenv (const char *, const char *, int);\n'> <'# endif\n'> <'/* #elif defined (other platforms) ... */\n'> <'#endif\n'> <'\n'> <'/* portability defines, excluding path handling macros */\n'> <'#if defined(_MSC_VER)\n'> <'# define setmode _setmode\n'> <'# define stat _stat\n'> <'# define chmod _chmod\n'> <'# define getcwd _getcwd\n'> <'# define putenv _putenv\n'> <'# define S_IXUSR _S_IEXEC\n'> <'# ifndef _INTPTR_T_DEFINED\n'> <'# define _INTPTR_T_DEFINED\n'> <'# define intptr_t int\n'> <'# endif\n'> <'#elif defined(__MINGW32__)\n'> <'# define setmode _setmode\n'> <'# define stat _stat\n'> <'# define chmod _chmod\n'> <'# define getcwd _getcwd\n'> <'# define putenv _putenv\n'> <'#elif defined(__CYGWIN__)\n'> <'# define HAVE_SETENV\n'> <'# define FOPEN_WB "wb"\n'> <'/* #elif defined (other platforms) ... */\n'> <'#endif\n'> <'\n'> <'#if defined(PATH_MAX)\n'> <'# define LT_PATHMAX PATH_MAX\n'> <'#elif defined(MAXPATHLEN)\n'> <'# define LT_PATHMAX MAXPATHLEN\n'> <'#else\n'> <'# define LT_PATHMAX 1024\n'> <'#endif\n'> <'\n'> <'#ifndef S_IXOTH\n'> <'# define S_IXOTH 0\n'> <'#endif\n'> <'#ifndef S_IXGRP\n'> <'# define S_IXGRP 0\n'> <'#endif\n'> <'\n'> <'/* path handling portability macros */\n'> <'#ifndef DIR_SEPARATOR\n'> <'# define DIR_SEPARATOR \'/\'\n'> <'# define PATH_SEPARATOR \':\'\n'> <'#endif\n'> <'\n'> < '#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \\\n' > <' defined (__OS2__)\n'> <'# define HAVE_DOS_BASED_FILE_SYSTEM\n'> <'# define FOPEN_WB "wb"\n'> <'# ifndef DIR_SEPARATOR_2\n'> <'# define DIR_SEPARATOR_2 \'\\\\\'\n'> <'# endif\n'> <'# ifndef PATH_SEPARATOR_2\n'> <'# define PATH_SEPARATOR_2 \';\'\n'> <'# endif\n'> <'#endif\n'> <'\n'> <'#ifndef DIR_SEPARATOR_2\n'> <'# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)\n'> <'#else /* DIR_SEPARATOR_2 */\n'> <'# define IS_DIR_SEPARATOR(ch) \\\n'> <'\t(((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))\n'> <'#endif /* DIR_SEPARATOR_2 */\n'> <'\n'> <'#ifndef PATH_SEPARATOR_2\n'> <'# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)\n'> <'#else /* PATH_SEPARATOR_2 */\n'> <'# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)\n'> <'#endif /* PATH_SEPARATOR_2 */\n'> <'\n'> <'#ifndef FOPEN_WB\n'> <'# define FOPEN_WB "w"\n'> <'#endif\n'> <'#ifndef _O_BINARY\n'> <'# define _O_BINARY 0\n'> <'#endif\n'> <'\n'> < '#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))\n' > <'#define XFREE(stale) do { \\\n'> <' if (stale) { free ((void *) stale); stale = 0; } \\\n'> <'} while (0)\n'> <'\n'> <'#if defined(LT_DEBUGWRAPPER)\n'> <'static int lt_debug = 1;\n'> <'#else\n'> <'static int lt_debug = 0;\n'> <'#endif\n'> <'\n'> < 'const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */\n' > <'\n'> <'void *xmalloc (size_t num);\n'> <'char *xstrdup (const char *string);\n'> <'const char *base_name (const char *name);\n'> <'char *find_executable (const char *wrapper);\n'> <'char *chase_symlinks (const char *pathspec);\n'> <'int make_executable (const char *path);\n'> <'int check_executable (const char *path);\n'> <'char *strendzap (char *str, const char *pat);\n'> < 'void lt_debugprintf (const char *file, int line, const char *fmt, ...);\n' > <'void lt_fatal (const char *file, int line, const char *message, ...);\n'> <'static const char *nonnull (const char *s);\n'> <'static const char *nonempty (const char *s);\n'> <'void lt_setenv (const char *name, const char *value);\n'> < 'char *lt_extend_str (const char *orig_value, const char *add, int to_end);\n' > <'void lt_update_exe_path (const char *name, const char *value);\n'> <'void lt_update_lib_path (const char *name, const char *value);\n'> <'char **prepare_spawn (char **argv);\n'> <'void lt_dump_script (FILE *f);\n'> ] ) ) ] do_fork: T ) (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {<EOF>} here_end_span_id: 22779 stdin_parts: [ <'volatile const char * MAGIC_EXE = '> <Id.Right_DoubleQuote '"'> ($ Id.VSub_DollarName '$magic_exe') <Id.Right_DoubleQuote '"'> <';\n'> <'const char * LIB_PATH_VARNAME = '> <Id.Right_DoubleQuote '"'> ($ Id.VSub_DollarName '$shlibpath_var') <Id.Right_DoubleQuote '"'> <';\n'> ] ) ) ] do_fork: T ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$shlibpath_overrides_runpath'))} {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$shlibpath_var'))}) (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$temp_rpath'))}) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_to_host_path>} {(DQ ($ Id.VSub_DollarName '$temp_rpath'))}) (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {<EOF>} here_end_span_id: 22836 stdin_parts: [ <'const char * LIB_PATH_VALUE = '> <Id.Right_DoubleQuote '"'> ($ Id.VSub_DollarName '$func_to_host_path_result') <Id.Right_DoubleQuote '"'> <';\n'> ] ) ) ] do_fork: T ) ] spids: [22782 22815] ) ] else_action: [ (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {(DQ <EOF>)} here_end_span_id: 22849 stdin_parts: [<'const char * LIB_PATH_VALUE = "";\n'>] ) ) ] do_fork: T ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$dllsearchpath'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_to_host_path>} {(DQ ($ Id.VSub_DollarName '$dllsearchpath') <':'>)}) (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {<EOF>} here_end_span_id: 22893 stdin_parts: [ <'const char * EXE_PATH_VARNAME = '> <Id.Right_DoubleQuote '"'> <PATH> <Id.Right_DoubleQuote '"'> <';\n'> <'const char * EXE_PATH_VALUE = '> <Id.Right_DoubleQuote '"'> ($ Id.VSub_DollarName '$func_to_host_path_result') <Id.Right_DoubleQuote '"'> <';\n'> ] ) ) ] do_fork: T ) ] spids: [22855 22866] ) ] else_action: [ (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {(DQ <EOF>)} here_end_span_id: 22907 stdin_parts: [ <'const char * EXE_PATH_VARNAME = "";\n'> <'const char * EXE_PATH_VALUE = "";\n'> ] ) ) ] do_fork: T ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$fast_install'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {<EOF>} here_end_span_id: 22941 stdin_parts: [ <'const char * TARGET_PROGRAM_NAME = '> <Id.Right_DoubleQuote '"'> <lt-> ($ Id.VSub_DollarName '$outputname') <Id.Right_DoubleQuote '"'> <'; /* hopefully, no .exe */\n'> ] ) ) ] do_fork: T ) ] spids: [22913 22926] ) ] else_action: [ (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {<EOF>} here_end_span_id: 22957 stdin_parts: [ <'const char * TARGET_PROGRAM_NAME = '> <Id.Right_DoubleQuote '"'> ($ Id.VSub_DollarName '$outputname') <Id.Right_DoubleQuote '"'> <'; /* hopefully, no .exe */\n'> ] ) ) ] do_fork: T ) ] ) (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {(DQ <EOF>)} here_end_span_id: 23004 stdin_parts: [ <'\n'> <'#define LTWRAPPER_OPTION_PREFIX "--lt-"\n'> <'\n'> <'static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;\n'> < 'static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script";\n' > < 'static const char *debug_opt = LTWRAPPER_OPTION_PREFIX "debug";\n' > <'\n'> <'int\n'> <'main (int argc, char *argv[])\n'> <'{\n'> <' char **newargz;\n'> <' int newargc;\n'> <' char *tmp_pathspec;\n'> <' char *actual_cwrapper_path;\n'> <' char *actual_cwrapper_name;\n'> <' char *target_name;\n'> <' char *lt_argv_zero;\n'> <' intptr_t rval = 127;\n'> <'\n'> <' int i;\n'> <'\n'> <' program_name = (char *) xstrdup (base_name (argv[0]));\n'> <' newargz = XMALLOC (char *, argc + 1);\n'> <'\n'> <' /* very simple arg parsing; don\'t want to rely on getopt\n'> <' * also, copy all non cwrapper options to newargz, except\n'> <' * argz[0], which is handled differently\n'> <' */\n'> <' newargc=0;\n'> <' for (i = 1; i < argc; i++)\n'> <' {\n'> <' if (strcmp (argv[i], dumpscript_opt) == 0)\n'> <'\t{\n'> ] ) ) ] do_fork: T ) (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$host'))} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <mingw> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <cygwin> <Id.Lit_Star '*'>} ] action: [(C {<echo>} {(DQ <' setmode(1,_O_BINARY);'>)})] spids: [23015 23025 23039 -1] ) ] ) (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {(DQ <EOF>)} here_end_span_id: 23081 stdin_parts: [ <'\t lt_dump_script (stdout);\n'> <'\t return 0;\n'> <'\t}\n'> <' if (strcmp (argv[i], debug_opt) == 0)\n'> <'\t{\n'> <' lt_debug = 1;\n'> <' continue;\n'> <'\t}\n'> <' if (strcmp (argv[i], ltwrapper_option_prefix) == 0)\n'> <' {\n'> < ' /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX\n' > < ' namespace, but it is not one of the ones we know about and\n' > < ' have already dealt with, above (inluding dump-script), then\n' > < ' report an error. Otherwise, targets might begin to believe\n' > < ' they are allowed to use options in the LTWRAPPER_OPTION_PREFIX\n' > < ' namespace. The first time any user complains about this, we\'ll\n' > < ' need to make LTWRAPPER_OPTION_PREFIX a configure-time option\n' > <' or a configure.ac-settable value.\n'> <' */\n'> <' lt_fatal (__FILE__, __LINE__,\n'> <'\t\t "unrecognized %s option: \'%s\'",\n'> <' ltwrapper_option_prefix, argv[i]);\n'> <' }\n'> <' /* otherwise ... */\n'> <' newargz[++newargc] = xstrdup (argv[i]);\n'> <' }\n'> <' newargz[++newargc] = NULL;\n'> <'\n'> ] ) ) ] do_fork: T ) (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {<EOF>} here_end_span_id: 23101 stdin_parts: [ <' /* The GNU banner must be the first non-error debug message */\n'> <' lt_debugprintf (__FILE__, __LINE__, '> <Id.Right_DoubleQuote '"'> <'libtool wrapper (GNU '> ($ Id.VSub_DollarName '$PACKAGE') ($ Id.VSub_DollarName '$TIMESTAMP') <') '> ($ Id.VSub_DollarName '$VERSION') <Id.Lit_BadBackslash '\\'> <n> <Id.Right_DoubleQuote '"'> <');\n'> ] ) ) ] do_fork: T ) (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {(DQ <EOF>)} here_end_span_id: 23147 stdin_parts: [ < ' lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\\n", argv[0]);\n' > < ' lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\\n", program_name);\n' > <'\n'> <' tmp_pathspec = find_executable (argv[0]);\n'> <' if (tmp_pathspec == NULL)\n'> <' lt_fatal (__FILE__, __LINE__, "couldn\'t find %s", argv[0]);\n'> <' lt_debugprintf (__FILE__, __LINE__,\n'> <' "(main) found exe (before symlink chase) at: %s\\n",\n'> <'\t\t tmp_pathspec);\n'> <'\n'> <' actual_cwrapper_path = chase_symlinks (tmp_pathspec);\n'> <' lt_debugprintf (__FILE__, __LINE__,\n'> <' "(main) found exe (after symlink chase) at: %s\\n",\n'> <'\t\t actual_cwrapper_path);\n'> <' XFREE (tmp_pathspec);\n'> <'\n'> <' actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path));\n'> <' strendzap (actual_cwrapper_path, actual_cwrapper_name);\n'> <'\n'> <' /* wrapper name transforms */\n'> <' strendzap (actual_cwrapper_name, ".exe");\n'> <' tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1);\n'> <' XFREE (actual_cwrapper_name);\n'> <' actual_cwrapper_name = tmp_pathspec;\n'> <' tmp_pathspec = 0;\n'> <'\n'> < ' /* target_name transforms -- use actual target program name; might have lt- prefix */\n' > <' target_name = xstrdup (base_name (TARGET_PROGRAM_NAME));\n'> <' strendzap (target_name, ".exe");\n'> <' tmp_pathspec = lt_extend_str (target_name, ".exe", 1);\n'> <' XFREE (target_name);\n'> <' target_name = tmp_pathspec;\n'> <' tmp_pathspec = 0;\n'> <'\n'> <' lt_debugprintf (__FILE__, __LINE__,\n'> <'\t\t "(main) libtool target name: %s\\n",\n'> <'\t\t target_name);\n'> ] ) ) ] do_fork: T ) (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {<EOF>} here_end_span_id: 23174 stdin_parts: [ <' newargz[0] =\n'> <' XMALLOC (char, (strlen (actual_cwrapper_path) +\n'> <'\t\t strlen ('> <Id.Right_DoubleQuote '"'> ($ Id.VSub_DollarName '$objdir') <Id.Right_DoubleQuote '"'> <') + 1 + strlen (actual_cwrapper_name) + 1));\n'> <' strcpy (newargz[0], actual_cwrapper_path);\n'> <' strcat (newargz[0], '> <Id.Right_DoubleQuote '"'> ($ Id.VSub_DollarName '$objdir') <Id.Right_DoubleQuote '"'> <');\n'> <' strcat (newargz[0], '> <Id.Right_DoubleQuote '"'> <'/'> <Id.Right_DoubleQuote '"'> <');\n'> ] ) ) ] do_fork: T ) (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {(DQ <EOF>)} here_end_span_id: 23194 stdin_parts: [ <' /* stop here, and copy so we don\'t have to do this twice */\n'> <' tmp_pathspec = xstrdup (newargz[0]);\n'> <'\n'> <' /* do NOT want the lt- prefix here, so use actual_cwrapper_name */\n'> <' strcat (newargz[0], actual_cwrapper_name);\n'> <'\n'> <' /* DO want the lt- prefix here if it exists, so use target_name */\n'> <' lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1);\n'> <' XFREE (tmp_pathspec);\n'> <' tmp_pathspec = NULL;\n'> ] ) ) ] do_fork: T ) (command.Case to_match: {($ Id.VSub_DollarName '$host_os')} arms: [ (case_arm pat_list: [{<mingw> <Id.Lit_Star '*'>}] action: [ (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {(DQ <EOF>)} here_end_span_id: 23227 stdin_parts: [ <' {\n'> <' char* p;\n'> <' while ((p = strchr (newargz[0], \'\\\\\')) != NULL)\n'> <' {\n'> <'\t*p = \'/\';\n'> <' }\n'> <' while ((p = strchr (lt_argv_zero, \'\\\\\')) != NULL)\n'> <' {\n'> <'\t*p = \'/\';\n'> <' }\n'> <' }\n'> ] ) ) ] do_fork: T ) ] spids: [23204 23206 23229 -1] ) ] ) (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {(DQ <EOF>)} here_end_span_id: 23264 stdin_parts: [ <' XFREE (target_name);\n'> <' XFREE (actual_cwrapper_path);\n'> <' XFREE (actual_cwrapper_name);\n'> <'\n'> <' lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */\n'> <' lt_setenv ("DUALCASE", "1"); /* for MSK sh */\n'> <' /* Update the DLL searchpath. EXE_PATH_VALUE ($dllsearchpath) must\n'> < ' be prepended before (that is, appear after) LIB_PATH_VALUE ($temp_rpath)\n' > <' because on Windows, both *_VARNAMEs are PATH but uninstalled\n'> <' libraries must come first. */\n'> <' lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);\n'> <' lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);\n'> <'\n'> <' lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\\n",\n'> <'\t\t nonnull (lt_argv_zero));\n'> <' for (i = 0; i < newargc; i++)\n'> <' {\n'> <' lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\\n",\n'> <'\t\t i, nonnull (newargz[i]));\n'> <' }\n'> <'\n'> ] ) ) ] do_fork: T ) (command.Case to_match: {($ Id.VSub_DollarName '$host_os')} arms: [ (case_arm pat_list: [{<mingw> <Id.Lit_Star '*'>}] action: [ (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {(DQ <EOF>)} here_end_span_id: 23298 stdin_parts: [ < ' /* execv doesn\'t actually work on mingw as expected on unix */\n' > <' newargz = prepare_spawn (newargz);\n'> < ' rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);\n' > <' if (rval == -1)\n'> <' {\n'> <' /* failed to start process */\n'> <' lt_debugprintf (__FILE__, __LINE__,\n'> <'\t\t "(main) failed to launch target \\"%s\\": %s\\n",\n'> <'\t\t lt_argv_zero, nonnull (strerror (errno)));\n'> <' return 127;\n'> <' }\n'> <' return rval;\n'> ] ) ) ] do_fork: T ) ] spids: [23274 23276 23300 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {(DQ <EOF>)} here_end_span_id: 23316 stdin_parts: [ <' execv (lt_argv_zero, newargz);\n'> <' return rval; /* =127, but avoids unused variable warning */\n'> ] ) ) ] do_fork: T ) ] spids: [23303 23304 23318 -1] ) ] ) (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {(DQ <EOF>)} here_end_span_id: 23724 stdin_parts: [ <'}\n'> <'\n'> <'void *\n'> <'xmalloc (size_t num)\n'> <'{\n'> <' void *p = (void *) malloc (num);\n'> <' if (!p)\n'> <' lt_fatal (__FILE__, __LINE__, "memory exhausted");\n'> <'\n'> <' return p;\n'> <'}\n'> <'\n'> <'char *\n'> <'xstrdup (const char *string)\n'> <'{\n'> <' return string ? strcpy ((char *) xmalloc (strlen (string) + 1),\n'> <'\t\t\t string) : NULL;\n'> <'}\n'> <'\n'> <'const char *\n'> <'base_name (const char *name)\n'> <'{\n'> <' const char *base;\n'> <'\n'> <'#if defined (HAVE_DOS_BASED_FILE_SYSTEM)\n'> <' /* Skip over the disk name in MSDOS pathnames. */\n'> <' if (isalpha ((unsigned char) name[0]) && name[1] == \':\')\n'> <' name += 2;\n'> <'#endif\n'> <'\n'> <' for (base = name; *name; name++)\n'> <' if (IS_DIR_SEPARATOR (*name))\n'> <' base = name + 1;\n'> <' return base;\n'> <'}\n'> <'\n'> <'int\n'> <'check_executable (const char *path)\n'> <'{\n'> <' struct stat st;\n'> <'\n'> <' lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\\n",\n'> <' nonempty (path));\n'> <' if ((!path) || (!*path))\n'> <' return 0;\n'> <'\n'> <' if ((stat (path, &st) >= 0)\n'> <' && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)))\n'> <' return 1;\n'> <' else\n'> <' return 0;\n'> <'}\n'> <'\n'> <'int\n'> <'make_executable (const char *path)\n'> <'{\n'> <' int rval = 0;\n'> <' struct stat st;\n'> <'\n'> <' lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\\n",\n'> <' nonempty (path));\n'> <' if ((!path) || (!*path))\n'> <' return 0;\n'> <'\n'> <' if (stat (path, &st) >= 0)\n'> <' {\n'> <' rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR);\n'> <' }\n'> <' return rval;\n'> <'}\n'> <'\n'> <'/* Searches for the full path of the wrapper. Returns\n'> <' newly allocated full path name if found, NULL otherwise\n'> <' Does not chase symlinks, even on platforms that support them.\n'> <'*/\n'> <'char *\n'> <'find_executable (const char *wrapper)\n'> <'{\n'> <' int has_slash = 0;\n'> <' const char *p;\n'> <' const char *p_next;\n'> <' /* static buffer for getcwd */\n'> <' char tmp[LT_PATHMAX + 1];\n'> <' int tmp_len;\n'> <' char *concat_name;\n'> <'\n'> <' lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\\n",\n'> <' nonempty (wrapper));\n'> <'\n'> <' if ((wrapper == NULL) || (*wrapper == \'\\0\'))\n'> <' return NULL;\n'> <'\n'> <' /* Absolute path? */\n'> <'#if defined (HAVE_DOS_BASED_FILE_SYSTEM)\n'> <' if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == \':\')\n'> <' {\n'> <' concat_name = xstrdup (wrapper);\n'> <' if (check_executable (concat_name))\n'> <'\treturn concat_name;\n'> <' XFREE (concat_name);\n'> <' }\n'> <' else\n'> <' {\n'> <'#endif\n'> <' if (IS_DIR_SEPARATOR (wrapper[0]))\n'> <'\t{\n'> <'\t concat_name = xstrdup (wrapper);\n'> <'\t if (check_executable (concat_name))\n'> <'\t return concat_name;\n'> <'\t XFREE (concat_name);\n'> <'\t}\n'> <'#if defined (HAVE_DOS_BASED_FILE_SYSTEM)\n'> <' }\n'> <'#endif\n'> <'\n'> <' for (p = wrapper; *p; p++)\n'> <' if (*p == \'/\')\n'> <' {\n'> <'\thas_slash = 1;\n'> <'\tbreak;\n'> <' }\n'> <' if (!has_slash)\n'> <' {\n'> <' /* no slashes; search PATH */\n'> <' const char *path = getenv ("PATH");\n'> <' if (path != NULL)\n'> <'\t{\n'> <'\t for (p = path; *p; p = p_next)\n'> <'\t {\n'> <'\t const char *q;\n'> <'\t size_t p_len;\n'> <'\t for (q = p; *q; q++)\n'> <'\t\tif (IS_PATH_SEPARATOR (*q))\n'> <'\t\t break;\n'> <'\t p_len = q - p;\n'> <'\t p_next = (*q == \'\\0\' ? q : q + 1);\n'> <'\t if (p_len == 0)\n'> <'\t\t{\n'> <'\t\t /* empty path: current directory */\n'> <'\t\t if (getcwd (tmp, LT_PATHMAX) == NULL)\n'> <'\t\t lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",\n'> <' nonnull (strerror (errno)));\n'> <'\t\t tmp_len = strlen (tmp);\n'> <'\t\t concat_name =\n'> <'\t\t XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);\n'> <'\t\t memcpy (concat_name, tmp, tmp_len);\n'> <'\t\t concat_name[tmp_len] = \'/\';\n'> <'\t\t strcpy (concat_name + tmp_len + 1, wrapper);\n'> <'\t\t}\n'> <'\t else\n'> <'\t\t{\n'> <'\t\t concat_name =\n'> <'\t\t XMALLOC (char, p_len + 1 + strlen (wrapper) + 1);\n'> <'\t\t memcpy (concat_name, p, p_len);\n'> <'\t\t concat_name[p_len] = \'/\';\n'> <'\t\t strcpy (concat_name + p_len + 1, wrapper);\n'> <'\t\t}\n'> <'\t if (check_executable (concat_name))\n'> <'\t\treturn concat_name;\n'> <'\t XFREE (concat_name);\n'> <'\t }\n'> <'\t}\n'> <' /* not found in PATH; assume curdir */\n'> <' }\n'> <' /* Relative path | not found in path: prepend cwd */\n'> <' if (getcwd (tmp, LT_PATHMAX) == NULL)\n'> <' lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",\n'> <' nonnull (strerror (errno)));\n'> <' tmp_len = strlen (tmp);\n'> <' concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);\n'> <' memcpy (concat_name, tmp, tmp_len);\n'> <' concat_name[tmp_len] = \'/\';\n'> <' strcpy (concat_name + tmp_len + 1, wrapper);\n'> <'\n'> <' if (check_executable (concat_name))\n'> <' return concat_name;\n'> <' XFREE (concat_name);\n'> <' return NULL;\n'> <'}\n'> <'\n'> <'char *\n'> <'chase_symlinks (const char *pathspec)\n'> <'{\n'> <'#ifndef S_ISLNK\n'> <' return xstrdup (pathspec);\n'> <'#else\n'> <' char buf[LT_PATHMAX];\n'> <' struct stat s;\n'> <' char *tmp_pathspec = xstrdup (pathspec);\n'> <' char *p;\n'> <' int has_symlinks = 0;\n'> <' while (strlen (tmp_pathspec) && !has_symlinks)\n'> <' {\n'> <' lt_debugprintf (__FILE__, __LINE__,\n'> <'\t\t "checking path component for symlinks: %s\\n",\n'> <'\t\t tmp_pathspec);\n'> <' if (lstat (tmp_pathspec, &s) == 0)\n'> <'\t{\n'> <'\t if (S_ISLNK (s.st_mode) != 0)\n'> <'\t {\n'> <'\t has_symlinks = 1;\n'> <'\t break;\n'> <'\t }\n'> <'\n'> <'\t /* search backwards for last DIR_SEPARATOR */\n'> <'\t p = tmp_pathspec + strlen (tmp_pathspec) - 1;\n'> <'\t while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))\n'> <'\t p--;\n'> <'\t if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))\n'> <'\t {\n'> <'\t /* no more DIR_SEPARATORS left */\n'> <'\t break;\n'> <'\t }\n'> <'\t *p = \'\\0\';\n'> <'\t}\n'> <' else\n'> <'\t{\n'> <'\t lt_fatal (__FILE__, __LINE__,\n'> <'\t\t "error accessing file \\"%s\\": %s",\n'> <'\t\t tmp_pathspec, nonnull (strerror (errno)));\n'> <'\t}\n'> <' }\n'> <' XFREE (tmp_pathspec);\n'> <'\n'> <' if (!has_symlinks)\n'> <' {\n'> <' return xstrdup (pathspec);\n'> <' }\n'> <'\n'> <' tmp_pathspec = realpath (pathspec, buf);\n'> <' if (tmp_pathspec == 0)\n'> <' {\n'> <' lt_fatal (__FILE__, __LINE__,\n'> <'\t\t"could not follow symlinks for %s", pathspec);\n'> <' }\n'> <' return xstrdup (tmp_pathspec);\n'> <'#endif\n'> <'}\n'> <'\n'> <'char *\n'> <'strendzap (char *str, const char *pat)\n'> <'{\n'> <' size_t len, patlen;\n'> <'\n'> <' assert (str != NULL);\n'> <' assert (pat != NULL);\n'> <'\n'> <' len = strlen (str);\n'> <' patlen = strlen (pat);\n'> <'\n'> <' if (patlen <= len)\n'> <' {\n'> <' str += len - patlen;\n'> <' if (strcmp (str, pat) == 0)\n'> <'\t*str = \'\\0\';\n'> <' }\n'> <' return str;\n'> <'}\n'> <'\n'> <'void\n'> <'lt_debugprintf (const char *file, int line, const char *fmt, ...)\n'> <'{\n'> <' va_list args;\n'> <' if (lt_debug)\n'> <' {\n'> <' (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line);\n'> <' va_start (args, fmt);\n'> <' (void) vfprintf (stderr, fmt, args);\n'> <' va_end (args);\n'> <' }\n'> <'}\n'> <'\n'> <'static void\n'> <'lt_error_core (int exit_status, const char *file,\n'> <'\t int line, const char *mode,\n'> <'\t const char *message, va_list ap)\n'> <'{\n'> <' fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode);\n'> <' vfprintf (stderr, message, ap);\n'> <' fprintf (stderr, ".\\n");\n'> <'\n'> <' if (exit_status >= 0)\n'> <' exit (exit_status);\n'> <'}\n'> <'\n'> <'void\n'> <'lt_fatal (const char *file, int line, const char *message, ...)\n'> <'{\n'> <' va_list ap;\n'> <' va_start (ap, message);\n'> <' lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap);\n'> <' va_end (ap);\n'> <'}\n'> <'\n'> <'static const char *\n'> <'nonnull (const char *s)\n'> <'{\n'> <' return s ? s : "(null)";\n'> <'}\n'> <'\n'> <'static const char *\n'> <'nonempty (const char *s)\n'> <'{\n'> <' return (s && !*s) ? "(empty)" : nonnull (s);\n'> <'}\n'> <'\n'> <'void\n'> <'lt_setenv (const char *name, const char *value)\n'> <'{\n'> <' lt_debugprintf (__FILE__, __LINE__,\n'> <'\t\t "(lt_setenv) setting \'%s\' to \'%s\'\\n",\n'> <' nonnull (name), nonnull (value));\n'> <' {\n'> <'#ifdef HAVE_SETENV\n'> <' /* always make a copy, for consistency with !HAVE_SETENV */\n'> <' char *str = xstrdup (value);\n'> <' setenv (name, str, 1);\n'> <'#else\n'> <' int len = strlen (name) + 1 + strlen (value) + 1;\n'> <' char *str = XMALLOC (char, len);\n'> <' sprintf (str, "%s=%s", name, value);\n'> <' if (putenv (str) != EXIT_SUCCESS)\n'> <' {\n'> <' XFREE (str);\n'> <' }\n'> <'#endif\n'> <' }\n'> <'}\n'> <'\n'> <'char *\n'> <'lt_extend_str (const char *orig_value, const char *add, int to_end)\n'> <'{\n'> <' char *new_value;\n'> <' if (orig_value && *orig_value)\n'> <' {\n'> <' int orig_value_len = strlen (orig_value);\n'> <' int add_len = strlen (add);\n'> <' new_value = XMALLOC (char, add_len + orig_value_len + 1);\n'> <' if (to_end)\n'> <' {\n'> <' strcpy (new_value, orig_value);\n'> <' strcpy (new_value + orig_value_len, add);\n'> <' }\n'> <' else\n'> <' {\n'> <' strcpy (new_value, add);\n'> <' strcpy (new_value + add_len, orig_value);\n'> <' }\n'> <' }\n'> <' else\n'> <' {\n'> <' new_value = xstrdup (add);\n'> <' }\n'> <' return new_value;\n'> <'}\n'> <'\n'> <'void\n'> <'lt_update_exe_path (const char *name, const char *value)\n'> <'{\n'> <' lt_debugprintf (__FILE__, __LINE__,\n'> <'\t\t "(lt_update_exe_path) modifying \'%s\' by prepending \'%s\'\\n",\n'> <' nonnull (name), nonnull (value));\n'> <'\n'> <' if (name && *name && value && *value)\n'> <' {\n'> <' char *new_value = lt_extend_str (getenv (name), value, 0);\n'> <' /* some systems can\'t cope with a \':\'-terminated path #\' */\n'> <' int len = strlen (new_value);\n'> < ' while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1]))\n' > <' {\n'> <' new_value[len-1] = \'\\0\';\n'> <' }\n'> <' lt_setenv (name, new_value);\n'> <' XFREE (new_value);\n'> <' }\n'> <'}\n'> <'\n'> <'void\n'> <'lt_update_lib_path (const char *name, const char *value)\n'> <'{\n'> <' lt_debugprintf (__FILE__, __LINE__,\n'> <'\t\t "(lt_update_lib_path) modifying \'%s\' by prepending \'%s\'\\n",\n'> <' nonnull (name), nonnull (value));\n'> <'\n'> <' if (name && *name && value && *value)\n'> <' {\n'> <' char *new_value = lt_extend_str (getenv (name), value, 0);\n'> <' lt_setenv (name, new_value);\n'> <' XFREE (new_value);\n'> <' }\n'> <'}\n'> <'\n'> ] ) ) ] do_fork: T ) (command.Case to_match: {($ Id.VSub_DollarName '$host_os')} arms: [ (case_arm pat_list: [{<mingw> <Id.Lit_Star '*'>}] action: [ (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {(DQ <EOF>)} here_end_span_id: 23858 stdin_parts: [ <'\n'> <'/* Prepares an argument vector before calling spawn().\n'> < ' Note that spawn() does not by itself call the command interpreter\n' > <' (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") :\n'> < ' ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);\n' > <' GetVersionEx(&v);\n'> <' v.dwPlatformId == VER_PLATFORM_WIN32_NT;\n'> <' }) ? "cmd.exe" : "command.com").\n'> < ' Instead it simply concatenates the arguments, separated by \' \', and calls\n' > < ' CreateProcess(). We must quote the arguments since Win32 CreateProcess()\n' > < ' interprets characters like \' \', \'\\t\', \'\\\\\', \'"\' (but not \'<\' and \'>\') in a\n' > <' special way:\n'> < ' - Space and tab are interpreted as delimiters. They are not treated as\n' > < ' delimiters if they are surrounded by double quotes: "...".\n' > < ' - Unescaped double quotes are removed from the input. Their only effect is\n' > < ' that within double quotes, space and tab are treated like normal\n' > <' characters.\n'> < ' - Backslashes not followed by double quotes are not special.\n' > <' - But 2*n+1 backslashes followed by a double quote become\n'> <' n backslashes followed by a double quote (n >= 0):\n'> <' \\" -> "\n'> <' \\\\\\" -> \\"\n'> <' \\\\\\\\\\" -> \\\\"\n'> <' */\n'> < '#define SHELL_SPECIAL_CHARS "\\"\\\\ \\001\\002\\003\\004\\005\\006\\007\\010\\011\\012\\013\\014\\015\\016\\017\\020\\021\\022\\023\\024\\025\\026\\027\\030\\031\\032\\033\\034\\035\\036\\037"\n' > < '#define SHELL_SPACE_CHARS " \\001\\002\\003\\004\\005\\006\\007\\010\\011\\012\\013\\014\\015\\016\\017\\020\\021\\022\\023\\024\\025\\026\\027\\030\\031\\032\\033\\034\\035\\036\\037"\n' > <'char **\n'> <'prepare_spawn (char **argv)\n'> <'{\n'> <' size_t argc;\n'> <' char **new_argv;\n'> <' size_t i;\n'> <'\n'> <' /* Count number of arguments. */\n'> <' for (argc = 0; argv[argc] != NULL; argc++)\n'> <' ;\n'> <'\n'> <' /* Allocate new argument vector. */\n'> <' new_argv = XMALLOC (char *, argc + 1);\n'> <'\n'> <' /* Put quoted arguments into the new argument vector. */\n'> <' for (i = 0; i < argc; i++)\n'> <' {\n'> <' const char *string = argv[i];\n'> <'\n'> <' if (string[0] == \'\\0\')\n'> <'\tnew_argv[i] = xstrdup ("\\"\\"");\n'> <' else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL)\n'> <'\t{\n'> < '\t int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL);\n' > <'\t size_t length;\n'> <'\t unsigned int backslashes;\n'> <'\t const char *s;\n'> <'\t char *quoted_string;\n'> <'\t char *p;\n'> <'\n'> <'\t length = 0;\n'> <'\t backslashes = 0;\n'> <'\t if (quote_around)\n'> <'\t length++;\n'> <'\t for (s = string; *s != \'\\0\'; s++)\n'> <'\t {\n'> <'\t char c = *s;\n'> <'\t if (c == \'"\')\n'> <'\t\tlength += backslashes + 1;\n'> <'\t length++;\n'> <'\t if (c == \'\\\\\')\n'> <'\t\tbackslashes++;\n'> <'\t else\n'> <'\t\tbackslashes = 0;\n'> <'\t }\n'> <'\t if (quote_around)\n'> <'\t length += backslashes + 1;\n'> <'\n'> <'\t quoted_string = XMALLOC (char, length + 1);\n'> <'\n'> <'\t p = quoted_string;\n'> <'\t backslashes = 0;\n'> <'\t if (quote_around)\n'> <'\t *p++ = \'"\';\n'> <'\t for (s = string; *s != \'\\0\'; s++)\n'> <'\t {\n'> <'\t char c = *s;\n'> <'\t if (c == \'"\')\n'> <'\t\t{\n'> <'\t\t unsigned int j;\n'> <'\t\t for (j = backslashes + 1; j > 0; j--)\n'> <'\t\t *p++ = \'\\\\\';\n'> <'\t\t}\n'> <'\t *p++ = c;\n'> <'\t if (c == \'\\\\\')\n'> <'\t\tbackslashes++;\n'> <'\t else\n'> <'\t\tbackslashes = 0;\n'> <'\t }\n'> <'\t if (quote_around)\n'> <'\t {\n'> <'\t unsigned int j;\n'> <'\t for (j = backslashes; j > 0; j--)\n'> <'\t\t*p++ = \'\\\\\';\n'> <'\t *p++ = \'"\';\n'> <'\t }\n'> <'\t *p = \'\\0\';\n'> <'\n'> <'\t new_argv[i] = quoted_string;\n'> <'\t}\n'> <' else\n'> <'\tnew_argv[i] = (char *) string;\n'> <' }\n'> <' new_argv[argc] = NULL;\n'> <'\n'> <' return new_argv;\n'> <'}\n'> ] ) ) ] do_fork: T ) ] spids: [23733 23735 23860 -1] ) ] ) (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {(DQ <EOF>)} here_end_span_id: 23876 stdin_parts: [<'void lt_dump_script (FILE* f)\n'> <'{\n'>] ) ) ] do_fork: T ) (command.Pipeline children: [ (C {<func_emit_wrapper>} {<yes>}) (C {($ Id.VSub_DollarName '$SED')} {<-n>} {<-e>} { (SQ <'\n'> <'s/^\\(.\\{79\\}\\)\\(..*\\)/\\1\\\n'> <'\\2/\n'> <'h\n'> <'s/\\([\\\\"]\\)/\\\\\\1/g\n'> <'s/$/\\\\n/\n'> <'s/\\([^\\n]*\\).*/ fputs ("\\1", f);/p\n'> <'g\n'> <D> ) } ) ] negated: F ) (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {(DQ <EOF>)} here_end_span_id: 23912 stdin_parts: [<'}\n'>] ) ) ] do_fork: T ) ] ) ) (command.ShFunction name: func_win32_import_lib_p body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.Case to_match: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (command.Simple words: [ {<eval>} {($ Id.VSub_DollarName '$file_magic_cmd')} {(DQ ($ Id.VSub_Number '$1'))} ] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) (C {($ Id.VSub_DollarName '$SED')} {<-e>} {<10q>}) ] negated: F ) ) } arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <Id.KW_Import import> <Id.Lit_Star '*'>}] action: [(C {<Id.Lit_Colon ':'>})] spids: [23969 23972 23976 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [(C {<false>})] spids: [23979 23980 23984 -1] ) ] ) ] ) ) (command.ShFunction name: func_mode_link body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-cygwin> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-mingw> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-pw32> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-os2> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <-cegcc> <Id.Lit_Star '*'>} ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:allow_undefined) op: assign_op.Equal rhs: {<yes>} spids: [24092] ) ] ) ] spids: [24013 24048 24096 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:allow_undefined) op: assign_op.Equal rhs: {<yes>} spids: [24103] ) ] ) ] spids: [24099 24100 24107 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libtool_args) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$nonopt')} spids: [24113] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:base_compile) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$nonopt') <' '> ($ Id.VSub_At '$@'))} spids: [24117] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_command) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$nonopt')} spids: [24125] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_command) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$nonopt')} spids: [24129] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_rpath) op: assign_op.Equal rhs: (word.Empty) spids: [24134] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_rpath) op: assign_op.Equal rhs: (word.Empty) spids: [24137] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_shlibpath) op: assign_op.Equal rhs: (word.Empty) spids: [24140] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_shlibpath) op: assign_op.Equal rhs: (word.Empty) spids: [24143] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:convenience) op: assign_op.Equal rhs: (word.Empty) spids: [24146] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:old_convenience) op: assign_op.Equal rhs: (word.Empty) spids: [24149] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: (word.Empty) spids: [24152] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:old_deplibs) op: assign_op.Equal rhs: (word.Empty) spids: [24155] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compiler_flags) op: assign_op.Equal rhs: (word.Empty) spids: [24158] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:linker_flags) op: assign_op.Equal rhs: (word.Empty) spids: [24161] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dllsearchpath) op: assign_op.Equal rhs: (word.Empty) spids: [24164] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lib_search_path) op: assign_op.Equal rhs: {(command_sub left_token:<Id.Left_Backtick '`'> child:(C {<pwd>}))} spids: [24167] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:inst_prefix_dir) op: assign_op.Equal rhs: (word.Empty) spids: [24175] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:new_inherited_linker_flags) op: assign_op.Equal rhs: (word.Empty) spids: [24178] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:avoid_version) op: assign_op.Equal rhs: {<no>} spids: [24182] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:bindir) op: assign_op.Equal rhs: (word.Empty) spids: [24186] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlfiles) op: assign_op.Equal rhs: (word.Empty) spids: [24189] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlprefiles) op: assign_op.Equal rhs: (word.Empty) spids: [24192] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlself) op: assign_op.Equal rhs: {<no>} spids: [24195] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:export_dynamic) op: assign_op.Equal rhs: {<no>} spids: [24199] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:export_symbols) op: assign_op.Equal rhs: (word.Empty) spids: [24203] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:export_symbols_regex) op: assign_op.Equal rhs: (word.Empty) spids: [24206] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:generated) op: assign_op.Equal rhs: (word.Empty) spids: [24209] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libobjs) op: assign_op.Equal rhs: (word.Empty) spids: [24212] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:ltlibs) op: assign_op.Equal rhs: (word.Empty) spids: [24215] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:module) op: assign_op.Equal rhs: {<no>} spids: [24218] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:no_install) op: assign_op.Equal rhs: {<no>} spids: [24222] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:objs) op: assign_op.Equal rhs: (word.Empty) spids: [24226] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:non_pic_objects) op: assign_op.Equal rhs: (word.Empty) spids: [24229] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:precious_files_regex) op: assign_op.Equal rhs: (word.Empty) spids: [24232] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prefer_static_libs) op: assign_op.Equal rhs: {<no>} spids: [24235] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:preload) op: assign_op.Equal rhs: {<no>} spids: [24239] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [24243] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prevarg) op: assign_op.Equal rhs: (word.Empty) spids: [24246] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:release) op: assign_op.Equal rhs: (word.Empty) spids: [24249] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:rpath) op: assign_op.Equal rhs: (word.Empty) spids: [24252] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:xrpath) op: assign_op.Equal rhs: (word.Empty) spids: [24255] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:perm_rpath) op: assign_op.Equal rhs: (word.Empty) spids: [24258] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:temp_rpath) op: assign_op.Equal rhs: (word.Empty) spids: [24261] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:thread_safe) op: assign_op.Equal rhs: {<no>} spids: [24264] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:vinfo) op: assign_op.Equal rhs: (word.Empty) spids: [24268] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:vinfo_number) op: assign_op.Equal rhs: {<no>} spids: [24271] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:weak_libs) op: assign_op.Equal rhs: (word.Empty) spids: [24275] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:single_module) op: assign_op.Equal rhs: {(DQ (${ Id.VSub_Name wl) <-single_module>)} spids: [24278] ) ] ) (C {<func_infer_tag>} {($ Id.VSub_DollarName '$base_compile')}) (command.ForEach iter_name: arg do_arg_iter: T body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$arg')} arms: [ (case_arm pat_list: [{<-shared>}] action: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_libtool_libs'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<yes>} ) (C {<func_fatal_configuration>} {(DQ <'can not build a shared library'>)} ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:build_old_libs) op: assign_op.Equal rhs: {<no>} spids: [24338] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Break break> ) ] spids: [24312 24313 24345 -1] ) (case_arm pat_list: [{<-all-static>} {<-static>} {<-static-libtool-libs>}] action: [ (command.Case to_match: {($ Id.VSub_DollarName '$arg')} arms: [ (case_arm pat_list: [{<-all-static>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$build_libtool_libs' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$link_static_flag' ) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_warning>} { (DQ < 'complete static linking is impossible in this configuration' > ) } ) ] spids: [24371 24394] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$link_static_flag') ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlopen_self) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$dlopen_self_static')} spids: [24421] ) ] ) ] spids: [24407 24418] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prefer_static_libs) op: assign_op.Equal rhs: {<yes>} spids: [24428] ) ] ) ] spids: [24367 24368 24432 -1] ) (case_arm pat_list: [{<-static>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$pic_flag'))} ) (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$link_static_flag' ) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlopen_self) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$dlopen_self_static')} spids: [24463] ) ] ) ] spids: [24439 24460] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prefer_static_libs) op: assign_op.Equal rhs: {<built>} spids: [24470] ) ] ) ] spids: [24435 24436 24474 -1] ) (case_arm pat_list: [{<-static-libtool-libs>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$pic_flag'))} ) (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$link_static_flag' ) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlopen_self) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$dlopen_self_static')} spids: [24505] ) ] ) ] spids: [24481 24502] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prefer_static_libs) op: assign_op.Equal rhs: {<yes>} spids: [24512] ) ] ) ] spids: [24477 24478 24516 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:build_libtool_libs) op: assign_op.Equal rhs: {<no>} spids: [24522] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:build_old_libs) op: assign_op.Equal rhs: {<yes>} spids: [24526] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Break break> ) ] spids: [24348 24357 24533 -1] ) ] ) ] ) ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$old_archive_from_new_cmds'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:build_old_libs) op: assign_op.Equal rhs: {<yes>} spids: [24557] ) ] ) ] ) (command.WhileUntil keyword: <Id.KW_While while> cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_Pound '$#'))} {<-gt>} {<0>}) terminator: <Id.Op_Semi _> ) ] ) body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arg) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [24582] ) ] ) (C {<shift>}) (C {<func_quote_for_eval>} {(DQ ($ Id.VSub_DollarName '$arg'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:qarg) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_quote_for_eval_unquoted_result')} spids: [24598] ) ] ) (C {<func_append>} {<libtool_args>} {(DQ <' '> ($ Id.VSub_DollarName '$func_quote_for_eval_result'))} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$prev'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {($ Id.VSub_DollarName '$prev')} arms: [ (case_arm pat_list: [{<output>}] action: [ (C {<func_append>} {<compile_command>} {(DQ <' @OUTPUT@'>)}) (C {<func_append>} {<finalize_command>} {(DQ <' @OUTPUT@'>)}) ] spids: [24638 24639 24660 -1] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$prev')} arms: [ (case_arm pat_list: [{<bindir>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:bindir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$arg'))} spids: [24678] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [24684] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [24674 24675 24690 -1] ) (case_arm pat_list: [{<dlfiles>} {<dlprefiles>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$preload'))} {<Id.Lit_Equals '='>} {<no>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<compile_command>} {(DQ <' @SYMFILE@'>)}) (C {<func_append>} {<finalize_command>} {(DQ <' @SYMFILE@'>)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:preload) op: assign_op.Equal rhs: {<yes>} spids: [24737] ) ] ) ] spids: [24699 24712] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$arg')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <.la>} {<Id.Lit_Star '*'> <.lo>} ] spids: [24751 24758 24760 -1] ) (case_arm pat_list: [{<force>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$dlself'))} {<Id.Lit_Equals '='>} {<no>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlself) op: assign_op.Equal rhs: {<needless>} spids: [24786] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:export_dynamic) op: assign_op.Equal rhs: {<yes>} spids: [24790] ) ] ) ] spids: [24770 24783] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [24797] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [24766 24767 24803 -1] ) (case_arm pat_list: [{<self>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$prev'))} {<Id.Lit_Equals '='>} {<dlprefiles>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlself) op: assign_op.Equal rhs: {<yes>} spids: [24826] ) ] ) ] spids: [24810 24823] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$prev') ) } {<Id.Lit_Equals '='>} {<dlfiles>} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$dlopen_self' ) ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<yes>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlself) op: assign_op.Equal rhs: {<yes>} spids: [24859] ) ] ) ] spids: [24830 24856] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlself) op: assign_op.Equal rhs: {<needless>} spids: [24866] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:export_dynamic) op: assign_op.Equal rhs: {<yes>} spids: [24870] ) ] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [24877] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [24806 24807 24883 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$prev'))} {<Id.Lit_Equals '='>} {<dlfiles>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<dlfiles>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) ] spids: [24890 24903] ) ] else_action: [ (C {<func_append>} {<dlprefiles>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [24932] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [24886 24887 24938 -1] ) ] ) ] spids: [24693 24696 24944 -1] ) (case_arm pat_list: [{<expsyms>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:export_symbols) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$arg'))} spids: [24951] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {<-f>} {(DQ ($ Id.VSub_DollarName '$arg'))}) (C {<func_fatal_error>} { (DQ <'symbol file '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$arg') <'\' does not exist'> ) } ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [24979] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [24947 24948 24985 -1] ) (case_arm pat_list: [{<expsyms_regex>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:export_symbols_regex) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$arg'))} spids: [24992] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [24998] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [24988 24989 25004 -1] ) (case_arm pat_list: [{<framework>}] action: [ (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-darwin> <Id.Lit_Star '*'> } ] action: [ (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$deplibs') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$qarg') <'.ltframework '> ) <Id.Lit_Star '*'> } ] spids: [25036 25043 25045 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<deplibs>} { (DQ <' '> ($ Id.VSub_DollarName '$qarg') <.ltframework> ) } ) ] spids: [25048 25049 25065 -1] ) ] ) ] spids: [25018 25023 25071 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [25077] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [25007 25008 25083 -1] ) (case_arm pat_list: [{<inst_prefix>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:inst_prefix_dir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$arg'))} spids: [25090] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [25096] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [25086 25087 25102 -1] ) (case_arm pat_list: [{<objectlist>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-f>} {(DQ ($ Id.VSub_DollarName '$arg'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:save_arg) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$arg')} spids: [25123] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:moreargs) op: assign_op.Equal rhs: (word.Empty) spids: [25127] ) ] ) (command.ForEach iter_name: fil iter_words: [ { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<cat>} {(DQ ($ Id.VSub_DollarName '$save_arg'))} ) ) } ] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arg) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$fil')} spids: [25153] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<func_lalib_unsafe_p>} { (DQ ($ Id.VSub_DollarName '$arg' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: pic_object ) op: assign_op.Equal rhs: (word.Empty) spids: [25178] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: non_pic_object ) op: assign_op.Equal rhs: (word.Empty) spids: [25181] ) ] ) (C {<func_source>} {(DQ ($ Id.VSub_DollarName '$arg'))} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [ Id.Op_DPipe Id.Op_DPipe Id.Op_DAmp ] children: [ (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$pic_object' ) ) } ) (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$non_pic_object' ) ) } ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$pic_object' ) ) } {<Id.Lit_Equals '='>} {<none>} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$non_pic_object' ) ) } {<Id.Lit_Equals '='>} {<none>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_fatal_error>} { (DQ < 'cannot find name of object for ' > (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$arg') <'\''> ) } ) ] spids: [25197 25245] ) ] ) (C {<func_dirname>} {(DQ ($ Id.VSub_DollarName '$arg'))} {(DQ <'/'>)} {(DQ )} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:xdir) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$func_dirname_result' ) ) } spids: [25280] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$pic_object' ) ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<none>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: pic_object ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$xdir' ) ($ Id.VSub_DollarName '$pic_object') ) } spids: [25308] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$prev' ) ) } {<Id.Lit_Equals '='>} {<dlfiles>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [ Id.Op_DAmp ] children: [ (C { < test > } {(DQ ($ Id.VSub_DollarName '$build_libtool_libs'))} {<Id.Lit_Equals '='>} {<yes>} ) (C { < test > } {(DQ ($ Id.VSub_DollarName '$dlopen_support'))} {<Id.Lit_Equals '='>} {<yes>} ) ] ) terminator: < Id.Op_Semi _ > ) ] ) action: [ (C {<func_append>} {<dlfiles>} {(DQ <' '> ($ Id.VSub_DollarName '$pic_object'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: prev ) op: assign_op.Equal rhs: (word.Empty) spids: [ 25370 ] ) ] ) (command.ControlFlow token: < Id.ControlFlow_Continue continue > ) ] spids: [25332 25357] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: prev ) op: assign_op.Equal rhs: { < dlprefiles > } spids: [25383] ) ] ) ] ) ] spids: [25316 25329] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$prev' ) ) } {<Id.Lit_Equals '='>} {<dlprefiles>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<dlprefiles>} {(DQ <' '> ($ Id.VSub_DollarName '$pic_object'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: prev ) op: assign_op.Equal rhs: (word.Empty) spids: [25428] ) ] ) ] spids: [25398 25411] ) ] ) (C {<func_append>} {<libobjs>} { (DQ <' '> ($ Id.VSub_DollarName '$pic_object' ) ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: arg ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$pic_object' ) ) } spids: [25449] ) ] ) ] spids: [25287 25301] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$non_pic_object' ) ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<none>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: non_pic_object ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$xdir' ) ($ Id.VSub_DollarName '$non_pic_object') ) } spids: [25484] ) ] ) (C {<func_append>} {<non_pic_objects>} {(DQ <' '> ($ Id.VSub_DollarName '$non_pic_object'))} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [ Id.Op_DPipe ] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$pic_object'))} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$pic_object' ) ) } {<Id.Lit_Equals '='>} {<none>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: arg ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$non_pic_object' ) ) } spids: [25533] ) ] ) ] spids: [25506 25530] ) ] ) ] spids: [25463 25477] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: non_pic_object ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$pic_object' ) ) } spids: [25553] ) ] ) (C {<func_append>} {<non_pic_objects>} { (DQ <' '> ($ Id.VSub_DollarName '$non_pic_object' ) ) } ) ] ) ] spids: [25166 25175] ) ] else_action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C { ($ Id.VSub_DollarName '$opt_dry_run' ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_dirname>} {(DQ ($ Id.VSub_DollarName '$arg'))} {(DQ <'/'>)} {(DQ )} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: xdir ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$func_dirname_result' ) ) } spids: [25605] ) ] ) (C {<func_lo2o>} {(DQ ($ Id.VSub_DollarName '$arg'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: pic_object ) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$xdir' ) ($ Id.VSub_DollarName '$objdir') <'/'> ($ Id.VSub_DollarName '$func_lo2o_result') } spids: [25619] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: non_pic_object ) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$xdir' ) ($ Id.VSub_DollarName '$func_lo2o_result') } spids: [25626] ) ] ) (C {<func_append>} {<libobjs>} { (DQ <' '> ($ Id.VSub_DollarName '$pic_object' ) ) } ) (C {<func_append>} {<non_pic_objects>} { (DQ <' '> ($ Id.VSub_DollarName '$non_pic_object' ) ) } ) ] spids: [25579 25584] ) ] else_action: [ (C {<func_fatal_error>} { (DQ (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$arg') <'\' is not a valid libtool object'> ) } ) ] ) ] ) ] ) ) ] spids: [25109 25120] ) ] else_action: [ (C {<func_fatal_error>} { (DQ <'link input file '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$arg') <'\' does not exist'> ) } ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arg) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$save_arg')} spids: [25688] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [25692] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [25105 25106 25698 -1] ) (case_arm pat_list: [{<precious_regex>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:precious_files_regex) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$arg'))} spids: [25705] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [25711] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [25701 25702 25717 -1] ) (case_arm pat_list: [{<release>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:release) op: assign_op.Equal rhs: {(DQ <-> ($ Id.VSub_DollarName '$arg'))} spids: [25724] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [25731] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [25720 25721 25737 -1] ) (case_arm pat_list: [{<rpath>} {<xrpath>}] action: [ (command.Case to_match: {($ Id.VSub_DollarName '$arg')} arms: [ (case_arm pat_list: [ {<Id.Lit_LBracket '['> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\\\'> ) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } {<Id.Lit_LBracket '['> <A-Za-z> <Id.Lit_RBracket ']'> <Id.Lit_Colon ':'> <Id.Lit_LBracket '['> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } ] spids: [25759 25776 25778 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_fatal_error>} {(DQ <'only absolute run-paths are allowed'>)} ) ] spids: [25781 25782 25792 -1] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$prev'))} {<Id.Lit_Equals '='>} {<rpath>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$rpath') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$arg') <' '>) <Id.Lit_Star '*'> } ] spids: [25824 25831 25833 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<rpath>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) ] spids: [25836 25837 25848 -1] ) ] ) ] spids: [25798 25811] ) ] else_action: [ (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$xrpath') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$arg') <' '>) <Id.Lit_Star '*'> } ] spids: [25867 25874 25876 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<xrpath>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) ] spids: [25879 25880 25891 -1] ) ] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [25900] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [25740 25745 25906 -1] ) (case_arm pat_list: [{<shrext>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:shrext_cmds) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$arg'))} spids: [25913] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [25919] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [25909 25910 25925 -1] ) (case_arm pat_list: [{<weak>}] action: [ (C {<func_append>} {<weak_libs>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [25942] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [25928 25929 25948 -1] ) (case_arm pat_list: [{<xcclinker>}] action: [ (C {<func_append>} {<linker_flags>} {(DQ <' '> ($ Id.VSub_DollarName '$qarg'))} ) (C {<func_append>} {<compiler_flags>} {(DQ <' '> ($ Id.VSub_DollarName '$qarg'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [25975] ) ] ) (C {<func_append>} {<compile_command>} {(DQ <' '> ($ Id.VSub_DollarName '$qarg'))} ) (C {<func_append>} {<finalize_command>} {(DQ <' '> ($ Id.VSub_DollarName '$qarg'))} ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [25951 25952 26001 -1] ) (case_arm pat_list: [{<xcompiler>}] action: [ (C {<func_append>} {<compiler_flags>} {(DQ <' '> ($ Id.VSub_DollarName '$qarg'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [26018] ) ] ) (C {<func_append>} {<compile_command>} {(DQ <' '> ($ Id.VSub_DollarName '$qarg'))} ) (C {<func_append>} {<finalize_command>} {(DQ <' '> ($ Id.VSub_DollarName '$qarg'))} ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [26004 26005 26044 -1] ) (case_arm pat_list: [{<xlinker>}] action: [ (C {<func_append>} {<linker_flags>} {(DQ <' '> ($ Id.VSub_DollarName '$qarg'))} ) (C {<func_append>} {<compiler_flags>} { (DQ <' '> ($ Id.VSub_DollarName '$wl') ($ Id.VSub_DollarName '$qarg') ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [26072] ) ] ) (C {<func_append>} {<compile_command>} { (DQ <' '> ($ Id.VSub_DollarName '$wl') ($ Id.VSub_DollarName '$qarg') ) } ) (C {<func_append>} {<finalize_command>} { (DQ <' '> ($ Id.VSub_DollarName '$wl') ($ Id.VSub_DollarName '$qarg') ) } ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [26047 26048 26100 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<eval>} { (DQ ($ Id.VSub_DollarName '$prev') <'='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <arg> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [26119] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [26103 26104 26125 -1] ) ] ) ] spids: [24617 24628] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prevarg) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$arg'))} spids: [26138] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$arg')} arms: [ (case_arm pat_list: [{<-all-static>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$link_static_flag'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<compile_command>} {(DQ <' '> ($ Id.VSub_DollarName '$link_static_flag'))} ) (C {<func_append>} {<finalize_command>} {(DQ <' '> ($ Id.VSub_DollarName '$link_static_flag'))} ) ] spids: [26156 26167] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [26152 26153 26200 -1] ) (case_arm pat_list: [{<-allow-undefined>}] action: [ (C {<func_fatal_error>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-allow-undefined\' must not be used because it is the default'> ) } ) ] spids: [26204 26205 26220 -1] ) (case_arm pat_list: [{<-avoid-version>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:avoid_version) op: assign_op.Equal rhs: {<yes>} spids: [26228] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [26224 26225 26235 -1] ) (case_arm pat_list: [{<-bindir>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {<bindir>} spids: [26243] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [26239 26240 26250 -1] ) (case_arm pat_list: [{<-dlopen>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {<dlfiles>} spids: [26258] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [26254 26255 26265 -1] ) (case_arm pat_list: [{<-dlpreopen>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {<dlprefiles>} spids: [26273] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [26269 26270 26280 -1] ) (case_arm pat_list: [{<-export-dynamic>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:export_dynamic) op: assign_op.Equal rhs: {<yes>} spids: [26288] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [26284 26285 26295 -1] ) (case_arm pat_list: [{<-export-symbols>} {<-export-symbols-regex>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$export_symbols'))} ) (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$export_symbols_regex') ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_fatal_error>} { (DQ < 'more than one -exported-symbols argument is not allowed' > ) } ) ] spids: [26307 26328] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$arg'))} {<Id.Lit_Equals '='>} {(DQ <X-export-symbols>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {<expsyms>} spids: [26360] ) ] ) ] spids: [26341 26357] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {<expsyms_regex>} spids: [26367] ) ] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [26299 26304 26377 -1] ) (case_arm pat_list: [{<-framework>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {<framework>} spids: [26385] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [26381 26382 26392 -1] ) (case_arm pat_list: [{<-inst-prefix-dir>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {<inst_prefix>} spids: [26400] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [26396 26397 26407 -1] ) (case_arm pat_list: [ {<-L> <Id.Lit_LBracket '['> <A-Z> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <A-Z> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> <Id.Lit_Colon ':'> <Id.Lit_Star '*'> } ] action: [ (command.Case to_match: {($ Id.VSub_DollarName '$with_gcc') <'/'> ($ Id.VSub_DollarName '$host') } arms: [ (case_arm pat_list: [ {<'no/'> <Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-irix> <Id.Lit_Star '*'> } {<'/'> <Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-irix> <Id.Lit_Star '*'> } ] action: [ (C {<func_append>} {<compile_command>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) (C {<func_append>} {<finalize_command>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) ] spids: [26441 26456 26479 -1] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [26419 26429 26488 -1] ) (case_arm pat_list: [{<-L> <Id.Lit_Star '*'>}] action: [ (C {<func_stripname>} {(DQ <-L>)} {(SQ )} {(DQ ($ Id.VSub_DollarName '$arg'))}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$func_stripname_result'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_Pound '$#'))} {<-gt>} {<0>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_fatal_error>} { (DQ <'require no space between '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'-L\' and '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_Number '$1') <'\''> ) } ) ] spids: [26525 26538] ) ] else_action: [ (C {<func_fatal_error>} { (DQ <'need path for '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'-L\' option'> ) } ) ] ) ] spids: [26511 26522] ) ] ) (C {<func_resolve_sysroot>} {(DQ ($ Id.VSub_DollarName '$func_stripname_result'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dir) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_resolve_sysroot_result')} spids: [26578] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$dir')} arms: [ (case_arm pat_list: [ {<Id.Lit_LBracket '['> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\\\'> ) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } {<Id.Lit_LBracket '['> <A-Za-z> <Id.Lit_RBracket ']'> <Id.Lit_Colon ':'> <Id.Lit_LBracket '['> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } ] spids: [26593 26610 26612 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:absdir) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<cd>} {(DQ ($ Id.VSub_DollarName '$dir'))}) (C {<pwd>}) ] ) ) } spids: [26619] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$absdir'))}) (C {<func_fatal_error>} { (DQ <'cannot determine absolute directory name of '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$dir') <'\''> ) } ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$absdir'))} spids: [26657] ) ] ) ] spids: [26615 26616 26663 -1] ) ] ) (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$deplibs') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' -L'> ($ Id.VSub_DollarName '$dir') <' '>) <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$arg') <' '>) <Id.Lit_Star '*'> } ] spids: [26679 26696 26703 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.Case to_match: {($ Id.VSub_DollarName '$dir')} arms: [ (case_arm pat_list: [ {<Id.Lit_LBracket '['> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\\\'> ) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } {<Id.Lit_LBracket '['> <A-Za-z> <Id.Lit_RBracket ']'> <Id.Lit_Colon ':'> <Id.Lit_LBracket '['> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } {<Id.Lit_Equals '='> <Id.Lit_Star '*'>} ] action: [ (C {<func_append>} {<deplibs>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) ] spids: [26721 26743 26754 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<deplibs>} {(DQ <' -L'> ($ Id.VSub_DollarName '$dir'))} ) ] spids: [26757 26758 26769 -1] ) ] ) (C {<func_append>} {<lib_search_path>} {(DQ <' '> ($ Id.VSub_DollarName '$dir'))} ) ] spids: [26706 26707 26785 -1] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-cygwin> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-mingw> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-pw32> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-os2> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <-cegcc> <Id.Lit_Star '*'>} ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:testbindir) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$dir'))} ) (C {($ Id.VSub_DollarName '$SED')} {(SQ <'s*/lib$*/bin*'>)} ) ] negated: F ) ) } spids: [26836] ) ] ) (command.Case to_match: {<Id.Lit_Colon ':'> ($ Id.VSub_DollarName '$dllsearchpath') <Id.Lit_Colon ':'> } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <':'> ($ Id.VSub_DollarName '$dir') <':'>) <Id.Lit_Star '*'> } ] spids: [26865 26872 26874 -1] ) (case_arm pat_list: [{<Id.Lit_Colon ':'> <Id.Lit_Colon ':'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dllsearchpath) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$dir')} spids: [26881] ) ] ) ] spids: [26877 26879 26883 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<dllsearchpath>} {(DQ <':'> ($ Id.VSub_DollarName '$dir'))} ) ] spids: [26886 26887 26897 -1] ) ] ) (command.Case to_match: {<Id.Lit_Colon ':'> ($ Id.VSub_DollarName '$dllsearchpath') <Id.Lit_Colon ':'> } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <':'> ($ Id.VSub_DollarName '$testbindir') <':'>) <Id.Lit_Star '*'> } ] spids: [26912 26919 26921 -1] ) (case_arm pat_list: [{<Id.Lit_Colon ':'> <Id.Lit_Colon ':'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dllsearchpath) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$testbindir')} spids: [26928] ) ] ) ] spids: [26924 26926 26930 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<dllsearchpath>} {(DQ <':'> ($ Id.VSub_DollarName '$testbindir'))} ) ] spids: [26933 26934 26944 -1] ) ] ) ] spids: [26798 26833 26950 -1] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [26492 26494 26959 -1] ) (case_arm pat_list: [{<-l> <Id.Lit_Star '*'>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$arg'))} {<Id.Lit_Equals '='>} {(DQ <X-lc>)} ) (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$arg'))} {<Id.Lit_Equals '='>} {(DQ <X-lm>)} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-cygwin> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-mingw> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-pw32> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-beos> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-cegcc> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-haiku> <Id.Lit_Star '*'> } ] action: [ (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [27009 27052 27062 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-os2> <Id.Lit_Star '*'> } ] action: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$arg'))} {<Id.Lit_Equals '='>} {(DQ <X-lc>)} ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] ) ] spids: [27065 27070 27095 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-openbsd> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-freebsd> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-dragonfly> <Id.Lit_Star '*'> } ] action: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$arg'))} {<Id.Lit_Equals '='>} {(DQ <X-lc>)} ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] ) ] spids: [27098 27119 27144 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-rhapsody> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-darwin1.> <Id.Lit_LBracket '['> <012> <Id.Lit_RBracket ']'> } ] action: [ (C {<func_append>} {<deplibs>} {(DQ <' System.ltframework'>)}) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [27147 27162 27181 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-sco3.2v5> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-sco5v6> <Id.Lit_Star '*'> } ] action: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$arg'))} {<Id.Lit_Equals '='>} {(DQ <X-lc>)} ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] ) ] spids: [27184 27197 27222 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-sysv4.2uw2> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-sysv5> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-unixware> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-OpenUNIX> <Id.Lit_Star '*'> } ] action: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$arg'))} {<Id.Lit_Equals '='>} {(DQ <X-lc>)} ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] ) ] spids: [27225 27254 27279 -1] ) ] ) ] spids: [26968 26999] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$arg'))} {<Id.Lit_Equals '='>} {(DQ <X-lc_r>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-openbsd> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-freebsd> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-dragonfly> <Id.Lit_Star '*'> } ] action: [ (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [27311 27332 27342 -1] ) ] ) ] spids: [27285 27301] ) ] ) (C {<func_append>} {<deplibs>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))}) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [26963 26965 27364 -1] ) (case_arm pat_list: [{<-module>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:module) op: assign_op.Equal rhs: {<yes>} spids: [27372] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [27368 27369 27379 -1] ) (case_arm pat_list: [{<-model>} {<-arch>} {<-isysroot>} {<--sysroot>}] action: [ (C {<func_append>} {<compiler_flags>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) (C {<func_append>} {<compile_command>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) (C {<func_append>} {<finalize_command>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {<xcompiler>} spids: [27435] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [27395 27402 27442 -1] ) (case_arm pat_list: [ {<-mt>} {<-mthreads>} {<-kthread>} {<-Kthread>} {<-pthread>} {<-pthreads>} {<--thread-safe>} {<-threads>} {<-fopenmp>} {<-openmp>} {<-mp>} {<-xopenmp>} {<-omp>} {<-qsmp> <Id.Lit_Equals '='> <Id.Lit_Star '*'>} ] action: [ (C {<func_append>} {<compiler_flags>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) (C {<func_append>} {<compile_command>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) (C {<func_append>} {<finalize_command>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$new_inherited_linker_flags') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$arg') <' '>) <Id.Lit_Star '*'> } ] spids: [27521 27528 27530 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<new_inherited_linker_flags>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) ] spids: [27533 27535 27546 -1] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [27446 27478 27555 -1] ) (case_arm pat_list: [{<-multi_module>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:single_module) op: assign_op.Equal rhs: {(DQ (${ Id.VSub_Name wl) <-multi_module>)} spids: [27563] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [27559 27560 27575 -1] ) (case_arm pat_list: [{<-no-fast-install>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fast_install) op: assign_op.Equal rhs: {<no>} spids: [27583] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [27579 27580 27590 -1] ) (case_arm pat_list: [{<-no-install>}] action: [ (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-cygwin> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-mingw> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-pw32> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-os2> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-darwin> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <-cegcc> <Id.Lit_Star '*'>} ] action: [ (C {<func_warning>} { (DQ (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'-no-install\' is ignored for '> ($ Id.VSub_DollarName '$host') ) } ) (C {<func_warning>} { (DQ <'assuming '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'-no-fast-install\' instead'> ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fast_install) op: assign_op.Equal rhs: {<no>} spids: [27677] ) ] ) ] spids: [27605 27648 27681 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:no_install) op: assign_op.Equal rhs: {<yes>} spids: [27687] ) ] ) ] spids: [27684 27685 27690 -1] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [27594 27595 27699 -1] ) (case_arm pat_list: [{<-no-undefined>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:allow_undefined) op: assign_op.Equal rhs: {<no>} spids: [27707] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [27703 27704 27714 -1] ) (case_arm pat_list: [{<-objectlist>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {<objectlist>} spids: [27722] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [27718 27719 27729 -1] ) (case_arm pat_list: [{<-o>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {<output>} spids: [27736] ) ] ) ] spids: [27733 27734 27739 -1] ) (case_arm pat_list: [{<-precious-files-regex>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {<precious_regex>} spids: [27747] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [27743 27744 27754 -1] ) (case_arm pat_list: [{<-release>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {<release>} spids: [27762] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [27758 27759 27769 -1] ) (case_arm pat_list: [{<-rpath>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {<rpath>} spids: [27777] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [27773 27774 27784 -1] ) (case_arm pat_list: [{<-R>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {<xrpath>} spids: [27792] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [27788 27789 27799 -1] ) (case_arm pat_list: [{<-R> <Id.Lit_Star '*'>}] action: [ (C {<func_stripname>} {(SQ <-R>)} {(SQ )} {(DQ ($ Id.VSub_DollarName '$arg'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dir) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [27822] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$dir')} arms: [ (case_arm pat_list: [ {<Id.Lit_LBracket '['> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\\\'> ) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } {<Id.Lit_LBracket '['> <A-Za-z> <Id.Lit_RBracket ']'> <Id.Lit_Colon ':'> <Id.Lit_LBracket '['> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } ] spids: [27837 27854 27856 -1] ) (case_arm pat_list: [{<Id.Lit_Equals '='> <Id.Lit_Star '*'>}] action: [ (C {<func_stripname>} {(SQ <'='>)} {(SQ )} {(DQ ($ Id.VSub_DollarName '$dir'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dir) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$lt_sysroot') ($ Id.VSub_DollarName '$func_stripname_result') } spids: [27878] ) ] ) ] spids: [27859 27861 27883 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_fatal_error>} {(DQ <'only absolute run-paths are allowed'>)} ) ] spids: [27886 27887 27897 -1] ) ] ) (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$xrpath') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$dir') <' '>) <Id.Lit_Star '*'> } ] spids: [27913 27920 27922 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<xrpath>} {(DQ <' '> ($ Id.VSub_DollarName '$dir'))} ) ] spids: [27925 27926 27937 -1] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [27803 27805 27946 -1] ) (case_arm pat_list: [{<-shared>}] action: [(command.ControlFlow token:<Id.ControlFlow_Continue continue>)] spids: [27950 27951 27961 -1] ) (case_arm pat_list: [{<-shrext>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {<shrext>} spids: [27969] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [27965 27966 27976 -1] ) (case_arm pat_list: [{<-static>} {<-static-libtool-libs>}] action: [(command.ControlFlow token:<Id.ControlFlow_Continue continue>)] spids: [27980 27985 28011 -1] ) (case_arm pat_list: [{<-thread-safe>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:thread_safe) op: assign_op.Equal rhs: {<yes>} spids: [28019] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [28015 28016 28026 -1] ) (case_arm pat_list: [{<-version-info>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {<vinfo>} spids: [28034] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [28030 28031 28041 -1] ) (case_arm pat_list: [{<-version-number>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {<vinfo>} spids: [28049] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:vinfo_number) op: assign_op.Equal rhs: {<yes>} spids: [28053] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [28045 28046 28060 -1] ) (case_arm pat_list: [{<-weak>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {<weak>} spids: [28068] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [28064 28065 28075 -1] ) (case_arm pat_list: [{<-Wc> <Id.Lit_Comma ','> <Id.Lit_Star '*'>}] action: [ (C {<func_stripname>} {(SQ <'-Wc,'>)} {(SQ )} {(DQ ($ Id.VSub_DollarName '$arg'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:args) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [28099] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arg) op: assign_op.Equal rhs: (word.Empty) spids: [28103] ) ] ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:save_ifs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$IFS'))} spids: [28106] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(SQ <','>)} spids: [28112] ) ] ) (command.ForEach iter_name: flag iter_words: [{($ Id.VSub_DollarName '$args')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$save_ifs'))} spids: [28130] ) ] ) (C {<func_quote_for_eval>} {(DQ ($ Id.VSub_DollarName '$flag'))}) (C {<func_append>} {<arg>} { (DQ <' '> ($ Id.VSub_DollarName '$func_quote_for_eval_result')) } ) (C {<func_append>} {<compiler_flags>} { (DQ <' '> ($ Id.VSub_DollarName '$func_quote_for_eval_result')) } ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$save_ifs'))} spids: [28166] ) ] ) (C {<func_stripname>} {(SQ <' '>)} {(SQ )} {(DQ ($ Id.VSub_DollarName '$arg'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arg) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [28186] ) ] ) ] spids: [28079 28082 28190 -1] ) (case_arm pat_list: [{<-Wl> <Id.Lit_Comma ','> <Id.Lit_Star '*'>}] action: [ (C {<func_stripname>} {(SQ <'-Wl,'>)} {(SQ )} {(DQ ($ Id.VSub_DollarName '$arg'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:args) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [28214] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arg) op: assign_op.Equal rhs: (word.Empty) spids: [28218] ) ] ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:save_ifs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$IFS'))} spids: [28221] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(SQ <','>)} spids: [28227] ) ] ) (command.ForEach iter_name: flag iter_words: [{($ Id.VSub_DollarName '$args')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$save_ifs'))} spids: [28245] ) ] ) (C {<func_quote_for_eval>} {(DQ ($ Id.VSub_DollarName '$flag'))}) (C {<func_append>} {<arg>} { (DQ <' '> ($ Id.VSub_DollarName '$wl') ($ Id.VSub_DollarName '$func_quote_for_eval_result') ) } ) (C {<func_append>} {<compiler_flags>} { (DQ <' '> ($ Id.VSub_DollarName '$wl') ($ Id.VSub_DollarName '$func_quote_for_eval_result') ) } ) (C {<func_append>} {<linker_flags>} { (DQ <' '> ($ Id.VSub_DollarName '$func_quote_for_eval_result')) } ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$save_ifs'))} spids: [28293] ) ] ) (C {<func_stripname>} {(SQ <' '>)} {(SQ )} {(DQ ($ Id.VSub_DollarName '$arg'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arg) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [28313] ) ] ) ] spids: [28194 28197 28317 -1] ) (case_arm pat_list: [{<-Xcompiler>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {<xcompiler>} spids: [28325] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [28321 28322 28332 -1] ) (case_arm pat_list: [{<-Xlinker>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {<xlinker>} spids: [28340] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [28336 28337 28347 -1] ) (case_arm pat_list: [{<-XCClinker>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {<xcclinker>} spids: [28355] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [28351 28352 28362 -1] ) (case_arm pat_list: [{<-msg_> <Id.Lit_Star '*'>}] action: [ (C {<func_quote_for_eval>} {(DQ ($ Id.VSub_DollarName '$arg'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arg) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_quote_for_eval_result'))} spids: [28382] ) ] ) ] spids: [28370 28372 28388 -1] ) (case_arm pat_list: [ {<-64>} {<-mips> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'>} {<-r> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } {<-xarch> <Id.Lit_Equals '='> <Id.Lit_Star '*'>} {<-xtarget> <Id.Lit_Equals '='> <Id.Lit_Star '*'>} {<Id.Lit_Other '+'> <DA> <Id.Lit_Star '*'>} {<Id.Lit_Other '+'> <DD> <Id.Lit_Star '*'>} {<-q> <Id.Lit_Star '*'>} {<-m> <Id.Lit_Star '*'>} {<-t> <Id.Lit_LBracket '['> <45> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'>} {<-txscale> <Id.Lit_Star '*'>} {<-p>} {<-pg>} {<--coverage>} {<-fprofile-> <Id.Lit_Star '*'>} {<-F> <Id.Lit_Star '*'>} {<Id.Lit_At '@'> <Id.Lit_Star '*'>} {<-tp> <Id.Lit_Equals '='> <Id.Lit_Star '*'>} {<--sysroot> <Id.Lit_Equals '='> <Id.Lit_Star '*'>} {<-O> <Id.Lit_Star '*'>} {<-flto> <Id.Lit_Star '*'>} {<-fwhopr> <Id.Lit_Star '*'>} {<-fuse-linker-plugin>} ] action: [ (C {<func_quote_for_eval>} {(DQ ($ Id.VSub_DollarName '$arg'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arg) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_quote_for_eval_result'))} spids: [28540] ) ] ) (C {<func_append>} {<compile_command>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) (C {<func_append>} {<finalize_command>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) (C {<func_append>} {<compiler_flags>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [28444 28530 28579 -1] ) (case_arm pat_list: [{<-> <Id.Lit_Star '*'>} {<Id.Lit_Other '+'> <Id.Lit_Star '*'>}] action: [ (C {<func_quote_for_eval>} {(DQ ($ Id.VSub_DollarName '$arg'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arg) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_quote_for_eval_result'))} spids: [28604] ) ] ) ] spids: [28587 28594 28610 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'> <.> ($ Id.VSub_DollarName '$objext')}] action: [ (C {<func_append>} {<objs>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))}) ] spids: [28614 28617 28634 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'> <.lo>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<func_lalib_unsafe_p>} {(DQ ($ Id.VSub_DollarName '$arg'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pic_object) op: assign_op.Equal rhs: (word.Empty) spids: [28664] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:non_pic_object) op: assign_op.Equal rhs: (word.Empty) spids: [28667] ) ] ) (C {<func_source>} {(DQ ($ Id.VSub_DollarName '$arg'))}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe Id.Op_DPipe Id.Op_DAmp] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$pic_object'))} ) (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$non_pic_object') ) } ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$pic_object'))} {<Id.Lit_Equals '='>} {<none>} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$non_pic_object') ) } {<Id.Lit_Equals '='>} {<none>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_fatal_error>} { (DQ <'cannot find name of object for '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$arg') <'\''> ) } ) ] spids: [28683 28731] ) ] ) (C {<func_dirname>} {(DQ ($ Id.VSub_DollarName '$arg'))} {(DQ <'/'>)} {(DQ )}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:xdir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_dirname_result'))} spids: [28766] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$pic_object'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<none>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pic_object) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$xdir') ($ Id.VSub_DollarName '$pic_object') ) } spids: [28794] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$prev'))} {<Id.Lit_Equals '='>} {<dlfiles>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$build_libtool_libs' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$dlopen_support' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<dlfiles>} { (DQ <' '> ($ Id.VSub_DollarName '$pic_object') ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [28856] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [28818 28843] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: {<dlprefiles>} spids: [28869] ) ] ) ] ) ] spids: [28802 28815] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$prev'))} {<Id.Lit_Equals '='>} {<dlprefiles>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<dlprefiles>} { (DQ <' '> ($ Id.VSub_DollarName '$pic_object')) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [28914] ) ] ) ] spids: [28884 28897] ) ] ) (C {<func_append>} {<libobjs>} {(DQ <' '> ($ Id.VSub_DollarName '$pic_object'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arg) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$pic_object'))} spids: [28935] ) ] ) ] spids: [28773 28787] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$non_pic_object'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<none>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:non_pic_object) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$xdir') ($ Id.VSub_DollarName '$non_pic_object') ) } spids: [28970] ) ] ) (C {<func_append>} {<non_pic_objects>} {(DQ <' '> ($ Id.VSub_DollarName '$non_pic_object'))} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$pic_object' ) ) } ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$pic_object' ) ) } {<Id.Lit_Equals '='>} {<none>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arg) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$non_pic_object' ) ) } spids: [29019] ) ] ) ] spids: [28992 29016] ) ] ) ] spids: [28949 28963] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:non_pic_object) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$pic_object'))} spids: [29039] ) ] ) (C {<func_append>} {<non_pic_objects>} {(DQ <' '> ($ Id.VSub_DollarName '$non_pic_object'))} ) ] ) ] spids: [28652 28661] ) ] else_action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {($ Id.VSub_DollarName '$opt_dry_run')}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_dirname>} {(DQ ($ Id.VSub_DollarName '$arg'))} {(DQ <'/'>)} {(DQ )} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:xdir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_dirname_result'))} spids: [29091] ) ] ) (C {<func_lo2o>} {(DQ ($ Id.VSub_DollarName '$arg'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pic_object) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$xdir') ($ Id.VSub_DollarName '$objdir') <'/'> ($ Id.VSub_DollarName '$func_lo2o_result') } spids: [29105] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:non_pic_object) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$xdir') ($ Id.VSub_DollarName '$func_lo2o_result') } spids: [29112] ) ] ) (C {<func_append>} {<libobjs>} {(DQ <' '> ($ Id.VSub_DollarName '$pic_object'))} ) (C {<func_append>} {<non_pic_objects>} {(DQ <' '> ($ Id.VSub_DollarName '$non_pic_object'))} ) ] spids: [29065 29070] ) ] else_action: [ (C {<func_fatal_error>} { (DQ (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$arg') <'\' is not a valid libtool object'> ) } ) ] ) ] ) ] spids: [28638 28640 29155 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'> <.> ($ Id.VSub_DollarName '$libext')}] action: [ (C {<func_append>} {<deplibs>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))}) (C {<func_append>} {<old_deplibs>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))}) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [29159 29162 29192 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'> <.la>}] action: [ (C {<func_resolve_sysroot>} {(DQ ($ Id.VSub_DollarName '$arg'))}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$prev'))} {<Id.Lit_Equals '='>} {<dlfiles>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<dlfiles>} { (DQ <' '> ($ Id.VSub_DollarName '$func_resolve_sysroot_result') ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [29243] ) ] ) ] spids: [29213 29226] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$prev'))} {<Id.Lit_Equals '='>} {<dlprefiles>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<dlprefiles>} { (DQ <' '> ($ Id.VSub_DollarName '$func_resolve_sysroot_result') ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:prev) op: assign_op.Equal rhs: (word.Empty) spids: [29276] ) ] ) ] spids: [29246 29259] ) ] else_action: [ (C {<func_append>} {<deplibs>} {(DQ <' '> ($ Id.VSub_DollarName '$func_resolve_sysroot_result'))} ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [29196 29198 29298 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_quote_for_eval>} {(DQ ($ Id.VSub_DollarName '$arg'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arg) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_quote_for_eval_result'))} spids: [29325] ) ] ) ] spids: [29306 29307 29331 -1] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$arg'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<compile_command>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) (C {<func_append>} {<finalize_command>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))} ) ] spids: [29345 29356] ) ] ) ] ) ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$prev'))}) (C {<func_fatal_help>} { (DQ <'the '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$prevarg') <'\' option requires an argument'> ) } ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$export_dynamic'))} {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$export_dynamic_flag_spec'))} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<eval>} {<Id.Lit_VarLike 'arg='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$export_dynamic_flag_spec') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) } ) (C {<func_append>} {<compile_command>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))}) (C {<func_append>} {<finalize_command>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))}) ] spids: [29412 29435] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:oldlibs) op: assign_op.Equal rhs: (word.Empty) spids: [29470] ) ] ) (C {<func_basename>} {(DQ ($ Id.VSub_DollarName '$output'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:outputname) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_basename_result'))} spids: [29484] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libobjs_save) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$libobjs'))} spids: [29490] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$shlibpath_var'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<eval>} {<Id.Lit_VarLike 'shlib_search_path='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <ECHO> } {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <Id.Lit_LBrace '{'> ($ Id.VSub_DollarName '$shlibpath_var') <Id.Lit_RBrace '}'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) } {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\|'>)} {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <SED>} {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\''>) <'s/'> <Id.Lit_Colon ':'> <'/'>} {<'/g'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\''>) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) } ) ] spids: [29497 29508] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:shlib_search_path) op: assign_op.Equal rhs: (word.Empty) spids: [29547] ) ] ) ] ) (C {<eval>} {<Id.Lit_VarLike 'sys_lib_search_path='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ($ Id.VSub_DollarName '$sys_lib_search_path_spec') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) (C {<eval>} {<Id.Lit_VarLike 'sys_lib_dlsearch_path='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ($ Id.VSub_DollarName '$sys_lib_dlsearch_path_spec') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) (C {<func_dirname>} {(DQ ($ Id.VSub_DollarName '$output'))} {(DQ <'/'>)} {(DQ )}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:output_objdir) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$func_dirname_result') ($ Id.VSub_DollarName '$objdir') ) } spids: [29584] ) ] ) (C {<func_to_tool_file>} {(DQ ($ Id.VSub_DollarName '$output_objdir') <'/'>)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tool_output_objdir) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_to_tool_file_result')} spids: [29599] ) ] ) (C {<func_mkdir_p>} {(DQ ($ Id.VSub_DollarName '$output_objdir'))}) (command.Case to_match: {($ Id.VSub_DollarName '$output')} arms: [ (case_arm pat_list: [{(DQ )}] action: [(C {<func_fatal_help>} {(DQ <'you must specify an output file'>)})] spids: [29626 29628 29638 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'> <.> ($ Id.VSub_DollarName '$libext')}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:linkmode) op: assign_op.Equal rhs: {<oldlib>} spids: [29646] ) ] ) ] spids: [29641 29644 29649 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'> <.lo>} {<Id.Lit_Star '*'> <.> ($ Id.VSub_DollarName '$objext')} ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:linkmode) op: assign_op.Equal rhs: {<obj>} spids: [29662] ) ] ) ] spids: [29652 29660 29665 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'> <.la>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:linkmode) op: assign_op.Equal rhs: {<lib>} spids: [29672] ) ] ) ] spids: [29668 29670 29675 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:linkmode) op: assign_op.Equal rhs: {<prog>} spids: [29681] ) ] ) ] spids: [29678 29679 29684 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:specialdeplibs) op: assign_op.Equal rhs: (word.Empty) spids: [29694] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libs) op: assign_op.Equal rhs: (word.Empty) spids: [29698] ) ] ) (command.ForEach iter_name: deplib iter_words: [{($ Id.VSub_DollarName '$deplibs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {($ Id.VSub_DollarName '$opt_preserve_dup_deps')}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$libs') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$deplib') <' '>) <Id.Lit_Star '*'> } ] action: [ (C {<func_append>} {<specialdeplibs>} {(DQ <' '> ($ Id.VSub_DollarName '$deplib'))} ) ] spids: [29740 29747 29758 -1] ) ] ) ] spids: [29721 29727] ) ] ) (C {<func_append>} {<libs>} {(DQ <' '> ($ Id.VSub_DollarName '$deplib'))}) ] ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.Lit_Equals '='>} {<lib>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$predeps') <' '> ($ Id.VSub_DollarName '$libs') <' '> ($ Id.VSub_DollarName '$compiler_lib_search_path') <' '> ($ Id.VSub_DollarName '$postdeps') ) } spids: [29797] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pre_post_deps) op: assign_op.Equal rhs: (word.Empty) spids: [29822] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C { ($ Id.VSub_DollarName '$opt_duplicate_compiler_generated_deps' ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ForEach iter_name: pre_post_dep iter_words: [ {($ Id.VSub_DollarName '$predeps')} {($ Id.VSub_DollarName '$postdeps')} ] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$pre_post_deps') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$pre_post_dep') <' '>) <Id.Lit_Star '*'> } ] action: [ (C {<func_append>} {<specialdeplibs>} {(DQ <' '> ($ Id.VSub_DollarName '$pre_post_deps'))} ) ] spids: [29857 29864 29875 -1] ) ] ) (C {<func_append>} {<pre_post_deps>} {(DQ <' '> ($ Id.VSub_DollarName '$pre_post_dep'))} ) ] ) ) ] spids: [29825 29830] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pre_post_deps) op: assign_op.Equal rhs: (word.Empty) spids: [29897] ) ] ) ] spids: [29781 29794] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: (word.Empty) spids: [29904] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:newdependency_libs) op: assign_op.Equal rhs: (word.Empty) spids: [29907] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:newlib_search_path) op: assign_op.Equal rhs: (word.Empty) spids: [29910] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:need_relink) op: assign_op.Equal rhs: {<no>} spids: [29913] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:notinst_deplibs) op: assign_op.Equal rhs: (word.Empty) spids: [29920] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:notinst_path) op: assign_op.Equal rhs: (word.Empty) spids: [29926] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$linkmode')} arms: [ (case_arm pat_list: [{<lib>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:passes) op: assign_op.Equal rhs: {(DQ <'conv dlpreopen link'>)} spids: [29944] ) ] ) (command.ForEach iter_name: file iter_words: [ {($ Id.VSub_DollarName '$dlfiles')} {($ Id.VSub_DollarName '$dlprefiles')} ] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$file')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <.la>}] spids: [29971 29973 29975 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_fatal_help>} { (DQ <'libraries can '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'-dlopen\' only libtool libraries: '> ($ Id.VSub_DollarName '$file') ) } ) ] spids: [29978 29979 29992 -1] ) ] ) ] ) ) ] spids: [29940 29941 30001 -1] ) (case_arm pat_list: [{<prog>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_deplibs) op: assign_op.Equal rhs: (word.Empty) spids: [30008] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_deplibs) op: assign_op.Equal rhs: (word.Empty) spids: [30011] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:alldeplibs) op: assign_op.Equal rhs: {<no>} spids: [30014] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:newdlfiles) op: assign_op.Equal rhs: (word.Empty) spids: [30018] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:newdlprefiles) op: assign_op.Equal rhs: (word.Empty) spids: [30021] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:passes) op: assign_op.Equal rhs: {(DQ <'conv scan dlopen dlpreopen link'>)} spids: [30024] ) ] ) ] spids: [30004 30005 30030 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:passes) op: assign_op.Equal rhs: {(DQ <conv>)} spids: [30036] ) ] ) ] spids: [30033 30034 30042 -1] ) ] ) (command.ForEach iter_name: pass iter_words: [{($ Id.VSub_DollarName '$passes')}] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$linkmode') <','> ($ Id.VSub_DollarName '$pass') ) } {<Id.Lit_Equals '='>} {(DQ <'lib,link'>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tmp_deplibs) op: assign_op.Equal rhs: (word.Empty) spids: [30097] ) ] ) (command.ForEach iter_name: deplib iter_words: [{($ Id.VSub_DollarName '$deplibs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tmp_deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$tmp_deplibs') ) } spids: [30112] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$tmp_deplibs'))} spids: [30123] ) ] ) ] spids: [30069 30086] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$linkmode') <','> ($ Id.VSub_DollarName '$pass') ) } {<Id.Lit_Equals '='>} {(DQ <'lib,link'>)} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$linkmode') <','> ($ Id.VSub_DollarName '$pass') ) } {<Id.Lit_Equals '='>} {(DQ <'prog,scan'>)} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$deplibs'))} spids: [30170] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: (word.Empty) spids: [30176] ) ] ) ] spids: [30133 30167] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.Lit_Equals '='>} {<prog>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {($ Id.VSub_DollarName '$pass')} arms: [ (case_arm pat_list: [{<dlopen>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$dlfiles'))} spids: [30208] ) ] ) ] spids: [30205 30206 30213 -1] ) (case_arm pat_list: [{<dlpreopen>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$dlprefiles'))} spids: [30219] ) ] ) ] spids: [30216 30217 30224 -1] ) (case_arm pat_list: [{<link>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$deplibs') <' %DEPLIBS%'>)} spids: [30231] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$link_all_deplibs'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<Xno>} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$libs') <' '> ($ Id.VSub_DollarName '$dependency_libs') ) } spids: [30252] ) ] ) ] ) ] spids: [30227 30228 30260 -1] ) ] ) ] spids: [30182 30195] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$linkmode') <','> ($ Id.VSub_DollarName '$pass') ) } {<Id.Lit_Equals '='>} {(DQ <'lib,dlpreopen'>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ForEach iter_name: lib iter_words: [{($ Id.VSub_DollarName '$dlprefiles')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dependency_libs) op: assign_op.Equal rhs: (word.Empty) spids: [30309] ) ] ) (C {<func_resolve_sysroot>} {(DQ ($ Id.VSub_DollarName '$lib'))}) (command.Case to_match: {($ Id.VSub_DollarName '$lib')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <.la>}] action: [ (C {<func_source>} { (DQ ($ Id.VSub_DollarName '$func_resolve_sysroot_result' ) ) } ) ] spids: [30326 30328 30336 -1] ) ] ) (command.ForEach iter_name: deplib iter_words: [{($ Id.VSub_DollarName '$dependency_libs')}] do_arg_iter: F body: (command.DoGroup children: [ (C {<func_basename>} {(DQ ($ Id.VSub_DollarName '$deplib'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplib_base) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_basename_result')} spids: [30370] ) ] ) (command.Case to_match: {(DQ <' '> ($ Id.VSub_DollarName '$weak_libs') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$deplib_base') <' '> ) <Id.Lit_Star '*'> } ] spids: [30385 30392 30394 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<deplibs>} {(DQ <' '> ($ Id.VSub_DollarName '$deplib'))} ) ] spids: [30397 30398 30409 -1] ) ] ) ] ) ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$dlprefiles'))} spids: [30421] ) ] ) ] spids: [30269 30286] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$pass'))} {<Id.Lit_Equals '='>} {<dlopen>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:save_deplibs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$deplibs'))} spids: [30450] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: (word.Empty) spids: [30456] ) ] ) ] spids: [30430 30443] ) ] ) (command.ForEach iter_name: deplib iter_words: [{($ Id.VSub_DollarName '$libs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lib) op: assign_op.Equal rhs: (word.Empty) spids: [30475] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:found) op: assign_op.Equal rhs: {<no>} spids: [30478] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$deplib')} arms: [ (case_arm pat_list: [ {<-mt>} {<-mthreads>} {<-kthread>} {<-Kthread>} {<-pthread>} {<-pthreads>} {<--thread-safe>} {<-threads>} {<-fopenmp>} {<-openmp>} {<-mp>} {<-xopenmp>} {<-omp>} {<-qsmp> <Id.Lit_Equals '='> <Id.Lit_Star '*'>} ] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$linkmode') <','> ($ Id.VSub_DollarName '$pass') ) } {<Id.Lit_Equals '='>} {(DQ <'prog,link'>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$compile_deplibs') ) } spids: [30544] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$finalize_deplibs') ) } spids: [30552] ) ] ) ] spids: [30524 30541] ) ] else_action: [ (C {<func_append>} {<compiler_flags>} {(DQ <' '> ($ Id.VSub_DollarName '$deplib'))} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.Lit_Equals '='>} {<lib>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: { (DQ ($ Id.VSub_DollarName '$new_inherited_linker_flags' ) <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$deplib') <' '> ) <Id.Lit_Star '*'> } ] spids: [30600 30607 30609 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<new_inherited_linker_flags>} {(DQ <' '> ($ Id.VSub_DollarName '$deplib'))} ) ] spids: [30612 30614 30625 -1] ) ] ) ] spids: [30573 30587] ) ] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [30489 30521 30640 -1] ) (case_arm pat_list: [{<-l> <Id.Lit_Star '*'>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<lib>} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<prog>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_warning>} { (DQ (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'-l\' is ignored for archives/objects'> ) } ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [30648 30675] ) ] ) (C {<func_stripname>} {(SQ <-l>)} {(SQ )} {(DQ ($ Id.VSub_DollarName '$deplib'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:name) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [30706] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.Lit_Equals '='>} {<lib>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:searchdirs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$newlib_search_path') <' '> ($ Id.VSub_DollarName '$lib_search_path') <' '> ($ Id.VSub_DollarName '$compiler_lib_search_dirs') <' '> ($ Id.VSub_DollarName '$sys_lib_search_path') <' '> ($ Id.VSub_DollarName '$shlib_search_path') ) } spids: [30726] ) ] ) ] spids: [30710 30723] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:searchdirs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$newlib_search_path') <' '> ($ Id.VSub_DollarName '$lib_search_path') <' '> ($ Id.VSub_DollarName '$sys_lib_search_path') <' '> ($ Id.VSub_DollarName '$shlib_search_path') ) } spids: [30743] ) ] ) ] ) (command.ForEach iter_name: searchdir iter_words: [{($ Id.VSub_DollarName '$searchdirs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ForEach iter_name: search_ext iter_words: [ {<.la>} {($ Id.VSub_DollarName '$std_shrext')} {<.so>} {<.a>} ] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lib) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$searchdir') <'/lib'> (${ Id.VSub_Name name) (${ Id.VSub_Name search_ext) ) } spids: [30792] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-f>} { (DQ ($ Id.VSub_DollarName '$lib' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$search_ext' ) ) } {<Id.Lit_Equals '='>} {(DQ <.la>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: found ) op: assign_op.Equal rhs: {<yes>} spids: [30837] ) ] ) ] spids: [30819 30834] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: found ) op: assign_op.Equal rhs: {<no>} spids: [30844] ) ] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Break break> arg_word: {<2>} ) ] spids: [30805 30816] ) ] ) ] ) ) ] ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$found'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$linkmode') <','> ($ Id.VSub_DollarName '$pass') ) } {<Id.Lit_Equals '='>} {(DQ <'prog,link'>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: compile_deplibs ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$compile_deplibs') ) } spids: [30906] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: finalize_deplibs ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$finalize_deplibs') ) } spids: [30914] ) ] ) ] spids: [30886 30903] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [30925] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.Lit_Equals '='>} {<lib>} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: newdependency_libs ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$newdependency_libs') ) } spids: [30945] ) ] ) ] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [30865 30879] ) ] else_action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ <X> ($ Id.VSub_DollarName '$allow_libtool_libs_with_static_runtimes' ) ) } {<Id.Lit_Equals '='>} {(DQ <Xyes>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: { (DQ <' '> ($ Id.VSub_DollarName '$predeps') <' '> ($ Id.VSub_DollarName '$postdeps') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$deplib') <' '> ) <Id.Lit_Star '*'> } ] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<func_lalib_p>} { (DQ ($ Id.VSub_DollarName '$lib' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: library_names ) op: assign_op.Equal rhs: (word.Empty) spids: [31028] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: old_library ) op: assign_op.Equal rhs: (word.Empty) spids: [31031] ) ] ) (C {<func_source>} {(DQ ($ Id.VSub_DollarName '$lib'))} ) (command.ForEach iter_name: l iter_words: [ { ($ Id.VSub_DollarName '$old_library' ) } { ($ Id.VSub_DollarName '$library_names' ) } ] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: ll ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$l' ) ) } spids: [31055] ) ] ) ] ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ <X> ($ Id.VSub_DollarName '$ll' ) ) } {<Id.Lit_Equals '='>} {(DQ <X> ($ Id.VSub_DollarName '$old_library'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: found ) op: assign_op.Equal rhs: {<no>} spids: [31088] ) ] ) (C {<func_dirname>} { (DQ ($ Id.VSub_DollarName '$lib' ) ) } {(DQ )} {(DQ <.>)} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: ladir ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$func_dirname_result' ) ) } spids: [31106] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: lib ) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$ladir' ) <'/'> ($ Id.VSub_DollarName '$old_library') } spids: [31112] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$linkmode' ) <','> ($ Id.VSub_DollarName '$pass') ) } {<Id.Lit_Equals '='>} {(DQ <'prog,link'>)} ) terminator: <Id.Op_Semi _ > ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: compile_deplibs ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib' ) <' '> ($ Id.VSub_DollarName '$compile_deplibs') ) } spids: [31138] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: finalize_deplibs ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib' ) <' '> ($ Id.VSub_DollarName '$finalize_deplibs') ) } spids: [31146] ) ] ) ] spids: [31118 31135] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: deplibs ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib' ) <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [31157] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$linkmode' ) ) } {<Id.Lit_Equals '='>} {<lib>} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: newdependency_libs ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib' ) <' '> ($ Id.VSub_DollarName '$newdependency_libs') ) } spids: [31177] ) ] ) ] ) ] ) (command.ControlFlow token: < Id.ControlFlow_Continue continue > ) ] spids: [31064 31082] ) ] ) ] spids: [31016 31025] ) ] ) ] spids: [31006 31013 31197 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] spids: [31200 31201 31203 -1] ) ] ) ] spids: [30973 30990] ) ] ) ] ) ] spids: [30643 30645 31215 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'> <.ltframework>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$linkmode') <','> ($ Id.VSub_DollarName '$pass') ) } {<Id.Lit_Equals '='>} {(DQ <'prog,link'>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$compile_deplibs') ) } spids: [31246] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$finalize_deplibs') ) } spids: [31254] ) ] ) ] spids: [31226 31243] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [31265] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.Lit_Equals '='>} {<lib>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: { (DQ ($ Id.VSub_DollarName '$new_inherited_linker_flags' ) <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$deplib') <' '> ) <Id.Lit_Star '*'> } ] spids: [31300 31307 31309 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<new_inherited_linker_flags>} {(DQ <' '> ($ Id.VSub_DollarName '$deplib'))} ) ] spids: [31312 31314 31325 -1] ) ] ) ] spids: [31273 31287] ) ] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [31221 31223 31340 -1] ) (case_arm pat_list: [{<-L> <Id.Lit_Star '*'>}] action: [ (command.Case to_match: {($ Id.VSub_DollarName '$linkmode')} arms: [ (case_arm pat_list: [{<lib>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [31359] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$pass'))} {<Id.Lit_Equals '='>} {<conv>} ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:newdependency_libs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$newdependency_libs') ) } spids: [31382] ) ] ) (C {<func_stripname>} {(SQ <-L>)} {(SQ )} {(DQ ($ Id.VSub_DollarName '$deplib'))} ) (C {<func_resolve_sysroot>} {(DQ ($ Id.VSub_DollarName '$func_stripname_result'))} ) (C {<func_append>} {<newlib_search_path>} { (DQ <' '> ($ Id.VSub_DollarName '$func_resolve_sysroot_result' ) ) } ) ] spids: [31355 31356 31421 -1] ) (case_arm pat_list: [{<prog>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$pass'))} {<Id.Lit_Equals '='>} {<conv>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [31444] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [31428 31441] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$pass'))} {<Id.Lit_Equals '='>} {<scan>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [31474] ) ] ) ] spids: [31458 31471] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$compile_deplibs') ) } spids: [31485] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$finalize_deplibs') ) } spids: [31493] ) ] ) ] ) (C {<func_stripname>} {(SQ <-L>)} {(SQ )} {(DQ ($ Id.VSub_DollarName '$deplib'))} ) (C {<func_resolve_sysroot>} {(DQ ($ Id.VSub_DollarName '$func_stripname_result'))} ) (C {<func_append>} {<newlib_search_path>} { (DQ <' '> ($ Id.VSub_DollarName '$func_resolve_sysroot_result' ) ) } ) ] spids: [31424 31425 31535 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_warning>} { (DQ (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'-L\' is ignored for archives/objects'> ) } ) ] spids: [31538 31539 31550 -1] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [31343 31345 31562 -1] ) (case_arm pat_list: [{<-R> <Id.Lit_Star '*'>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$pass'))} {<Id.Lit_Equals '='>} {<link>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_stripname>} {(SQ <-R>)} {(SQ )} {(DQ ($ Id.VSub_DollarName '$deplib'))} ) (C {<func_resolve_sysroot>} {(DQ ($ Id.VSub_DollarName '$func_stripname_result'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dir) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$func_resolve_sysroot_result' ) } spids: [31610] ) ] ) (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$xrpath') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$dir') <' '>) <Id.Lit_Star '*'> } ] spids: [31628 31635 31637 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<xrpath>} {(DQ <' '> ($ Id.VSub_DollarName '$dir'))} ) ] spids: [31640 31641 31652 -1] ) ] ) ] spids: [31573 31586] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [31661] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [31568 31570 31672 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'> <.la>}] action: [ (C {<func_resolve_sysroot>} {(DQ ($ Id.VSub_DollarName '$deplib'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lib) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_resolve_sysroot_result')} spids: [31687] ) ] ) ] spids: [31675 31677 31691 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'> <.> ($ Id.VSub_DollarName '$libext')}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$pass'))} {<Id.Lit_Equals '='>} {<conv>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [31716] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [31700 31713] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$linkmode')} arms: [ (case_arm pat_list: [{<lib>}] action: [ (command.Case to_match: { (DQ <' '> ($ Id.VSub_DollarName '$dlpreconveniencelibs') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$deplib') <' '>) <Id.Lit_Star '*'> } ] spids: [31760 31767 31769 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:valid_a_lib) op: assign_op.Equal rhs: {<no>} spids: [31776] ) ] ) (command.Case to_match: { ($ Id.VSub_DollarName '$deplibs_check_method' ) } arms: [ (case_arm pat_list: [ {<match_pattern> <Id.Lit_Star '*'>} ] action: [ (command.Sentence child: (C {<set>} {<dummy>} { ($ Id.VSub_DollarName '$deplibs_check_method' ) } ) terminator: <Id.Op_Semi _> ) (C {<shift>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: match_pattern_regex ) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<expr>} { (DQ ($ Id.VSub_DollarName '$deplibs_check_method' ) ) } {<Id.Lit_Colon ':'>} { (DQ ($ Id.VSub_Number '$1' ) <' '> <Id.Lit_BadBackslash '\\'> <'(.*'> <Id.Lit_BadBackslash '\\'> <')'> ) } ) ) } spids: [31802] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.Pipeline children: [ (command.Simple words: [ {<eval>} { (DQ (word_part.EscapedLiteral token: < Id.Lit_EscapedChar '\\$' > ) <'ECHO '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ($ Id.VSub_DollarName '$deplib') (word_part.EscapedLiteral token: < Id.Lit_EscapedChar '\\"' > ) ) } ] redirects: [ (redir op: < Id.Redir_Great '2>' > loc: (redir_loc.Fd fd: 2 ) arg: { < '/dev/null' > } ) ] do_fork: T ) (C { ($ Id.VSub_DollarName '$SED' ) } {<10q>} ) (command.Simple words: [ { ($ Id.VSub_DollarName '$EGREP' ) } { (DQ ($ Id.VSub_DollarName '$match_pattern_regex' ) ) } ] redirects: [ (redir op: < Id.Redir_Great '>' > loc: (redir_loc.Fd fd: 1 ) arg: { < '/dev/null' > } ) ] do_fork: T ) ] negated: F ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: valid_a_lib ) op: assign_op.Equal rhs: {<yes>} spids: [31868] ) ] ) ] spids: [31829 31865] ) ] ) ] spids: [31787 31789 31875 -1] ) (case_arm pat_list: [{<pass_all>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: valid_a_lib ) op: assign_op.Equal rhs: {<yes>} spids: [31882] ) ] ) ] spids: [31878 31879 31886 -1] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$valid_a_lib' ) ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<echo>}) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ < '*** Warning: Trying to link with static lib archive ' > ($ Id.VSub_DollarName '$deplib') <.> ) } ) (C {<echo>} { (DQ < '*** I have the capability to make that library automatically link in when' > ) } ) (C {<echo>} { (DQ < '*** you link to this library. But I can only do this if you have a' > ) } ) (C {<echo>} { (DQ < '*** shared version of the library, which you do not appear to have' > ) } ) (C {<echo>} { (DQ < '*** because the file extensions .' > ($ Id.VSub_DollarName '$libext') <' of this argument makes me believe'> ) } ) (C {<echo>} { (DQ < '*** that it is just a static archive that I should not use here.' > ) } ) ] spids: [31892 31906] ) ] else_action: [ (C {<echo>}) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ < '*** Warning: Linking the shared library ' > ($ Id.VSub_DollarName '$output') <' against the'> ) } ) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'*** static library '> ($ Id.VSub_DollarName '$deplib') <' is not portable!'> ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [31982] ) ] ) ] ) ] spids: [31772 31773 31993 -1] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [31737 31738 32002 -1] ) (case_arm pat_list: [{<prog>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$pass'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<link>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [32026] ) ] ) ] spids: [32009 32023] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$compile_deplibs') ) } spids: [32037] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$finalize_deplibs') ) } spids: [32045] ) ] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [32005 32006 32059 -1] ) ] ) ] spids: [31694 31697 32068 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'> <.lo>} {<Id.Lit_Star '*'> <.> ($ Id.VSub_DollarName '$objext')} ] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$pass'))} {<Id.Lit_Equals '='>} {<conv>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [32101] ) ] ) ] spids: [32085 32098] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.Lit_Equals '='>} {<prog>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe Id.Op_DPipe] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$pass') ) } {<Id.Lit_Equals '='>} {<dlpreopen>} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$dlopen_support' ) ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<yes>} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$build_libtool_libs' ) ) } {<Id.Lit_Equals '='>} {<no>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<newdlprefiles>} {(DQ <' '> ($ Id.VSub_DollarName '$deplib'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: compile_deplibs ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$compile_deplibs') ) } spids: [32184] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: finalize_deplibs ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$finalize_deplibs') ) } spids: [32192] ) ] ) ] spids: [32125 32163] ) ] else_action: [ (C {<func_append>} {<newdlfiles>} {(DQ <' '> ($ Id.VSub_DollarName '$deplib'))} ) ] ) ] spids: [32109 32122] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [32074 32082 32222 -1] ) (case_arm pat_list: [{<Id.Lit_Other '%'> <DEPLIBS> <Id.Lit_Other '%'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:alldeplibs) op: assign_op.Equal rhs: {<yes>} spids: [32231] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [32225 32228 32238 -1] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$found'))} {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} {<-f>} {(DQ ($ Id.VSub_DollarName '$lib'))}) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<Id.Lit_Colon ':'>})] spids: [32248 32271] ) ] else_action: [ (C {<func_fatal_error>} { (DQ <'cannot find the library '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$lib') <'\' or unhandled argument '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$deplib') <'\''> ) } ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<func_lalib_unsafe_p>} {(DQ ($ Id.VSub_DollarName '$lib'))}) (C {<func_fatal_error>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$lib') <'\' is not a valid libtool archive'> ) } ) ] ) (C {<func_dirname>} {(DQ ($ Id.VSub_DollarName '$lib'))} {(DQ )} {(DQ <.>)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:ladir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_dirname_result'))} spids: [32334] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlname) op: assign_op.Equal rhs: (word.Empty) spids: [32341] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlopen) op: assign_op.Equal rhs: (word.Empty) spids: [32344] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlpreopen) op: assign_op.Equal rhs: (word.Empty) spids: [32347] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libdir) op: assign_op.Equal rhs: (word.Empty) spids: [32350] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:library_names) op: assign_op.Equal rhs: (word.Empty) spids: [32353] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:old_library) op: assign_op.Equal rhs: (word.Empty) spids: [32356] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:inherited_linker_flags) op: assign_op.Equal rhs: (word.Empty) spids: [32359] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:installed) op: assign_op.Equal rhs: {<yes>} spids: [32370] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:shouldnotlink) op: assign_op.Equal rhs: {<no>} spids: [32374] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:avoidtemprpath) op: assign_op.Equal rhs: (word.Empty) spids: [32378] ) ] ) (C {<func_source>} {(DQ ($ Id.VSub_DollarName '$lib'))}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$inherited_linker_flags'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tmp_inherited_linker_flags) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ ($ Id.VSub_DollarName '$inherited_linker_flags' ) ) } ) (C {($ Id.VSub_DollarName '$SED')} { (SQ < 's/-framework \\([^ $]*\\)/\\1.ltframework/g' > ) } ) ] negated: F ) ) } spids: [32413] ) ] ) (command.ForEach iter_name: tmp_inherited_linker_flag iter_words: [ {($ Id.VSub_DollarName '$tmp_inherited_linker_flags')} ] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: { (DQ <' '> ($ Id.VSub_DollarName '$new_inherited_linker_flags' ) <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$tmp_inherited_linker_flag' ) <' '> ) <Id.Lit_Star '*'> } ] spids: [32462 32469 32471 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<new_inherited_linker_flags>} { (DQ <' '> ($ Id.VSub_DollarName '$tmp_inherited_linker_flag' ) ) } ) ] spids: [32474 32475 32485 -1] ) ] ) ] ) ) ] spids: [32399 32410] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dependency_libs) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ <' '> ($ Id.VSub_DollarName '$dependency_libs'))} ) (C {($ Id.VSub_DollarName '$SED')} { (SQ < 's% \\([^ $]*\\).ltframework% -framework \\1%g' > ) } ) ] negated: F ) ) } spids: [32497] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe Id.Op_DPipe] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$linkmode') <','> ($ Id.VSub_DollarName '$pass') ) } {<Id.Lit_Equals '='>} {(DQ <'lib,link'>)} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$linkmode') <','> ($ Id.VSub_DollarName '$pass') ) } {<Id.Lit_Equals '='>} {(DQ <'prog,scan'>)} ) (BraceGroup children: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$linkmode') ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<prog>} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$linkmode') ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<lib>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$dlopen'))}) (C {<func_append>} {<dlfiles>} {(DQ <' '> ($ Id.VSub_DollarName '$dlopen'))} ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$dlpreopen'))}) (C {<func_append>} {<dlprefiles>} {(DQ <' '> ($ Id.VSub_DollarName '$dlpreopen'))} ) ] ) ] spids: [32524 32590] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$pass'))} {<Id.Lit_Equals '='>} {<conv>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$lib') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [32657] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$libdir'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$old_library' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_fatal_error>} { (DQ <'cannot find name of link library for '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$lib') <'\''> ) } ) ] spids: [32679 32690] ) ] ) (C {<func_append>} {<convenience>} { (DQ <' '> ($ Id.VSub_DollarName '$ladir') <'/'> ($ Id.VSub_DollarName '$objdir') <'/'> ($ Id.VSub_DollarName '$old_library') ) } ) (C {<func_append>} {<old_convenience>} { (DQ <' '> ($ Id.VSub_DollarName '$ladir') <'/'> ($ Id.VSub_DollarName '$objdir') <'/'> ($ Id.VSub_DollarName '$old_library') ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tmp_libs) op: assign_op.Equal rhs: (word.Empty) spids: [32738] ) ] ) (command.ForEach iter_name: deplib iter_words: [{($ Id.VSub_DollarName '$dependency_libs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [32753] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C { ($ Id.VSub_DollarName '$opt_preserve_dup_deps' ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: { (DQ ($ Id.VSub_DollarName '$tmp_libs') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$deplib' ) <' '> ) <Id.Lit_Star '*'> } ] action: [ (C {<func_append>} {<specialdeplibs>} {(DQ <' '> ($ Id.VSub_DollarName '$deplib'))} ) ] spids: [32780 32787 32798 -1] ) ] ) ] spids: [32761 32767] ) ] ) (C {<func_append>} {<tmp_libs>} {(DQ <' '> ($ Id.VSub_DollarName '$deplib'))} ) ] ) ) ] spids: [32665 32676] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<prog>} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<lib>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_fatal_error>} { (DQ (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$lib') <'\' is not a convenience library'> ) } ) ] spids: [32820 32847] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [32637 32650] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:linklib) op: assign_op.Equal rhs: (word.Empty) spids: [32877] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$old_library'))} ) (BraceGroup children: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$prefer_static_libs' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$prefer_static_libs' ) <','> ($ Id.VSub_DollarName '$installed') ) } {<Id.Lit_Equals '='>} {(DQ <'built,no'>)} ) ] ) terminator: <Id.Op_Semi _> ) ] ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:linklib) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$old_library')} spids: [32929] ) ] ) ] spids: [32880 32926] ) ] else_action: [ (command.ForEach iter_name: l iter_words: [ {($ Id.VSub_DollarName '$old_library')} {($ Id.VSub_DollarName '$library_names')} ] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:linklib) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$l'))} spids: [32950] ) ] ) ] ) ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$linklib'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_fatal_error>} { (DQ <'cannot find name of link library for '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$lib') <'\''> ) } ) ] spids: [32962 32973] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$pass'))} {<Id.Lit_Equals '='>} {<dlopen>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$libdir'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_fatal_error>} { (DQ <'cannot -dlopen a convenience library: '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$lib') <'\''> ) } ) ] spids: [33010 33021] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe Id.Op_DPipe] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$dlname'))} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$dlopen_support') ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<yes>} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$build_libtool_libs' ) ) } {<Id.Lit_Equals '='>} {<no>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<dlprefiles>} { (DQ <' '> ($ Id.VSub_DollarName '$lib') <' '> ($ Id.VSub_DollarName '$dependency_libs') ) } ) ] spids: [33037 33075] ) ] else_action: [ (C {<func_append>} {<newdlfiles>} {(DQ <' '> ($ Id.VSub_DollarName '$lib'))} ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [32994 33007] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$ladir')} arms: [ (case_arm pat_list: [ {<Id.Lit_LBracket '['> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\\\'> ) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } {<Id.Lit_LBracket '['> <A-Za-z> <Id.Lit_RBracket ']'> <Id.Lit_Colon ':'> <Id.Lit_LBracket '['> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:abs_ladir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$ladir'))} spids: [33162] ) ] ) ] spids: [33143 33160 33167 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:abs_ladir) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<cd>} {(DQ ($ Id.VSub_DollarName '$ladir'))}) (C {<pwd>}) ] ) ) } spids: [33174] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$abs_ladir'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_warning>} { (DQ <'cannot determine absolute directory name of '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$ladir') <'\''> ) } ) (C {<func_warning>} { (DQ < 'passing it literally to the linker, although it might fail' > ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:abs_ladir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$ladir'))} spids: [33221] ) ] ) ] spids: [33190 33201] ) ] ) ] spids: [33170 33171 33230 -1] ) ] ) (C {<func_basename>} {(DQ ($ Id.VSub_DollarName '$lib'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:laname) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_basename_result'))} spids: [33243] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$installed'))} {<Id.Lit_Equals '='>} {<Xyes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<Id.KW_Bang '!'>} {<-f>} { (DQ ($ Id.VSub_DollarName '$lt_sysroot') ($ Id.VSub_DollarName '$libdir') <'/'> ($ Id.VSub_DollarName '$linklib') ) } ) (C {<test>} {<-f>} { (DQ ($ Id.VSub_DollarName '$abs_ladir') <'/'> ($ Id.VSub_DollarName '$linklib') ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_warning>} { (DQ <'library '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$lib') <'\' was moved.'> ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$ladir'))} spids: [33312] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:absdir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$abs_ladir'))} spids: [33318] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libdir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$abs_ladir'))} spids: [33324] ) ] ) ] spids: [33271 33299] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dir) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$lt_sysroot') ($ Id.VSub_DollarName '$libdir') ) } spids: [33333] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:absdir) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$lt_sysroot') ($ Id.VSub_DollarName '$libdir') ) } spids: [33340] ) ] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$hardcode_automatic'))} {<Id.Lit_Equals '='>} {<Xyes>} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:avoidtemprpath) op: assign_op.Equal rhs: {<yes>} spids: [33363] ) ] ) ] ) ] spids: [33254 33268] ) ] else_action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<Id.KW_Bang '!'>} {<-f>} { (DQ ($ Id.VSub_DollarName '$ladir') <'/'> ($ Id.VSub_DollarName '$objdir') <'/'> ($ Id.VSub_DollarName '$linklib') ) } ) (C {<test>} {<-f>} { (DQ ($ Id.VSub_DollarName '$abs_ladir') <'/'> ($ Id.VSub_DollarName '$linklib') ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$ladir'))} spids: [33402] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:absdir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$abs_ladir'))} spids: [33408] ) ] ) (C {<func_append>} {<notinst_path>} {(DQ <' '> ($ Id.VSub_DollarName '$abs_ladir'))} ) ] spids: [33370 33399] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dir) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$ladir') <'/'> ($ Id.VSub_DollarName '$objdir') ) } spids: [33431] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:absdir) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$abs_ladir') <'/'> ($ Id.VSub_DollarName '$objdir') ) } spids: [33439] ) ] ) (C {<func_append>} {<notinst_path>} {(DQ <' '> ($ Id.VSub_DollarName '$abs_ladir'))} ) ] ) ] ) (C {<func_stripname>} {(SQ <lib>)} {(SQ <.la>)} {(DQ ($ Id.VSub_DollarName '$laname'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:name) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [33485] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$pass'))} {<Id.Lit_Equals '='>} {<dlpreopen>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$libdir'))} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.Lit_Equals '='>} {<prog>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_fatal_error>} { (DQ < 'only libraries may -dlpreopen a convenience library: ' > (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$lib') <'\''> ) } ) ] spids: [33510 33533] ) ] ) (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$host'))} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <cygwin> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <mingw> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <cegcc> <Id.Lit_Star '*'>} ] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$dlname'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_tr_sh>} { (DQ ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$linklib') ) } ) (C {<eval>} { (DQ <libfile_> ($ Id.VSub_DollarName '$func_tr_sh_result') <'='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'abs_ladir/'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <laname> ) } ) (C {<func_append>} {<newdlprefiles>} { (DQ <' '> ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$linklib') ) } ) ] spids: [33613 33624] ) ] else_action: [ (C {<func_append>} {<newdlprefiles>} { (DQ <' '> ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$old_library') ) } ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$libdir'))} ) (C {<func_append>} {<dlpreconveniencelibs>} { (DQ <' '> ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$old_library') ) } ) ] ) ] ) ] spids: [33562 33578 33711 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$old_library' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<newdlprefiles>} { (DQ <' '> ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$old_library') ) } ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$libdir'))} ) (C {<func_append>} {<dlpreconveniencelibs>} { (DQ <' '> ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$old_library') ) } ) ] ) ] spids: [33727 33738] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$dlname'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<newdlprefiles>} { (DQ <' '> ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$dlname') ) } ) ] spids: [33789 33800] ) ] else_action: [ (C {<func_append>} {<newdlprefiles>} { (DQ <' '> ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$linklib') ) } ) ] ) ] spids: [33714 33716 33833 -1] ) ] ) ] spids: [33494 33507] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$libdir'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.Lit_Equals '='>} {<lib>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$old_library') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [33880] ) ] ) ] spids: [33864 33877] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$linkmode') <','> ($ Id.VSub_DollarName '$pass') ) } {<Id.Lit_Equals '='>} {(DQ <'prog,link'>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$old_library') <' '> ($ Id.VSub_DollarName '$compile_deplibs') ) } spids: [33910] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$old_library') <' '> ($ Id.VSub_DollarName '$finalize_deplibs') ) } spids: [33920] ) ] ) ] spids: [33890 33907] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$lib') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [33933] ) ] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [33846 33857] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.Lit_Equals '='>} {<prog>} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$pass'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<link>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<newlib_search_path>} {(DQ <' '> ($ Id.VSub_DollarName '$ladir'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$lib') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [33994] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:linkalldeplibs) op: assign_op.Equal rhs: {<no>} spids: [34003] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe Id.Op_DPipe] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$link_all_deplibs' ) ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<no>} ) (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$library_names') ) } ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$build_libtool_libs' ) ) } {<Id.Lit_Equals '='>} {<no>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:linkalldeplibs) op: assign_op.Equal rhs: {<yes>} spids: [34047] ) ] ) ] spids: [34007 34044] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tmp_libs) op: assign_op.Equal rhs: (word.Empty) spids: [34055] ) ] ) (command.ForEach iter_name: deplib iter_words: [{($ Id.VSub_DollarName '$dependency_libs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$deplib')} arms: [ (case_arm pat_list: [{<-L> <Id.Lit_Star '*'>}] action: [ (C {<func_stripname>} {(SQ <-L>)} {(SQ )} {(DQ ($ Id.VSub_DollarName '$deplib'))} ) (C {<func_resolve_sysroot>} { (DQ ($ Id.VSub_DollarName '$func_stripname_result' ) ) } ) (C {<func_append>} {<newlib_search_path>} { (DQ <' '> ($ Id.VSub_DollarName '$func_resolve_sysroot_result' ) ) } ) ] spids: [34077 34079 34112 -1] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$linkalldeplibs' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [34138] ) ] ) ] spids: [34122 34135] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:newdependency_libs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$newdependency_libs' ) ) } spids: [34157] ) ] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C { ($ Id.VSub_DollarName '$opt_preserve_dup_deps' ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: { (DQ ($ Id.VSub_DollarName '$tmp_libs') <' '>) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$deplib') <' '> ) <Id.Lit_Star '*'> } ] action: [ (C {<func_append>} {<specialdeplibs>} { (DQ <' '> ($ Id.VSub_DollarName '$deplib') ) } ) ] spids: [34187 34194 34205 -1] ) ] ) ] spids: [34168 34174] ) ] ) (C {<func_append>} {<tmp_libs>} {(DQ <' '> ($ Id.VSub_DollarName '$deplib'))} ) ] ) ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [33955 33981] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$linkmode') <','> ($ Id.VSub_DollarName '$pass') ) } {<Id.Lit_Equals '='>} {(DQ <'prog,link'>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$library_names') ) } ) (BraceGroup children: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (BraceGroup children: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$prefer_static_libs' ) ) } {<Id.Lit_Equals '='>} {<no>} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$prefer_static_libs' ) <','> ($ Id.VSub_DollarName '$installed') ) } {<Id.Lit_Equals '='>} {(DQ <'built,yes'>)} ) ] ) terminator: <Id.Op_Semi _> ) ] ) (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$old_library' ) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$shlibpath_var' ) ) } ) (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$avoidtemprpath' ) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: { (DQ ($ Id.VSub_DollarName '$temp_rpath') <':'> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ ($ Id.VSub_DollarName '$absdir') <':'> ) <Id.Lit_Star '*'> } ] spids: [34368 34374 34376 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<temp_rpath>} { (DQ ($ Id.VSub_DollarName '$absdir') <':'> ) } ) ] spids: [34379 34380 34391 -1] ) ] ) ] spids: [34329 34351] ) ] ) (command.Case to_match: { (DQ <' '> ($ Id.VSub_DollarName '$sys_lib_dlsearch_path') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$absdir') <' '>) <Id.Lit_Star '*'> } ] spids: [34424 34431 34433 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.Case to_match: { (DQ ($ Id.VSub_DollarName '$compile_rpath') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$absdir') <' '> ) <Id.Lit_Star '*'> } ] spids: [34450 34457 34459 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<compile_rpath>} { (DQ <' '> ($ Id.VSub_DollarName '$absdir') ) } ) ] spids: [34462 34463 34474 -1] ) ] ) ] spids: [34436 34437 34480 -1] ) ] ) (command.Case to_match: { (DQ <' '> ($ Id.VSub_DollarName '$sys_lib_dlsearch_path') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$libdir') <' '>) <Id.Lit_Star '*'> } ] spids: [34497 34504 34506 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.Case to_match: { (DQ ($ Id.VSub_DollarName '$finalize_rpath') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$libdir') <' '> ) <Id.Lit_Star '*'> } ] spids: [34523 34530 34532 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<finalize_rpath>} { (DQ <' '> ($ Id.VSub_DollarName '$libdir') ) } ) ] spids: [34535 34536 34547 -1] ) ] ) ] spids: [34509 34510 34553 -1] ) ] ) ] spids: [34260 34322] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$alldeplibs'))} {<Id.Lit_Equals '='>} {<yes>} ) (BraceGroup children: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$deplibs_check_method' ) ) } {<Id.Lit_Equals '='>} {<pass_all>} ) (BraceGroup children: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$build_libtool_libs' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$library_names' ) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) ] ) terminator: <Id.Op_Semi _> ) ] ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [34566 34626] ) ] ) ] spids: [34240 34257] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:link_static) op: assign_op.Equal rhs: {<no>} spids: [34643] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:use_static_libs) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$prefer_static_libs')} spids: [34650] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$use_static_libs'))} {<Id.Lit_Equals '='>} {<built>} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$installed'))} {<Id.Lit_Equals '='>} {<yes>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:use_static_libs) op: assign_op.Equal rhs: {<no>} spids: [34682] ) ] ) ] spids: [34654 34679] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$library_names'))} ) (BraceGroup children: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$use_static_libs' ) ) } {<Id.Lit_Equals '='>} {<no>} ) (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$old_library' ) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <cygwin> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <mingw> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <cegcc> <Id.Lit_Star '*'>} ] action: [ (C {<func_append>} {<notinst_deplibs>} {(DQ <' '> ($ Id.VSub_DollarName '$lib'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:need_relink) op: assign_op.Equal rhs: {<no>} spids: [34770] ) ] ) ] spids: [34738 34753 34774 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$installed') ) } {<Id.Lit_Equals '='>} {<no>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<notinst_deplibs>} {(DQ <' '> ($ Id.VSub_DollarName '$lib'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:need_relink) op: assign_op.Equal rhs: {<yes>} spids: [34807] ) ] ) ] spids: [34781 34794] ) ] ) ] spids: [34777 34778 34814 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlopenmodule) op: assign_op.Equal rhs: {(DQ )} spids: [34833] ) ] ) (command.ForEach iter_name: dlpremoduletest iter_words: [{($ Id.VSub_DollarName '$dlprefiles')}] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ <X> ($ Id.VSub_DollarName '$dlpremoduletest' ) ) } {<Id.Lit_Equals '='>} {(DQ <X> ($ Id.VSub_DollarName '$lib'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlopenmodule) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$dlpremoduletest' ) ) } spids: [34870] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Break break> ) ] spids: [34850 34867] ) ] ) ] ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp Id.Op_DAmp] children: [ (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$dlopenmodule') ) } ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$shouldnotlink') ) } {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$pass'))} {<Id.Lit_Equals '='>} {<link>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<echo>}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$linkmode') ) } {<Id.Lit_Equals '='>} {<prog>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'*** Warning: Linking the executable '> ($ Id.VSub_DollarName '$output') <' against the loadable module'> ) } ) ] spids: [34926 34939] ) ] else_action: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'*** Warning: Linking the shared library '> ($ Id.VSub_DollarName '$output') <' against the loadable module'> ) } ) ] ) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'*** '> ($ Id.VSub_DollarName '$linklib') <' is not portable!'> ) } ) ] spids: [34885 34920] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.Lit_Equals '='>} {<lib>} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$hardcode_into_libs' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: { (DQ <' '> ($ Id.VSub_DollarName '$sys_lib_dlsearch_path') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$absdir') <' '>) <Id.Lit_Star '*'> } ] spids: [35030 35037 35039 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.Case to_match: { (DQ ($ Id.VSub_DollarName '$compile_rpath') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$absdir') <' '> ) <Id.Lit_Star '*'> } ] spids: [35056 35063 35065 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<compile_rpath>} { (DQ <' '> ($ Id.VSub_DollarName '$absdir') ) } ) ] spids: [35068 35069 35080 -1] ) ] ) ] spids: [35042 35043 35086 -1] ) ] ) (command.Case to_match: { (DQ <' '> ($ Id.VSub_DollarName '$sys_lib_dlsearch_path') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$libdir') <' '>) <Id.Lit_Star '*'> } ] spids: [35103 35110 35112 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.Case to_match: { (DQ ($ Id.VSub_DollarName '$finalize_rpath') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$libdir') <' '> ) <Id.Lit_Star '*'> } ] spids: [35129 35136 35138 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<finalize_rpath>} { (DQ <' '> ($ Id.VSub_DollarName '$libdir') ) } ) ] spids: [35141 35142 35153 -1] ) ] ) ] spids: [35115 35116 35159 -1] ) ] ) ] spids: [34978 35004] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$old_archive_from_expsyms_cmds' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<set>} {<dummy>} {($ Id.VSub_DollarName '$library_names')} ) (C {<shift>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:realname) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [35197] ) ] ) (C {<shift>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libname) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<eval>} { (DQ (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <'ECHO '> ) ($ Id.VSub_DollarName '$libname_spec') (DQ ) } ) ) } spids: [35206] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$dlname'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:soname) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$dlname'))} spids: [35246] ) ] ) ] spids: [35232 35243] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$soname_spec' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <cygwin> <Id.Lit_Star '*'> } {<mingw> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <cegcc> <Id.Lit_Star '*'> } ] action: [ (C {<func_arith>} {($ Id.VSub_DollarName '$current')} {<->} {($ Id.VSub_DollarName '$age')} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:major) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$func_arith_result' ) } spids: [35303] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: versuffix ) op: assign_op.Equal rhs: { (DQ <-> ($ Id.VSub_DollarName '$major' ) ) } spids: [35307] ) ] ) ] spids: [35277 35291 35314 -1] ) ] ) (C {<eval>} {<Id.Lit_VarLike 'soname='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$soname_spec') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) ] spids: [35252 35263] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:soname) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$realname'))} spids: [35331] ) ] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:soroot) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$soname'))} spids: [35345] ) ] ) (C {<func_basename>} {(DQ ($ Id.VSub_DollarName '$soroot'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:soname) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$func_basename_result') ) } spids: [35358] ) ] ) (C {<func_stripname>} {(SQ <lib>)} {(SQ <.dll>)} {(DQ ($ Id.VSub_DollarName '$soname'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:newlib) op: assign_op.Equal rhs: {<libimp-> ($ Id.VSub_DollarName '$func_stripname_result') <.a> } spids: [35379] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-f>} { (DQ ($ Id.VSub_DollarName '$output_objdir' ) <'/'> ($ Id.VSub_DollarName '$soname') <-def> ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<Id.Lit_Colon ':'>})] spids: [35390 35404] ) ] else_action: [ (C {<func_verbose>} { (DQ <'extracting exported symbol list from '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$soname') <'\''> ) } ) (C {<func_execute_cmds>} { (DQ ($ Id.VSub_DollarName '$extract_expsyms_cmds') ) } {(SQ <'exit $?'>)} ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-f>} { (DQ ($ Id.VSub_DollarName '$output_objdir' ) <'/'> ($ Id.VSub_DollarName '$newlib') ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Sentence child: (C {<Id.Lit_Colon ':'>}) terminator: <Id.Op_Semi _> ) ] spids: [35441 35454] ) ] else_action: [ (C {<func_verbose>} { (DQ <'generating import library for '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$soname') <'\''> ) } ) (C {<func_execute_cmds>} { (DQ ($ Id.VSub_DollarName '$old_archive_from_expsyms_cmds' ) ) } {(SQ <'exit $?'>)} ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dir) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$output_objdir')} spids: [35490] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:linklib) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$newlib')} spids: [35494] ) ] ) ] spids: [35169 35180] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.Lit_Equals '='>} {<prog>} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_mode'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<relink>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:add_shlibpath) op: assign_op.Equal rhs: (word.Empty) spids: [35534] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:add_dir) op: assign_op.Equal rhs: (word.Empty) spids: [35537] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:add) op: assign_op.Equal rhs: (word.Empty) spids: [35540] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lib_linked) op: assign_op.Equal rhs: {<yes>} spids: [35543] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$hardcode_action')} arms: [ (case_arm pat_list: [{<immediate>} {<unsupported>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$hardcode_direct' ) ) } {<Id.Lit_Equals '='>} {<no>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:add) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$linklib') ) } spids: [35578] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-sco3.2v5.0.> <Id.Lit_LBracket '['> <024> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: add_dir ) op: assign_op.Equal rhs: { (DQ <-L> ($ Id.VSub_DollarName '$dir' ) ) } spids: [35603] ) ] ) ] spids: [35593 35601 35609 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-sysv4> <Id.Lit_Star '*'> <uw2> <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: add_dir ) op: assign_op.Equal rhs: { (DQ <-L> ($ Id.VSub_DollarName '$dir' ) ) } spids: [35621] ) ] ) ] spids: [35612 35619 35627 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-sysv5OpenUNIX> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-sysv5UnixWare7.> <Id.Lit_LBracket '['> <01> <Id.Lit_RBracket ']'> <.> <Id.Lit_LBracket '['> <10> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-unixware7> <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: add_dir ) op: assign_op.Equal rhs: { (DQ <-L> ($ Id.VSub_DollarName '$dir' ) ) } spids: [35662] ) ] ) ] spids: [35630 35660 35668 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-darwin> <Id.Lit_Star '*'> } ] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.Pipeline children: [ (command.Simple words: [ { < '/usr/bin/file' > } {<-L>} { ($ Id.VSub_DollarName '$add' ) } ] redirects: [ (redir op: < Id.Redir_Great '2>' > loc: (redir_loc.Fd fd: 2 ) arg: { < '/dev/null' > } ) ] do_fork: T ) (command.Simple words: [ { ($ Id.VSub_DollarName '$GREP' ) } { (DQ < ': [^:]* bundle' > ) } ] redirects: [ (redir op: < Id.Redir_Great '>' > loc: (redir_loc.Fd fd: 1 ) arg: { < '/dev/null' > } ) ] do_fork: T ) ] negated: F ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C { < test > } {(DQ <X> ($ Id.VSub_DollarName '$dlopenmodule'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} { (DQ < X > ($ Id.VSub_DollarName '$lib') ) } ) terminator: < Id.Op_Semi _ > ) ] ) action: [ (C { ($ Id.VSub_DollarName '$ECHO' ) } {(DQ <'*** Warning: lib '> ($ Id.VSub_DollarName '$linklib') <' is a module, not a shared library'>)} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C { < test > } {<-z>} {(DQ ($ Id.VSub_DollarName '$old_library'))} ) terminator: < Id.Op_Semi _ > ) ] ) action: [ (C { < echo > } ) (C { < echo > } {(DQ <'*** And there doesn\'t seem to be a static archive available'>)} ) (C { < echo > } {(DQ <'*** The link will probably fail, sorry'>)} ) ] spids: [ 35747 35759 ] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: add ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$dir' ) <'/'> ($ Id.VSub_DollarName '$old_library') ) } spids: [ 35782 ] ) ] ) ] ) ] spids: [35717 35735] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C { < test > } {<-n>} {(DQ ($ Id.VSub_DollarName '$old_library'))} ) terminator: < Id.Op_Semi _ > ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: add ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$dir' ) <'/'> ($ Id.VSub_DollarName '$old_library') ) } spids: [ 35807 ] ) ] ) ] spids: [35793 35804] ) ] ) ] spids: [35688 35714] ) ] ) ] spids: [35671 35677 -1 35821] ) ] ) ] spids: [35562 35575] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$hardcode_minus_L' ) ) } {<Id.Lit_Equals '='>} {<no>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-sunos> <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: add_shlibpath ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$dir' ) ) } spids: [35854] ) ] ) ] spids: [35847 35852 35859 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: add_dir ) op: assign_op.Equal rhs: { (DQ <-L> ($ Id.VSub_DollarName '$dir') ) } spids: [35865] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:add) op: assign_op.Equal rhs: { (DQ <-l> ($ Id.VSub_DollarName '$name') ) } spids: [35872] ) ] ) ] spids: [35824 35837] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$hardcode_shlibpath_var' ) ) } {<Id.Lit_Equals '='>} {<no>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: add_shlibpath ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$dir') ) } spids: [35895] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:add) op: assign_op.Equal rhs: { (DQ <-l> ($ Id.VSub_DollarName '$name') ) } spids: [35901] ) ] ) ] spids: [35879 35892] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lib_linked) op: assign_op.Equal rhs: {<no>} spids: [35911] ) ] ) ] ) ] spids: [35554 35559 35918 -1] ) (case_arm pat_list: [{<relink>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$hardcode_direct' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$hardcode_direct_absolute' ) ) } {<Id.Lit_Equals '='>} {<no>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:add) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$linklib') ) } spids: [35954] ) ] ) ] spids: [35925 35951] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$hardcode_minus_L' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: add_dir ) op: assign_op.Equal rhs: { (DQ <-L> ($ Id.VSub_DollarName '$absdir' ) ) } spids: [35978] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$inst_prefix_dir' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: { ($ Id.VSub_DollarName '$libdir' ) } arms: [ (case_arm pat_list: [ {<Id.Lit_LBracket '['> (word_part.EscapedLiteral token: < Id.Lit_EscapedChar '\\\\' > ) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } ] action: [ (C {<func_append>} {<add_dir>} {(DQ <' -L'> ($ Id.VSub_DollarName '$inst_prefix_dir') ($ Id.VSub_DollarName '$libdir'))} ) ] spids: [36010 36015 36029 -1] ) ] ) ] spids: [35989 36000] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:add) op: assign_op.Equal rhs: { (DQ <-l> ($ Id.VSub_DollarName '$name') ) } spids: [36038] ) ] ) ] spids: [35962 35975] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$hardcode_shlibpath_var' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: add_shlibpath ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$dir') ) } spids: [36061] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:add) op: assign_op.Equal rhs: { (DQ <-l> ($ Id.VSub_DollarName '$name') ) } spids: [36067] ) ] ) ] spids: [36045 36058] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lib_linked) op: assign_op.Equal rhs: {<no>} spids: [36077] ) ] ) ] ) ] spids: [35921 35922 36084 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lib_linked) op: assign_op.Equal rhs: {<no>} spids: [36090] ) ] ) ] spids: [36087 36088 36093 -1] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$lib_linked') ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_fatal_configuration>} {(DQ <'unsupported hardcode properties'>)} ) ] spids: [36100 36114] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$add_shlibpath' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {<Id.Lit_Colon ':'> ($ Id.VSub_DollarName '$compile_shlibpath') <Id.Lit_Colon ':'> } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <':'> ($ Id.VSub_DollarName '$add_shlibpath' ) <':'> ) <Id.Lit_Star '*'> } ] spids: [36151 36158 36160 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<compile_shlibpath>} { (DQ ($ Id.VSub_DollarName '$add_shlibpath' ) <':'> ) } ) ] spids: [36163 36164 36175 -1] ) ] ) ] spids: [36128 36139] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$linkmode') ) } {<Id.Lit_Equals '='>} {<prog>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$add_dir'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: compile_deplibs ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$add_dir') <' '> ($ Id.VSub_DollarName '$compile_deplibs') ) } spids: [36210] ) ] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$add'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: compile_deplibs ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$add') <' '> ($ Id.VSub_DollarName '$compile_deplibs') ) } spids: [36228] ) ] ) ] ) ] spids: [36184 36197] ) ] else_action: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$add_dir'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$add_dir') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [36249] ) ] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$add'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$add') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [36267] ) ] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp Id.Op_DAmp] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$hardcode_direct' ) ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<yes>} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$hardcode_minus_L' ) ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<yes>} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$hardcode_shlibpath_var' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {<Id.Lit_Colon ':'> ($ Id.VSub_DollarName '$finalize_shlibpath' ) <Id.Lit_Colon ':'> } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <':'> ($ Id.VSub_DollarName '$libdir') <':'> ) <Id.Lit_Star '*'> } ] spids: [36328 36335 36337 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<finalize_shlibpath>} {(DQ ($ Id.VSub_DollarName '$libdir') <':'>)} ) ] spids: [36340 36341 36352 -1] ) ] ) ] spids: [36275 36316] ) ] ) ] ) ] spids: [35505 35531] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.Lit_Equals '='>} {<prog>} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_mode'))} {<Id.Lit_Equals '='>} {<relink>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:add_shlibpath) op: assign_op.Equal rhs: (word.Empty) spids: [36396] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:add_dir) op: assign_op.Equal rhs: (word.Empty) spids: [36399] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:add) op: assign_op.Equal rhs: (word.Empty) spids: [36402] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$hardcode_direct' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$hardcode_direct_absolute' ) ) } {<Id.Lit_Equals '='>} {<no>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:add) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$libdir') <'/'> ($ Id.VSub_DollarName '$linklib') ) } spids: [36438] ) ] ) ] spids: [36409 36435] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$hardcode_minus_L' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:add_dir) op: assign_op.Equal rhs: { (DQ <-L> ($ Id.VSub_DollarName '$libdir') ) } spids: [36462] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:add) op: assign_op.Equal rhs: {(DQ <-l> ($ Id.VSub_DollarName '$name'))} spids: [36469] ) ] ) ] spids: [36446 36459] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$hardcode_shlibpath_var' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {<Id.Lit_Colon ':'> ($ Id.VSub_DollarName '$finalize_shlibpath') <Id.Lit_Colon ':'> } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <':'> ($ Id.VSub_DollarName '$libdir') <':'> ) <Id.Lit_Star '*'> } ] spids: [36501 36508 36510 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<finalize_shlibpath>} { (DQ ($ Id.VSub_DollarName '$libdir') <':'> ) } ) ] spids: [36513 36514 36525 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:add) op: assign_op.Equal rhs: {(DQ <-l> ($ Id.VSub_DollarName '$name'))} spids: [36531] ) ] ) ] spids: [36476 36489] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$hardcode_automatic' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$inst_prefix_dir' ) ) } ) (C {<test>} {<-f>} { (DQ ($ Id.VSub_DollarName '$inst_prefix_dir' ) ($ Id.VSub_DollarName '$libdir') <'/'> ($ Id.VSub_DollarName '$linklib') ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:add) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$inst_prefix_dir' ) ($ Id.VSub_DollarName '$libdir') <'/'> ($ Id.VSub_DollarName '$linklib') ) } spids: [36583] ) ] ) ] spids: [36554 36580] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:add) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$libdir') <'/'> ($ Id.VSub_DollarName '$linklib') ) } spids: [36595] ) ] ) ] ) ] spids: [36538 36551] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:add_dir) op: assign_op.Equal rhs: {(DQ <-L> ($ Id.VSub_DollarName '$libdir'))} spids: [36613] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$inst_prefix_dir' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {($ Id.VSub_DollarName '$libdir')} arms: [ (case_arm pat_list: [ {<Id.Lit_LBracket '['> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\\\'> ) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } ] action: [ (C {<func_append>} {<add_dir>} { (DQ <' -L'> ($ Id.VSub_DollarName '$inst_prefix_dir' ) ($ Id.VSub_DollarName '$libdir') ) } ) ] spids: [36645 36650 36664 -1] ) ] ) ] spids: [36624 36635] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:add) op: assign_op.Equal rhs: {(DQ <-l> ($ Id.VSub_DollarName '$name'))} spids: [36673] ) ] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$linkmode') ) } {<Id.Lit_Equals '='>} {<prog>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$add_dir'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: finalize_deplibs ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$add_dir') <' '> ($ Id.VSub_DollarName '$finalize_deplibs') ) } spids: [36710] ) ] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$add'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: finalize_deplibs ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$add') <' '> ($ Id.VSub_DollarName '$finalize_deplibs') ) } spids: [36728] ) ] ) ] ) ] spids: [36684 36697] ) ] else_action: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$add_dir'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$add_dir') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [36749] ) ] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$add'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$add') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [36767] ) ] ) ] ) ] ) ] spids: [36368 36393] ) ] ) ] spids: [34689 34728] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.Lit_Equals '='>} {<prog>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$hardcode_direct'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<unsupported>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$old_library'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:linklib) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$old_library'))} spids: [36836] ) ] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$linklib') <' '> ($ Id.VSub_DollarName '$compile_deplibs') ) } spids: [36842] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$linklib') <' '> ($ Id.VSub_DollarName '$finalize_deplibs') ) } spids: [36852] ) ] ) ] spids: [36809 36823] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_deplibs) op: assign_op.Equal rhs: { (DQ <-l> ($ Id.VSub_DollarName '$name') <' -L'> ($ Id.VSub_DollarName '$dir') <' '> ($ Id.VSub_DollarName '$compile_deplibs') ) } spids: [36865] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_deplibs) op: assign_op.Equal rhs: { (DQ <-l> ($ Id.VSub_DollarName '$name') <' -L'> ($ Id.VSub_DollarName '$dir') <' '> ($ Id.VSub_DollarName '$finalize_deplibs') ) } spids: [36876] ) ] ) ] ) ] spids: [36781 36794] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_libtool_libs'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$deplibs_check_method' ) ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<pass_all>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<echo>}) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ < '*** Warning: This system can not link to static lib archive ' > ($ Id.VSub_DollarName '$lib') <.> ) } ) (C {<echo>} { (DQ < '*** I have the capability to make that library automatically link in when' > ) } ) (C {<echo>} { (DQ < '*** you link to this library. But I can only do this if you have a' > ) } ) (C {<echo>} { (DQ < '*** shared version of the library, which you do not appear to have.' > ) } ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$module'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<echo>} { (DQ < '*** But as you try to build a module library, libtool will still create ' > ) } ) (C {<echo>} { (DQ < '*** a static module, that should work as long as the dlopening application' > ) } ) (C {<echo>} { (DQ < '*** is linked with the -dlopen flag to resolve symbols at runtime.' > ) } ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$global_symbol_pipe' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<echo>}) (C {<echo>} { (DQ < '*** However, this would only work if libtool was able to extract symbol' > ) } ) (C {<echo>} { (DQ < '*** lists from a program, using ' > (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'nm\' or equivalent, but libtool could'> ) } ) (C {<echo>} { (DQ < '*** not find such a program. So, this module is probably useless.' > ) } ) (C {<echo>} { (DQ <'*** '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'nm\' from GNU binutils and a full rebuild may help.'> ) } ) ] spids: [37014 37025] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$build_old_libs' ) ) } {<Id.Lit_Equals '='>} {<no>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: build_libtool_libs ) op: assign_op.Equal rhs: {<module>} spids: [37082] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: build_old_libs ) op: assign_op.Equal rhs: {<yes>} spids: [37086] ) ] ) ] spids: [37066 37079] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: build_libtool_libs ) op: assign_op.Equal rhs: {<no>} spids: [37093] ) ] ) ] ) ] spids: [36977 36990] ) ] ) ] spids: [36910 36924] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$old_library') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [37106] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:link_static) op: assign_op.Equal rhs: {<yes>} spids: [37116] ) ] ) ] ) ] spids: [36890 36903] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.Lit_Equals '='>} {<lib>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$dependency_libs' ) ) } ) (BraceGroup children: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe Id.Op_DPipe] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$hardcode_into_libs' ) ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<yes>} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$build_old_libs' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$link_static' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:temp_deplibs) op: assign_op.Equal rhs: (word.Empty) spids: [37209] ) ] ) (command.ForEach iter_name: libdir iter_words: [{($ Id.VSub_DollarName '$dependency_libs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$libdir')} arms: [ (case_arm pat_list: [{<-R> <Id.Lit_Star '*'>}] action: [ (C {<func_stripname>} {(SQ <-R>)} {(SQ )} {(DQ ($ Id.VSub_DollarName '$libdir'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: temp_xrpath ) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$func_stripname_result' ) } spids: [37249] ) ] ) (command.Case to_match: { (DQ <' '> ($ Id.VSub_DollarName '$xrpath') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$temp_xrpath' ) <' '> ) <Id.Lit_Star '*'> } ] spids: [37264 37271 37273 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<xrpath>} { (DQ <' '> ($ Id.VSub_DollarName '$temp_xrpath' ) ) } ) ] spids: [37276 37277 37287 -1] ) ] ) ] spids: [37231 37233 37291 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<temp_deplibs>} { (DQ <' '> ($ Id.VSub_DollarName '$libdir') ) } ) ] spids: [37294 37295 37305 -1] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dependency_libs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$temp_deplibs'))} spids: [37314] ) ] ) ] spids: [37146 37202] ) ] ) (C {<func_append>} {<newlib_search_path>} {(DQ <' '> ($ Id.VSub_DollarName '$absdir'))} ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$link_static'))} {<Id.Lit_Equals '='>} {<no>} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:newdependency_libs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$abs_ladir') <'/'> ($ Id.VSub_DollarName '$laname') <' '> ($ Id.VSub_DollarName '$newdependency_libs') ) } spids: [37350] ) ] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tmp_libs) op: assign_op.Equal rhs: (word.Empty) spids: [37364] ) ] ) (command.ForEach iter_name: deplib iter_words: [{($ Id.VSub_DollarName '$dependency_libs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:newdependency_libs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$newdependency_libs') ) } spids: [37379] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$deplib')} arms: [ (case_arm pat_list: [{<-L> <Id.Lit_Star '*'>}] action: [ (C {<func_stripname>} {(SQ <-L>)} {(SQ )} {(DQ ($ Id.VSub_DollarName '$deplib'))} ) (C {<func_resolve_sysroot>} { (DQ ($ Id.VSub_DollarName '$func_stripname_result' ) ) } ) ] spids: [37394 37396 37417 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_resolve_sysroot>} {(DQ ($ Id.VSub_DollarName '$deplib'))} ) ] spids: [37420 37421 37429 -1] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C { ($ Id.VSub_DollarName '$opt_preserve_dup_deps' ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: { (DQ ($ Id.VSub_DollarName '$tmp_libs') <' '>) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$func_resolve_sysroot_result' ) <' '> ) <Id.Lit_Star '*'> } ] action: [ (C {<func_append>} {<specialdeplibs>} { (DQ <' '> ($ Id.VSub_DollarName '$func_resolve_sysroot_result' ) ) } ) ] spids: [37454 37461 37473 -1] ) ] ) ] spids: [37435 37441] ) ] ) (C {<func_append>} {<tmp_libs>} { (DQ <' '> ($ Id.VSub_DollarName '$func_resolve_sysroot_result' ) ) } ) ] ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$link_all_deplibs') ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<no>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ForEach iter_name: deplib iter_words: [{($ Id.VSub_DollarName '$dependency_libs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:path) op: assign_op.Equal rhs: (word.Empty) spids: [37529] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$deplib')} arms: [ (case_arm pat_list: [{<-L> <Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:path) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib' ) ) } spids: [37543] ) ] ) ] spids: [37539 37541 37548 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'> <.la>}] action: [ (C {<func_resolve_sysroot>} {(DQ ($ Id.VSub_DollarName '$deplib'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplib) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$func_resolve_sysroot_result' ) } spids: [37563] ) ] ) (C {<func_dirname>} {(DQ ($ Id.VSub_DollarName '$deplib'))} {(DQ )} {(DQ <.>)} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dir) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$func_dirname_result' ) } spids: [37581] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$dir')} arms: [ (case_arm pat_list: [ {<Id.Lit_LBracket '['> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\\\'> ) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } {<Id.Lit_LBracket '['> <A-Za-z> <Id.Lit_RBracket ']'> <Id.Lit_Colon ':'> <Id.Lit_LBracket '['> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: absdir ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$dir' ) ) } spids: [37615] ) ] ) ] spids: [37596 37613 37620 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: absdir ) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`' > child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<cd>} { (DQ ($ Id.VSub_DollarName '$dir' ) ) } ) (C {<pwd>}) ] ) ) } spids: [37627] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$absdir' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_warning>} { (DQ < 'cannot determine absolute directory name of ' > (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$dir') <'\''> ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: absdir ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$dir' ) ) } spids: [37667] ) ] ) ] spids: [37643 37654] ) ] ) ] spids: [37623 37624 37676 -1] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple words: [ { ($ Id.VSub_DollarName '$GREP' ) } { (DQ < '^installed=no' > ) } { ($ Id.VSub_DollarName '$deplib' ) } ] redirects: [ (redir op: <Id.Redir_Great '>' > loc: (redir_loc.Fd fd: 1 ) arg: {<'/dev/null'>} ) ] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: { ($ Id.VSub_DollarName '$host' ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-darwin> <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: depdepl ) op: assign_op.Equal rhs: (word.Empty) spids: [37715] ) ] ) (C {<eval>} { <Id.Lit_VarLike 'deplibrary_names=' > (command_sub left_token: < Id.Left_Backtick '`' > child: (C { (${ Id.VSub_Name SED ) } {<-n>} {<-e>} {(SQ <'s/^library_names=\\(.*\\)$/\\1/p'>)} {($ Id.VSub_DollarName '$deplib')} ) ) } ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C { < test > } {<-n>} {(DQ ($ Id.VSub_DollarName '$deplibrary_names'))} ) terminator: < Id.Op_Semi _ > ) ] ) action: [ (command.ForEach iter_name: tmp iter_words: [ { ($ Id.VSub_DollarName '$deplibrary_names' ) } ] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: depdepl ) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$tmp' ) } spids: [ 37774 ] ) ] ) ] ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C { < test > } {<-f>} { (DQ ($ Id.VSub_DollarName '$absdir' ) <'/'> ($ Id.VSub_DollarName '$objdir') <'/'> ($ Id.VSub_DollarName '$depdepl') ) } ) terminator: < Id.Op_Semi _ > ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: depdepl ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$absdir' ) <'/'> ($ Id.VSub_DollarName '$objdir') <'/'> ($ Id.VSub_DollarName '$depdepl') ) } spids: [ 37800 ] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: darwin_install_name ) op: assign_op.Equal rhs: { (command_sub left_token: < Id.Left_Backtick '`' > child: (command.Pipeline children: [ (C { (${ Id.VSub_Name OTOOL ) } {<-L>} {($ Id.VSub_DollarName '$depdepl')} ) (C { < awk > } {(SQ <'{if (NR == 2) {print $1;exit}}'>)} ) ] negated: F ) ) } spids: [ 37810 ] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C { < test > } {<-z>} {(DQ ($ Id.VSub_DollarName '$darwin_install_name'))} ) terminator: < Id.Op_Semi _ > ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: darwin_install_name ) op: assign_op.Equal rhs: { (command_sub left_token: < Id.Left_Backtick '`' > child: (command.Pipeline children: [ (C { (${ Id.VSub_Name OTOOL64 ) } {<-L>} {($ Id.VSub_DollarName '$depdepl')} ) (C { < awk > } {(SQ <'{if (NR == 2) {print $1;exit}}'>)} ) ] negated: F ) ) } spids: [ 37846 ] ) ] ) ] spids: [ 37832 37843 ] ) ] ) (C { < func_append > } {<compiler_flags>} { (DQ < ' ' > (${ Id.VSub_Name wl) <'-dylib_file '> (${ Id.VSub_Name wl) (${ Id.VSub_Name darwin_install_name) <':'> (${ Id.VSub_Name depdepl ) ) } ) (C { < func_append > } {<linker_flags>} { (DQ < ' -dylib_file ' > (${ Id.VSub_Name darwin_install_name) <':'> (${ Id.VSub_Name depdepl) ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: path ) op: assign_op.Equal rhs: (word.Empty) spids: [ 37910 ] ) ] ) ] spids: [ 37781 37797 ] ) ] ) ] spids: [37746 37758] ) ] ) ] spids: [37707 37712 37919 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'>} ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: path ) op: assign_op.Equal rhs: { (DQ <-L> ($ Id.VSub_DollarName '$absdir' ) <'/'> ($ Id.VSub_DollarName '$objdir') ) } spids: [37926] ) ] ) ] spids: [37922 37923 37935 -1] ) ] ) ] spids: [37682 37697] ) ] else_action: [ (C {<eval>} {<Id.Lit_VarLike 'libdir='> (command_sub left_token: <Id.Left_Backtick '`'> child: (C {(${ Id.VSub_Name SED)} {<-n>} {<-e>} {(SQ <'s/^libdir=\\(.*\\)$/\\1/p'>)} {($ Id.VSub_DollarName '$deplib')} ) ) } ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$libdir' ) ) } ) (C {<func_fatal_error>} { (DQ (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`' > ) ($ Id.VSub_DollarName '$deplib') <'\' is not a valid libtool archive'> ) } ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$absdir' ) ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ ($ Id.VSub_DollarName '$libdir'))} ) (C {<func_warning>} { (DQ (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`' > ) ($ Id.VSub_DollarName '$deplib') <'\' seems to be moved'> ) } ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: path ) op: assign_op.Equal rhs: { (DQ <-L> ($ Id.VSub_DollarName '$absdir' ) ) } spids: [38020] ) ] ) ] ) ] spids: [37551 37553 38030 -1] ) ] ) (command.Case to_match: { (DQ <' '> ($ Id.VSub_DollarName '$deplibs') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$path') <' '> ) <Id.Lit_Star '*'> } ] spids: [38047 38054 38056 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: deplibs ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$path') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [38062] ) ] ) ] spids: [38059 38060 38069 -1] ) ] ) ] ) ) ] spids: [37496 37510] ) ] ) ] spids: [37130 37143] ) ] ) ] ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$pass'))} {<Id.Lit_Equals '='>} {<link>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.Lit_Equals '='>} {(DQ <prog>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$new_inherited_linker_flags') <' '> ($ Id.VSub_DollarName '$compile_deplibs') ) } spids: [38130] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$new_inherited_linker_flags') <' '> ($ Id.VSub_DollarName '$finalize_deplibs') ) } spids: [38138] ) ] ) ] spids: [38112 38127] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compiler_flags) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$compiler_flags') <' '>) (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <' '> ($ Id.VSub_DollarName '$new_inherited_linker_flags' ) ) } ) (C {($ Id.VSub_DollarName '$SED')} { (SQ < 's% \\([^ $]*\\).ltframework% -framework \\1%g' > ) } ) ] negated: F ) ) } spids: [38149] ) ] ) ] ) ] spids: [38096 38109] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dependency_libs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$newdependency_libs'))} spids: [38186] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$pass'))} {<Id.Lit_Equals '='>} {<dlpreopen>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ForEach iter_name: deplib iter_words: [{($ Id.VSub_DollarName '$save_deplibs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [38224] ) ] ) ] ) ) ] spids: [38192 38205] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$pass'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<dlopen>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$pass'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<conv>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lib_search_path) op: assign_op.Equal rhs: (word.Empty) spids: [38276] ) ] ) (command.ForEach iter_name: dir iter_words: [{($ Id.VSub_DollarName '$newlib_search_path')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$lib_search_path') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$dir') <' '>) <Id.Lit_Star '*'> } ] spids: [38301 38308 38310 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<lib_search_path>} {(DQ <' '> ($ Id.VSub_DollarName '$dir'))} ) ] spids: [38313 38314 38325 -1] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:newlib_search_path) op: assign_op.Equal rhs: (word.Empty) spids: [38334] ) ] ) ] spids: [38255 38269] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$linkmode') <','> ($ Id.VSub_DollarName '$pass') ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <'prog,link'>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:vars) op: assign_op.Equal rhs: {(DQ <deplibs>)} spids: [38362] ) ] ) ] spids: [38341 38359] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:vars) op: assign_op.Equal rhs: {(DQ <'compile_deplibs finalize_deplibs'>)} spids: [38371] ) ] ) ] ) (command.ForEach iter_name: var iter_words: [{($ Id.VSub_DollarName '$vars')} {<dependency_libs>}] do_arg_iter: F body: (command.DoGroup children: [ (C {<eval>} {<Id.Lit_VarLike 'tmp_libs='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) ($ Id.VSub_DollarName '$var') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:new_libs) op: assign_op.Equal rhs: (word.Empty) spids: [38407] ) ] ) (command.ForEach iter_name: deplib iter_words: [{($ Id.VSub_DollarName '$tmp_libs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$deplib')} arms: [ (case_arm pat_list: [{<-L> <Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:new_libs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib') <' '> ($ Id.VSub_DollarName '$new_libs') ) } spids: [38457] ) ] ) ] spids: [38453 38455 38464 -1] ) (case_arm pat_list: [{<-R> <Id.Lit_Star '*'>}] spids: [38467 38469 38471 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.Case to_match: { (DQ <' '> ($ Id.VSub_DollarName '$specialdeplibs') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$deplib') <' '> ) <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: new_libs ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib' ) <' '> ($ Id.VSub_DollarName '$new_libs') ) } spids: [38554] ) ] ) ] spids: [38545 38552 38561 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.Case to_match: { (DQ <' '> ($ Id.VSub_DollarName '$new_libs') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$deplib' ) <' '> ) <Id.Lit_Star '*'> } ] spids: [38579 38586 38588 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: new_libs ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$deplib' ) <' '> ($ Id.VSub_DollarName '$new_libs') ) } spids: [38594] ) ] ) ] spids: [38591 38592 38601 -1] ) ] ) ] spids: [38564 38565 38607 -1] ) ] ) ] spids: [38474 38475 38613 -1] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tmp_libs) op: assign_op.Equal rhs: (word.Empty) spids: [38622] ) ] ) (command.ForEach iter_name: deplib iter_words: [{($ Id.VSub_DollarName '$new_libs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$deplib')} arms: [ (case_arm pat_list: [{<-L> <Id.Lit_Star '*'>}] action: [ (command.Case to_match: { (DQ <' '> ($ Id.VSub_DollarName '$tmp_libs') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$deplib') <' '> ) <Id.Lit_Star '*'> } ] spids: [38660 38667 38669 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<tmp_libs>} { (DQ <' '> ($ Id.VSub_DollarName '$deplib') ) } ) ] spids: [38672 38673 38684 -1] ) ] ) ] spids: [38644 38646 38690 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<tmp_libs>} {(DQ <' '> ($ Id.VSub_DollarName '$deplib'))} ) ] spids: [38693 38694 38705 -1] ) ] ) ] ) ) (C {<eval>} {($ Id.VSub_DollarName '$var') <Id.Lit_Equals '='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$tmp_libs') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) ] ) ) ] spids: [38238 38252] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tmp_libs) op: assign_op.Equal rhs: (word.Empty) spids: [38740] ) ] ) (command.ForEach iter_name: i iter_words: [{($ Id.VSub_DollarName '$dependency_libs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: { (DQ <' '> ($ Id.VSub_DollarName '$predeps') <' '> ($ Id.VSub_DollarName '$postdeps') <' '> ($ Id.VSub_DollarName '$compiler_lib_search_path') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$i') <' '>) <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:i) op: assign_op.Equal rhs: {(DQ )} spids: [38781] ) ] ) ] spids: [38771 38778 38786 -1] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$i'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<tmp_libs>} {(DQ <' '> ($ Id.VSub_DollarName '$i'))} ) ] spids: [38792 38804] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dependency_libs) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$tmp_libs')} spids: [38823] ) ] ) ] ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.Lit_Equals '='>} {<prog>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlfiles) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$newdlfiles'))} spids: [38849] ) ] ) ] spids: [38833 38846] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.Lit_Equals '='>} {<prog>} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$linkmode'))} {<Id.Lit_Equals '='>} {<lib>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlprefiles) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$newdlprefiles'))} spids: [38886] ) ] ) ] spids: [38858 38883] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$linkmode')} arms: [ (case_arm pat_list: [{<oldlib>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$dlfiles') ($ Id.VSub_DollarName '$dlprefiles') ) } ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$dlself'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<no>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_warning>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-dlopen\' is ignored for archives'> ) } ) ] spids: [38907 38932] ) ] ) (command.Case to_match: {(DQ <' '> ($ Id.VSub_DollarName '$deplibs'))} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\ '> ) <-l> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\ '> ) <-L> <Id.Lit_Star '*'> } ] action: [ (C {<func_warning>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-l\' and '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-L\' are ignored for archives'> ) } ) ] spids: [38957 38968 38980 -1] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$rpath'))}) (C {<func_warning>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-rpath\' is ignored for archives'> ) } ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$xrpath'))}) (C {<func_warning>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-R\' is ignored for archives'> ) } ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$vinfo'))}) (C {<func_warning>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-version-info/-version-number\' is ignored for archives'> ) } ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$release'))}) (C {<func_warning>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-release\' is ignored for archives'> ) } ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$export_symbols') ($ Id.VSub_DollarName '$export_symbols_regex') ) } ) (C {<func_warning>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-export-symbols\' is ignored for archives'> ) } ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:build_libtool_libs) op: assign_op.Equal rhs: {<no>} spids: [39097] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:oldlibs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$output'))} spids: [39101] ) ] ) (C {<func_append>} {<objs>} {(DQ ($ Id.VSub_DollarName '$old_deplibs'))}) ] spids: [38903 38904 39116 -1] ) (case_arm pat_list: [{<lib>}] action: [ (command.Case to_match: {($ Id.VSub_DollarName '$outputname')} arms: [ (case_arm pat_list: [{<lib> <Id.Lit_Star '*'>}] action: [ (C {<func_stripname>} {(SQ <lib>)} {(SQ <.la>)} {(DQ ($ Id.VSub_DollarName '$outputname'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:name) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [39155] ) ] ) (C {<eval>} {<Id.Lit_VarLike 'shared_ext='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$shrext_cmds') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) (C {<eval>} {<Id.Lit_VarLike 'libname='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$libname_spec') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) ] spids: [39135 39137 39175 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$module'))} {<Id.Lit_Equals '='>} {<no>} ) (C {<func_fatal_help>} { (DQ <'libtool library '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$output') <'\' must begin with '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'lib\''> ) } ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$need_lib_prefix'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<no>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_stripname>} {(SQ )} {(SQ <.la>)} {(DQ ($ Id.VSub_DollarName '$outputname'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:name) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [39244] ) ] ) (C {<eval>} {<Id.Lit_VarLike 'shared_ext='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$shrext_cmds') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) (C {<eval>} {<Id.Lit_VarLike 'libname='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$libname_spec') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) ] spids: [39209 39223] ) ] else_action: [ (C {<func_stripname>} {(SQ )} {(SQ <.la>)} {(DQ ($ Id.VSub_DollarName '$outputname'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libname) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [39281] ) ] ) ] ) ] spids: [39178 39179 39288 -1] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$objs'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$deplibs_check_method'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<pass_all>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_fatal_error>} { (DQ <'cannot build libtool library '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$output') <'\' from non-libtool objects on this host:'> ($ Id.VSub_DollarName '$objs') ) } ) ] spids: [39309 39323] ) ] else_action: [ (C {<echo>}) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'*** Warning: Linking the shared library '> ($ Id.VSub_DollarName '$output') <' against the non-libtool'> ) } ) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'*** objects '> ($ Id.VSub_DollarName '$objs') <' is not portable!'> ) } ) (C {<func_append>} {<libobjs>} {(DQ <' '> ($ Id.VSub_DollarName '$objs'))} ) ] ) ] spids: [39295 39306] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$dlself'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<no>} ) (C {<func_warning>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-dlopen self\' is ignored for libtool libraries'> ) } ) ] ) (C {<set>} {<dummy>} {($ Id.VSub_DollarName '$rpath')}) (C {<shift>}) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_Pound '$#'))} {<-gt>} {<1>}) (C {<func_warning>} { (DQ <'ignoring multiple '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'-rpath\'s for a libtool library'> ) } ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:install_libdir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [39436] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:oldlibs) op: assign_op.Equal rhs: (word.Empty) spids: [39443] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$rpath'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_libtool_libs'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:oldlibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$libname') <.> ($ Id.VSub_DollarName '$libext') <' '> ($ Id.VSub_DollarName '$oldlibs') ) } spids: [39492] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:build_libtool_libs) op: assign_op.Equal rhs: {<convenience>} spids: [39504] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:build_old_libs) op: assign_op.Equal rhs: {<yes>} spids: [39508] ) ] ) ] spids: [39460 39473] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$vinfo'))}) (C {<func_warning>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) < '-version-info/-version-number\' is ignored for convenience libraries' > ) } ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$release'))}) (C {<func_warning>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-release\' is ignored for convenience libraries'> ) } ) ] ) ] spids: [39446 39457] ) ] else_action: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:save_ifs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$IFS'))} spids: [39565] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(SQ <':'>)} spids: [39571] ) ] ) (C {<set>} {<dummy>} {($ Id.VSub_DollarName '$vinfo')} {<0>} {<0>} {<0>}) (C {<shift>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$save_ifs'))} spids: [39593] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_Number '$7'))}) (C {<func_fatal_help>} { (DQ <'too many parameters to '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'-version-info\''> ) } ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$vinfo_number')} arms: [ (case_arm pat_list: [{<yes>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:number_major) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [39646] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:number_minor) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$2'))} spids: [39652] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:number_revision) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$3'))} spids: [39658] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$version_type')} arms: [ (case_arm pat_list: [{<darwin>} {<linux>} {<osf>} {<windows>} {<none>}] action: [ (C {<func_arith>} {($ Id.VSub_DollarName '$number_major')} {<Id.Lit_Other '+'>} {($ Id.VSub_DollarName '$number_minor')} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:current) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_arith_result')} spids: [39724] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:age) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$number_minor'))} spids: [39728] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:revision) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$number_revision'))} spids: [39734] ) ] ) ] spids: [39703 39712 39740 -1] ) (case_arm pat_list: [{<freebsd-aout>} {<freebsd-elf>} {<qnx>} {<sunos>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:current) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$number_major'))} spids: [39753] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:revision) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$number_minor'))} spids: [39759] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:age) op: assign_op.Equal rhs: {(DQ <0>)} spids: [39765] ) ] ) ] spids: [39743 39750 39771 -1] ) (case_arm pat_list: [{<irix>} {<nonstopux>}] action: [ (C {<func_arith>} {($ Id.VSub_DollarName '$number_major')} {<Id.Lit_Other '+'>} {($ Id.VSub_DollarName '$number_minor')} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:current) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_arith_result')} spids: [39789] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:age) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$number_minor'))} spids: [39793] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:revision) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$number_minor'))} spids: [39799] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lt_irix_increment) op: assign_op.Equal rhs: {<no>} spids: [39805] ) ] ) ] spids: [39774 39777 39809 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_fatal_configuration>} { (DQ ($ Id.VSub_DollarName '$modename') <': unknown library version type '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$version_type') <'\''> ) } ) ] spids: [39812 39813 39827 -1] ) ] ) ] spids: [39642 39643 39833 -1] ) (case_arm pat_list: [{<no>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:current) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [39840] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:revision) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$2'))} spids: [39846] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:age) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$3'))} spids: [39852] ) ] ) ] spids: [39836 39837 39858 -1] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$current')} arms: [ (case_arm pat_list: [ {<0>} {<Id.Lit_LBracket '['> <1-9> <Id.Lit_RBracket ']'>} {<Id.Lit_LBracket '['> <1-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> } {<Id.Lit_LBracket '['> <1-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> } {<Id.Lit_LBracket '['> <1-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> } {<Id.Lit_LBracket '['> <1-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> } ] spids: [39876 39927 39929 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_error>} { (DQ <'CURRENT '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$current') <'\' must be a nonnegative integer'> ) } ) (C {<func_fatal_error>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$vinfo') <'\' is not valid version information'> ) } ) ] spids: [39932 39933 39955 -1] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$revision')} arms: [ (case_arm pat_list: [ {<0>} {<Id.Lit_LBracket '['> <1-9> <Id.Lit_RBracket ']'>} {<Id.Lit_LBracket '['> <1-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> } {<Id.Lit_LBracket '['> <1-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> } {<Id.Lit_LBracket '['> <1-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> } {<Id.Lit_LBracket '['> <1-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> } ] spids: [39969 40020 40022 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_error>} { (DQ <'REVISION '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$revision') <'\' must be a nonnegative integer'> ) } ) (C {<func_fatal_error>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$vinfo') <'\' is not valid version information'> ) } ) ] spids: [40025 40026 40048 -1] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$age')} arms: [ (case_arm pat_list: [ {<0>} {<Id.Lit_LBracket '['> <1-9> <Id.Lit_RBracket ']'>} {<Id.Lit_LBracket '['> <1-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> } {<Id.Lit_LBracket '['> <1-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> } {<Id.Lit_LBracket '['> <1-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> } {<Id.Lit_LBracket '['> <1-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> <Id.Lit_LBracket '['> <0-9> <Id.Lit_RBracket ']'> } ] spids: [40062 40113 40115 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_error>} { (DQ <'AGE '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$age') <'\' must be a nonnegative integer'> ) } ) (C {<func_fatal_error>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$vinfo') <'\' is not valid version information'> ) } ) ] spids: [40118 40119 40141 -1] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$age'))} {<-gt>} {(DQ ($ Id.VSub_DollarName '$current'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_error>} { (DQ <'AGE '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$age') <'\' is greater than the current interface number '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$current') <'\''> ) } ) (C {<func_fatal_error>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$vinfo') <'\' is not valid version information'> ) } ) ] spids: [40148 40163] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:major) op: assign_op.Equal rhs: (word.Empty) spids: [40196] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:versuffix) op: assign_op.Equal rhs: (word.Empty) spids: [40199] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:verstring) op: assign_op.Equal rhs: (word.Empty) spids: [40202] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$version_type')} arms: [ (case_arm pat_list: [{<none>}] spids: [40212 40213 40215 -1] ) (case_arm pat_list: [{<darwin>}] action: [ (C {<func_arith>} {($ Id.VSub_DollarName '$current')} {<->} {($ Id.VSub_DollarName '$age')} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:major) op: assign_op.Equal rhs: {<.> ($ Id.VSub_DollarName '$func_arith_result')} spids: [40240] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:versuffix) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$major') <.> ($ Id.VSub_DollarName '$age') <.> ($ Id.VSub_DollarName '$revision') ) } spids: [40245] ) ] ) (C {<func_arith>} {($ Id.VSub_DollarName '$current')} {<Id.Lit_Other '+'>} {<1>} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:minor_current) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_arith_result')} spids: [40268] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:xlcverstring) op: assign_op.Equal rhs: { (DQ (${ Id.VSub_Name wl) <'-compatibility_version '> (${ Id.VSub_Name wl) ($ Id.VSub_DollarName '$minor_current') <' '> (${ Id.VSub_Name wl) <'-current_version '> (${ Id.VSub_Name wl) ($ Id.VSub_DollarName '$minor_current') <.> ($ Id.VSub_DollarName '$revision') ) } spids: [40272] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:verstring) op: assign_op.Equal rhs: { (DQ <'-compatibility_version '> ($ Id.VSub_DollarName '$minor_current') <' -current_version '> ($ Id.VSub_DollarName '$minor_current') <.> ($ Id.VSub_DollarName '$revision') ) } spids: [40296] ) ] ) ] spids: [40219 40220 40307 -1] ) (case_arm pat_list: [{<freebsd-aout>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:major) op: assign_op.Equal rhs: {(DQ <.> ($ Id.VSub_DollarName '$current'))} spids: [40315] ) ] ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:versuffix) op: assign_op.Equal rhs: { (DQ <.> ($ Id.VSub_DollarName '$current') <.> ($ Id.VSub_DollarName '$revision') ) } spids: [40322] ) ] ) terminator: <Id.Op_Semi _> ) ] spids: [40311 40312 40332 -1] ) (case_arm pat_list: [{<freebsd-elf>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:major) op: assign_op.Equal rhs: {(DQ <.> ($ Id.VSub_DollarName '$current'))} spids: [40340] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:versuffix) op: assign_op.Equal rhs: {(DQ <.> ($ Id.VSub_DollarName '$current'))} spids: [40347] ) ] ) ] spids: [40336 40337 40354 -1] ) (case_arm pat_list: [{<irix>} {<nonstopux>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ <X> ($ Id.VSub_DollarName '$lt_irix_increment') ) } {<Id.Lit_Equals '='>} {(DQ <Xno>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_arith>} {($ Id.VSub_DollarName '$current')} {<->} {($ Id.VSub_DollarName '$age')} ) ] spids: [40366 40382] ) ] else_action: [ (C {<func_arith>} {($ Id.VSub_DollarName '$current')} {<->} {($ Id.VSub_DollarName '$age')} {<Id.Lit_Other '+'>} {<1>} ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:major) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_arith_result')} spids: [40413] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$version_type')} arms: [ (case_arm pat_list: [{<nonstopux>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:verstring_prefix) op: assign_op.Equal rhs: {<nonstopux>} spids: [40428] ) ] ) ] spids: [40425 40426 40431 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:verstring_prefix) op: assign_op.Equal rhs: {<sgi>} spids: [40437] ) ] ) ] spids: [40434 40435 40440 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:verstring) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$verstring_prefix') ($ Id.VSub_DollarName '$major') <.> ($ Id.VSub_DollarName '$revision') ) } spids: [40446] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:loop) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$revision')} spids: [40460] ) ] ) (command.WhileUntil keyword: <Id.KW_While while> cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$loop'))} {<-ne>} {<0>} ) terminator: <Id.Op_Semi _> ) ] ) body: (command.DoGroup children: [ (C {<func_arith>} {($ Id.VSub_DollarName '$revision')} {<->} {($ Id.VSub_DollarName '$loop')} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:iface) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_arith_result')} spids: [40489] ) ] ) (C {<func_arith>} {($ Id.VSub_DollarName '$loop')} {<->} {<1>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:loop) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_arith_result')} spids: [40502] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:verstring) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$verstring_prefix') ($ Id.VSub_DollarName '$major') <.> ($ Id.VSub_DollarName '$iface') <':'> ($ Id.VSub_DollarName '$verstring') ) } spids: [40506] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:major) op: assign_op.Equal rhs: {<.> ($ Id.VSub_DollarName '$major')} spids: [40525] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:versuffix) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$major') <.> ($ Id.VSub_DollarName '$revision') ) } spids: [40530] ) ] ) ] spids: [40358 40363 40538 -1] ) (case_arm pat_list: [{<linux>}] action: [ (C {<func_arith>} {($ Id.VSub_DollarName '$current')} {<->} {($ Id.VSub_DollarName '$age')} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:major) op: assign_op.Equal rhs: {<.> ($ Id.VSub_DollarName '$func_arith_result')} spids: [40558] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:versuffix) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$major') <.> ($ Id.VSub_DollarName '$age') <.> ($ Id.VSub_DollarName '$revision') ) } spids: [40563] ) ] ) ] spids: [40542 40543 40573 -1] ) (case_arm pat_list: [{<osf>}] action: [ (C {<func_arith>} {($ Id.VSub_DollarName '$current')} {<->} {($ Id.VSub_DollarName '$age')} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:major) op: assign_op.Equal rhs: {<.> ($ Id.VSub_DollarName '$func_arith_result')} spids: [40590] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:versuffix) op: assign_op.Equal rhs: { (DQ <.> ($ Id.VSub_DollarName '$current') <.> ($ Id.VSub_DollarName '$age') <.> ($ Id.VSub_DollarName '$revision') ) } spids: [40595] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:verstring) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$current') <.> ($ Id.VSub_DollarName '$age') <.> ($ Id.VSub_DollarName '$revision') ) } spids: [40606] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:loop) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$age')} spids: [40621] ) ] ) (command.WhileUntil keyword: <Id.KW_While while> cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$loop'))} {<-ne>} {<0>} ) terminator: <Id.Op_Semi _> ) ] ) body: (command.DoGroup children: [ (C {<func_arith>} {($ Id.VSub_DollarName '$current')} {<->} {($ Id.VSub_DollarName '$loop')} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:iface) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_arith_result')} spids: [40650] ) ] ) (C {<func_arith>} {($ Id.VSub_DollarName '$loop')} {<->} {<1>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:loop) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_arith_result')} spids: [40663] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:verstring) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$verstring') <':'> (${ Id.VSub_Name iface) <.0> ) } spids: [40667] ) ] ) ] ) ) (C {<func_append>} {<verstring>} {(DQ <':'> (${ Id.VSub_Name current) <.0>)} ) ] spids: [40577 40578 40699 -1] ) (case_arm pat_list: [{<qnx>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:major) op: assign_op.Equal rhs: {(DQ <.> ($ Id.VSub_DollarName '$current'))} spids: [40707] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:versuffix) op: assign_op.Equal rhs: {(DQ <.> ($ Id.VSub_DollarName '$current'))} spids: [40714] ) ] ) ] spids: [40703 40704 40721 -1] ) (case_arm pat_list: [{<sunos>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:major) op: assign_op.Equal rhs: {(DQ <.> ($ Id.VSub_DollarName '$current'))} spids: [40729] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:versuffix) op: assign_op.Equal rhs: { (DQ <.> ($ Id.VSub_DollarName '$current') <.> ($ Id.VSub_DollarName '$revision') ) } spids: [40736] ) ] ) ] spids: [40725 40726 40745 -1] ) (case_arm pat_list: [{<windows>}] action: [ (C {<func_arith>} {($ Id.VSub_DollarName '$current')} {<->} {($ Id.VSub_DollarName '$age')} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:major) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_arith_result')} spids: [40770] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:versuffix) op: assign_op.Equal rhs: {(DQ <-> ($ Id.VSub_DollarName '$major'))} spids: [40774] ) ] ) ] spids: [40749 40750 40781 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_fatal_configuration>} { (DQ <'unknown library version type '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$version_type') <'\''> ) } ) ] spids: [40785 40786 40799 -1] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$vinfo'))}) (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$release'))}) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:major) op: assign_op.Equal rhs: (word.Empty) spids: [40834] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$version_type')} arms: [ (case_arm pat_list: [{<darwin>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:verstring) op: assign_op.Equal rhs: (word.Empty) spids: [40856] ) ] ) ] spids: [40844 40845 40859 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:verstring) op: assign_op.Equal rhs: {(DQ <0.0>)} spids: [40866] ) ] ) ] spids: [40862 40863 40872 -1] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$need_version'))} {<Id.Lit_Equals '='>} {<no>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:versuffix) op: assign_op.Equal rhs: (word.Empty) spids: [40894] ) ] ) ] spids: [40878 40891] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:versuffix) op: assign_op.Equal rhs: {(DQ <.0.0>)} spids: [40900] ) ] ) ] ) ] spids: [40810 40831] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$avoid_version'))} {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$need_version'))} {<Id.Lit_Equals '='>} {<no>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:major) op: assign_op.Equal rhs: (word.Empty) spids: [40945] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:versuffix) op: assign_op.Equal rhs: (word.Empty) spids: [40948] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:verstring) op: assign_op.Equal rhs: {(DQ )} spids: [40951] ) ] ) ] spids: [40917 40942] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$allow_undefined'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$allow_undefined_flag') ) } {<Id.Lit_Equals '='>} {<unsupported>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_warning>} { (DQ <'undefined symbols not allowed in '> ($ Id.VSub_DollarName '$host') <' shared libraries'> ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:build_libtool_libs) op: assign_op.Equal rhs: {<no>} spids: [41005] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:build_old_libs) op: assign_op.Equal rhs: {<yes>} spids: [41009] ) ] ) ] spids: [40980 40993] ) ] ) ] spids: [40964 40977] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:allow_undefined_flag) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$no_undefined_flag'))} spids: [41023] ) ] ) ] ) ] ) (C {<func_generate_dlsyms>} {(DQ ($ Id.VSub_DollarName '$libname'))} {(DQ ($ Id.VSub_DollarName '$libname'))} {(DQ <yes>)} ) (C {<func_append>} {<libobjs>} {(DQ <' '> ($ Id.VSub_DollarName '$symfileobj'))}) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$libobjs'))} {<Id.Lit_Equals '='>} {(DQ <'X '>)} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libobjs) op: assign_op.Equal rhs: (word.Empty) spids: [41077] ) ] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_mode'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<relink>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:removelist) op: assign_op.Equal rhs: (word.Empty) spids: [41106] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tempremovelist) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$output_objdir') <'/*'>)} ) ) } spids: [41109] ) ] ) (command.ForEach iter_name: p iter_words: [{($ Id.VSub_DollarName '$tempremovelist')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$p')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <.> ($ Id.VSub_DollarName '$objext')} {<Id.Lit_Star '*'> <.gcno>} ] spids: [41141 41149 41152 -1] ) (case_arm pat_list: [ {($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$outputname') } {($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$libname') <.> <Id.Lit_Star '*'> } {($ Id.VSub_DollarName '$output_objdir') <'/'> (${ Id.VSub_Name libname) (${ Id.VSub_Name release) <.> <Id.Lit_Star '*'> } ] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ <X> ($ Id.VSub_DollarName '$precious_files_regex' ) ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <X>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Pipeline children: [ (C { ($ Id.VSub_DollarName '$ECHO') } {(DQ ($ Id.VSub_DollarName '$p'))} ) (command.Simple words: [ { ($ Id.VSub_DollarName '$EGREP' ) } {<-e>} { (DQ ($ Id.VSub_DollarName '$precious_files_regex' ) ) } ] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/dev/null'>} ) (redir op: <Id.Redir_GreatAnd '2>&'> loc: (redir_loc.Fd fd:2) arg: {<1>} ) ] do_fork: T ) ] negated: F ) ] ) action: [ (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [41202 41227] ) ] ) ] spids: [41182 41199] ) ] ) (C {<func_append>} {<removelist>} {(DQ <' '> ($ Id.VSub_DollarName '$p'))} ) ] spids: [41155 41179 41249 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] spids: [41252 41253 41255 -1] ) ] ) ] ) ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$removelist'))}) (C {<func_show_eval>} { (DQ (${ Id.VSub_Name RM) <'r '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <removelist> ) } ) ] ) ] spids: [41081 41095] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_old_libs'))} {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_libtool_libs'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<convenience>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<oldlibs>} { (DQ <' '> ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$libname') <.> ($ Id.VSub_DollarName '$libext') ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:oldobjs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$objs') <' '>) (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$libobjs'))} ) (C {($ Id.VSub_DollarName '$SP2NL')}) (C {($ Id.VSub_DollarName '$SED')} { (DQ <'/'> <Id.Lit_BadBackslash '\\'> <.> (${ Id.VSub_Name libext) <Id.Lit_Dollar '$'> <'/d; '> ($ Id.VSub_DollarName '$lo2o') ) } ) (C {($ Id.VSub_DollarName '$NL2SP')}) ] negated: F ) ) } spids: [41345] ) ] ) ] spids: [41296 41323] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$xrpath'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:temp_xrpath) op: assign_op.Equal rhs: (word.Empty) spids: [41434] ) ] ) (command.ForEach iter_name: libdir iter_words: [{($ Id.VSub_DollarName '$xrpath')}] do_arg_iter: F body: (command.DoGroup children: [ (C {<func_replace_sysroot>} {(DQ ($ Id.VSub_DollarName '$libdir'))}) (C {<func_append>} {<temp_xrpath>} { (DQ <' -R'> ($ Id.VSub_DollarName '$func_replace_sysroot_result') ) } ) (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$finalize_rpath') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$libdir') <' '>) <Id.Lit_Star '*'> } ] spids: [41476 41483 41485 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<finalize_rpath>} {(DQ <' '> ($ Id.VSub_DollarName '$libdir'))} ) ] spids: [41488 41489 41500 -1] ) ] ) ] ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$hardcode_into_libs'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<yes>} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_old_libs'))} {<Id.Lit_Equals '='>} {<yes>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dependency_libs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$temp_xrpath') <' '> ($ Id.VSub_DollarName '$dependency_libs') ) } spids: [41538] ) ] ) ] spids: [41509 41535] ) ] ) ] spids: [41416 41427] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:old_dlfiles) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$dlfiles'))} spids: [41557] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlfiles) op: assign_op.Equal rhs: (word.Empty) spids: [41563] ) ] ) (command.ForEach iter_name: lib iter_words: [{($ Id.VSub_DollarName '$old_dlfiles')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: { (DQ <' '> ($ Id.VSub_DollarName '$dlprefiles') <' '> ($ Id.VSub_DollarName '$dlfiles') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$lib') <' '>) <Id.Lit_Star '*'> } ] spids: [41591 41598 41600 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<dlfiles>} {(DQ <' '> ($ Id.VSub_DollarName '$lib'))} ) ] spids: [41603 41604 41615 -1] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:old_dlprefiles) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$dlprefiles'))} spids: [41629] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlprefiles) op: assign_op.Equal rhs: (word.Empty) spids: [41635] ) ] ) (command.ForEach iter_name: lib iter_words: [{($ Id.VSub_DollarName '$old_dlprefiles')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$dlprefiles') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$lib') <' '>) <Id.Lit_Star '*'> } ] spids: [41660 41667 41669 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<dlprefiles>} {(DQ <' '> ($ Id.VSub_DollarName '$lib'))} ) ] spids: [41672 41673 41684 -1] ) ] ) ] ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_libtool_libs'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$rpath'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-cygwin> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-mingw> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-pw32> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-os2> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-beos> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-cegcc> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-haiku> <Id.Lit_Star '*'> } ] spids: [41731 41782 41789 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-rhapsody> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-darwin1.> <Id.Lit_LBracket '['> <012> <Id.Lit_RBracket ']'> } ] action: [ (C {<func_append>} {<deplibs>} {(DQ <' System.ltframework'>)}) ] spids: [41792 41807 41823 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-netbsd> <Id.Lit_Star '*'> } ] spids: [41826 41831 41838 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-openbsd> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-freebsd> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-dragonfly> <Id.Lit_Star '*'> } ] spids: [41841 41862 41869 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-sco3.2v5> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-sco5v6> <Id.Lit_Star '*'> } ] spids: [41872 41885 41892 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-sysv4.2uw2> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-sysv5> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-unixware> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-OpenUNIX> <Id.Lit_Star '*'> } ] spids: [41895 41924 41931 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$build_libtool_need_lc' ) ) } {<Id.Lit_Equals '='>} {(DQ <yes>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<deplibs>} {(DQ <' -lc'>)}) ] spids: [41942 41957] ) ] ) ] spids: [41934 41935 41972 -1] ) ] ) ] spids: [41710 41721] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:name_save) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$name')} spids: [41986] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libname_save) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$libname')} spids: [41990] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:release_save) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$release')} spids: [41994] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:versuffix_save) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$versuffix')} spids: [41998] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:major_save) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$major')} spids: [42002] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:release) op: assign_op.Equal rhs: {(DQ )} spids: [42018] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:versuffix) op: assign_op.Equal rhs: {(DQ )} spids: [42023] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:major) op: assign_op.Equal rhs: {(DQ )} spids: [42028] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:newdeplibs) op: assign_op.Equal rhs: (word.Empty) spids: [42033] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:droppeddeps) op: assign_op.Equal rhs: {<no>} spids: [42036] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$deplibs_check_method')} arms: [ (case_arm pat_list: [{<pass_all>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:newdeplibs) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$deplibs')} spids: [42071] ) ] ) ] spids: [42047 42048 42075 -1] ) (case_arm pat_list: [{<test_compile>}] action: [ (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (C {($ Id.VSub_DollarName '$RM')} {<conftest.c>}) ] ) (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<conftest.c>} ) (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {<EOF>} here_end_span_id: 42118 stdin_parts: [<'\t int main() { return 0; }\n'>] ) ) ] do_fork: T ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (C {($ Id.VSub_DollarName '$RM')} {<conftest>}) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {($ Id.VSub_DollarName '$LTCC')} {($ Id.VSub_DollarName '$LTCFLAGS')} {<-o>} {<conftest>} {<conftest.c>} {($ Id.VSub_DollarName '$deplibs')} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:ldd_output) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<ldd>} {<conftest>}) ) } spids: [42147] ) ] ) (command.ForEach iter_name: i iter_words: [{($ Id.VSub_DollarName '$deplibs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$i')} arms: [ (case_arm pat_list: [{<-l> <Id.Lit_Star '*'>}] action: [ (C {<func_stripname>} {<-l>} {(SQ )} {(DQ ($ Id.VSub_DollarName '$i'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:name) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$func_stripname_result' ) } spids: [42193] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ <X> ($ Id.VSub_DollarName '$allow_libtool_libs_with_static_runtimes' ) ) } {<Id.Lit_Equals '='>} {(DQ <Xyes>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: { (DQ <' '> ($ Id.VSub_DollarName '$predeps' ) <' '> ($ Id.VSub_DollarName '$postdeps') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$i' ) <' '> ) <Id.Lit_Star '*'> } ] action: [ (C {<func_append>} {<newdeplibs>} {(DQ <' '> ($ Id.VSub_DollarName '$i'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: i ) op: assign_op.Equal rhs: {(DQ )} spids: [42250] ) ] ) ] spids: [42230 42237 42255 -1] ) ] ) ] spids: [42197 42214] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$i' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: libname ) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`' > child: (C {<eval>} { (DQ (word_part.EscapedLiteral token: < Id.Lit_EscapedChar '\\$' > ) <'ECHO '> ) ($ Id.VSub_DollarName '$libname_spec') (DQ ) } ) ) } spids: [42279] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: deplib_matches ) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`' > child: (C {<eval>} { (DQ (word_part.EscapedLiteral token: < Id.Lit_EscapedChar '\\$' > ) <'ECHO '> ) ($ Id.VSub_DollarName '$library_names_spec') (DQ ) } ) ) } spids: [42301] ) ] ) (command.Sentence child: (C {<set>} {<dummy>} { ($ Id.VSub_DollarName '$deplib_matches' ) } ) terminator: <Id.Op_Semi _> ) (C {<shift>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: deplib_match ) op: assign_op.Equal rhs: {($ Id.VSub_Number '$1')} spids: [42333] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (command_sub left_token: < Id.Left_Backtick '`' > child: (C { < expr > } {(DQ ($ Id.VSub_DollarName '$ldd_output'))} {<Id.Lit_Colon ':'>} { (DQ < '.*' > ($ Id.VSub_DollarName '$deplib_match') ) } ) ) } {<-ne>} {<0>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<newdeplibs>} {(DQ <' '> ($ Id.VSub_DollarName '$i'))} ) ] spids: [42337 42364] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: droppeddeps ) op: assign_op.Equal rhs: {<yes>} spids: [42380] ) ] ) (C {<echo>}) (C { ($ Id.VSub_DollarName '$ECHO' ) } {(DQ <'*** Warning: dynamic linker does not accept needed library '> ($ Id.VSub_DollarName '$i') <.>)} ) (C {<echo>} { (DQ < '*** I have the capability to make that library automatically link in when' > ) } ) (C {<echo>} { (DQ < '*** you link to this library. But I can only do this if you have a' > ) } ) (C {<echo>} { (DQ < '*** shared version of the library, which I believe you do not have' > ) } ) (C {<echo>} { (DQ < '*** because a test_compile did reveal that the linker did not use it for' > ) } ) (C {<echo>} { (DQ < '*** its dynamic dependency list that programs get resolved with at runtime.' > ) } ) ] ) ] spids: [42264 42276] ) ] ) ] spids: [42176 42178 42437 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<newdeplibs>} {(DQ <' '> ($ Id.VSub_DollarName '$i'))} ) ] spids: [42440 42441 42454 -1] ) ] ) ] ) ) ] spids: [42129 42144] ) ] else_action: [ (command.ForEach iter_name: i iter_words: [{($ Id.VSub_DollarName '$deplibs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$i')} arms: [ (case_arm pat_list: [{<-l> <Id.Lit_Star '*'>}] action: [ (C {<func_stripname>} {<-l>} {(SQ )} {(DQ ($ Id.VSub_DollarName '$i'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:name) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$func_stripname_result' ) } spids: [42510] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (C {($ Id.VSub_DollarName '$RM')} {<conftest>} ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C { ($ Id.VSub_DollarName '$LTCC' ) } {($ Id.VSub_DollarName '$LTCFLAGS')} {<-o>} {<conftest>} {<conftest.c>} {($ Id.VSub_DollarName '$i')} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: ldd_output ) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<ldd>} {<conftest>}) ) } spids: [42541] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ <X> ($ Id.VSub_DollarName '$allow_libtool_libs_with_static_runtimes' ) ) } {<Id.Lit_Equals '='>} {(DQ <Xyes>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: { (DQ <' '> ($ Id.VSub_DollarName '$predeps' ) <' '> ($ Id.VSub_DollarName '$postdeps') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$i' ) <' '> ) <Id.Lit_Star '*'> } ] action: [ (C {<func_append>} {<newdeplibs>} {(DQ <' '> ($ Id.VSub_DollarName '$i'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: i ) op: assign_op.Equal rhs: {(DQ )} spids: [42604] ) ] ) ] spids: [ 42584 42591 42609 -1 ] ) ] ) ] spids: [42551 42568] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$i' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: libname ) op: assign_op.Equal rhs: { (command_sub left_token: < Id.Left_Backtick '`' > child: (C {<eval>} { (DQ (word_part.EscapedLiteral token: < Id.Lit_EscapedChar '\\$' > ) <'ECHO '> ) ($ Id.VSub_DollarName '$libname_spec') (DQ ) } ) ) } spids: [42633] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: deplib_matches ) op: assign_op.Equal rhs: { (command_sub left_token: < Id.Left_Backtick '`' > child: (C {<eval>} { (DQ (word_part.EscapedLiteral token: < Id.Lit_EscapedChar '\\$' > ) <'ECHO '> ) ($ Id.VSub_DollarName '$library_names_spec') (DQ ) } ) ) } spids: [42655] ) ] ) (command.Sentence child: (C {<set>} {<dummy>} { ($ Id.VSub_DollarName '$deplib_matches' ) } ) terminator: <Id.Op_Semi _> ) (C {<shift>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: deplib_match ) op: assign_op.Equal rhs: { ($ Id.VSub_Number '$1' ) } spids: [42687] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (command_sub left_token: < Id.Left_Backtick '`' > child: (C { < expr > } {(DQ ($ Id.VSub_DollarName '$ldd_output'))} {<Id.Lit_Colon ':'>} { (DQ < '.*' > ($ Id.VSub_DollarName '$deplib_match') ) } ) ) } {<-ne>} {<0>} ) terminator: <Id.Op_Semi _ > ) ] ) action: [ (C {<func_append>} {<newdeplibs>} {(DQ <' '> ($ Id.VSub_DollarName '$i'))} ) ] spids: [42691 42718] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: droppeddeps ) op: assign_op.Equal rhs: {<yes>} spids: [42734] ) ] ) (C {<echo>}) (C { ($ Id.VSub_DollarName '$ECHO' ) } {(DQ <'*** Warning: dynamic linker does not accept needed library '> ($ Id.VSub_DollarName '$i') <.>)} ) (C {<echo>} { (DQ < '*** I have the capability to make that library automatically link in when' > ) } ) (C {<echo>} { (DQ < '*** you link to this library. But I can only do this if you have a' > ) } ) (C {<echo>} { (DQ < '*** shared version of the library, which you do not appear to have' > ) } ) (C {<echo>} { (DQ < '*** because a test_compile did reveal that the linker did not use this one' > ) } ) (C {<echo>} { (DQ < '*** as a dynamic dependency that programs can get resolved with at runtime.' > ) } ) ] ) ] spids: [42618 42630] ) ] ) ] spids: [42523 42538] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: droppeddeps ) op: assign_op.Equal rhs: {<yes>} spids: [42794] ) ] ) (C {<echo>}) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'*** Warning! Library '> ($ Id.VSub_DollarName '$i') <' is needed by this library but I was not able to'> ) } ) (C {<echo>} { (DQ < '*** make it link in! You will probably need to install it or some' > ) } ) (C {<echo>} { (DQ < '*** library that it depends on before this library will be fully' > ) } ) (C {<echo>} { (DQ < '*** functional. Installing it before continuing would be even better.' > ) } ) ] ) ] spids: [42493 42495 42834 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<newdeplibs>} {(DQ <' '> ($ Id.VSub_DollarName '$i'))} ) ] spids: [42837 42838 42851 -1] ) ] ) ] ) ) ] ) ] spids: [42078 42079 42863 -1] ) (case_arm pat_list: [{<file_magic> <Id.Lit_Star '*'>}] action: [ (command.Sentence child: (C {<set>} {<dummy>} {($ Id.VSub_DollarName '$deplibs_check_method')} ) terminator: <Id.Op_Semi _> ) (C {<shift>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:file_magic_regex) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<expr>} { (DQ ($ Id.VSub_DollarName '$deplibs_check_method') ) } {<Id.Lit_Colon ':'>} { (DQ ($ Id.VSub_Number '$1') <' '> <Id.Lit_BadBackslash '\\'> <'(.*'> <Id.Lit_BadBackslash '\\'> <')'> ) } ) ) } spids: [42881] ) ] ) (command.ForEach iter_name: a_deplib iter_words: [{($ Id.VSub_DollarName '$deplibs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$a_deplib')} arms: [ (case_arm pat_list: [{<-l> <Id.Lit_Star '*'>}] action: [ (C {<func_stripname>} {<-l>} {(SQ )} {(DQ ($ Id.VSub_DollarName '$a_deplib'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:name) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$func_stripname_result' ) } spids: [42944] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ <X> ($ Id.VSub_DollarName '$allow_libtool_libs_with_static_runtimes' ) ) } {<Id.Lit_Equals '='>} {(DQ <Xyes>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: { (DQ <' '> ($ Id.VSub_DollarName '$predeps') <' '> ($ Id.VSub_DollarName '$postdeps') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$a_deplib' ) <' '> ) <Id.Lit_Star '*'> } ] action: [ (C {<func_append>} {<newdeplibs>} { (DQ <' '> ($ Id.VSub_DollarName '$a_deplib' ) ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: a_deplib ) op: assign_op.Equal rhs: {(DQ )} spids: [43001] ) ] ) ] spids: [42981 42988 43006 -1] ) ] ) ] spids: [42948 42965] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$a_deplib' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: libname ) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<eval>} { (DQ (word_part.EscapedLiteral token: < Id.Lit_EscapedChar '\\$' > ) <'ECHO '> ) ($ Id.VSub_DollarName '$libname_spec') (DQ ) } ) ) } spids: [43030] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$file_magic_glob' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: libnameglob ) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`' > child: (command.Pipeline children: [ (C { < func_echo_all > } {(DQ ($ Id.VSub_DollarName '$libname'))} ) (C { ($ Id.VSub_DollarName '$SED' ) } {<-e>} {($ Id.VSub_DollarName '$file_magic_glob')} ) ] negated: F ) ) } spids: [43066] ) ] ) ] spids: [43052 43063] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: libnameglob ) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$libname' ) } spids: [43089] ) ] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$want_nocaseglob' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: nocaseglob ) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<shopt>} {<-p>} {<nocaseglob>} ) ) } spids: [43108] ) ] ) ] ) (command.ForEach iter_name: i iter_words: [ { ($ Id.VSub_DollarName '$lib_search_path' ) } { ($ Id.VSub_DollarName '$sys_lib_search_path' ) } { ($ Id.VSub_DollarName '$shlib_search_path' ) } ] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$want_nocaseglob' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<shopt>} {<-s>} {<nocaseglob>} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: potential_libs ) op: assign_op.Equal rhs: { (command_sub left_token: < Id.Left_Backtick '`' > child: (command.Simple words: [ {<ls>} { ($ Id.VSub_DollarName '$i' ) <'/'> ($ Id.VSub_DollarName '$libnameglob') <Id.Lit_LBracket '['> <.-> <Id.Lit_RBracket ']'> < Id.Lit_Star '*' > } ] redirects: [ (redir op: < Id.Redir_Great '2>' > loc: (redir_loc.Fd fd: 2 ) arg: { < '/dev/null' > } ) ] do_fork: T ) ) } spids: [43159] ) ] ) (C { ($ Id.VSub_DollarName '$nocaseglob' ) } ) ] spids: [43136 43149] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: potential_libs ) op: assign_op.Equal rhs: { (command_sub left_token: < Id.Left_Backtick '`' > child: (command.Simple words: [ {<ls>} { ($ Id.VSub_DollarName '$i' ) <'/'> ($ Id.VSub_DollarName '$libnameglob') <Id.Lit_LBracket '['> <.-> <Id.Lit_RBracket ']'> < Id.Lit_Star '*' > } ] redirects: [ (redir op: < Id.Redir_Great '2>' > loc: (redir_loc.Fd fd: 2 ) arg: { < '/dev/null' > } ) ] do_fork: T ) ) } spids: [43184] ) ] ) ] ) (command.ForEach iter_name: potent_lib iter_words: [ { ($ Id.VSub_DollarName '$potential_libs' ) } ] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.Pipeline children: [ (command.Simple words: [ { < ls > } { < -lLd > } { (DQ ($ Id.VSub_DollarName '$potent_lib' ) ) } ] redirects: [ (redir op: < Id.Redir_Great '2>' > loc: (redir_loc.Fd fd: 2 ) arg: { < '/dev/null' > } ) ] do_fork: T ) (command.Simple words: [ { ($ Id.VSub_DollarName '$GREP' ) } { (DQ < ' -> ' > ) } ] redirects: [ (redir op: < Id.Redir_Great '>' > loc: (redir_loc.Fd fd: 1 ) arg: { < '/dev/null' > } ) ] do_fork: T ) ] negated: F ) terminator: < Id.Op_Semi _ > ) ] ) action: [ (command.ControlFlow token: < Id.ControlFlow_Continue continue > ) ] spids: [43222 43248] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: potlib ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$potent_lib' ) ) } spids: [43277] ) ] ) (command.WhileUntil keyword: <Id.KW_While while> cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple words: [ {<test>} {<-h>} { (DQ ($ Id.VSub_DollarName '$potlib' ) ) } ] redirects: [ (redir op: < Id.Redir_Great '2>' > loc: (redir_loc.Fd fd: 2 ) arg: { < '/dev/null' > } ) ] do_fork: T ) terminator: <Id.Op_Semi _ > ) ] ) body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: potliblink ) op: assign_op.Equal rhs: { (command_sub left_token: < Id.Left_Backtick '`' > child: (command.Pipeline children: [ (C { < ls > } {<-ld>} {($ Id.VSub_DollarName '$potlib')} ) (C { (${ Id.VSub_Name SED ) } {(SQ <'s/.* -> //'>)} ) ] negated: F ) ) } spids: [ 43300 ] ) ] ) (command.Case to_match: { ($ Id.VSub_DollarName '$potliblink' ) } arms: [ (case_arm pat_list: [ { < Id.Lit_LBracket '[' > (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <'/'> <Id.Lit_RBracket ']'> < Id.Lit_Star '*' > } { < Id.Lit_LBracket '[' > <A-Za-z> <Id.Lit_RBracket ']'> <Id.Lit_Colon ':'> <Id.Lit_LBracket '['> (word_part.EscapedLiteral token: < Id.Lit_EscapedChar '\\\\' > ) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: potlib ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$potliblink' ) ) } spids: [ 43348 ] ) ] ) ] spids: [ 43329 43346 43352 -1 ] ) (case_arm pat_list: [ { < Id.Lit_Star '*' > } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: potlib ) op: assign_op.Equal rhs: { (command_sub left_token: < Id.Left_Backtick '`' > child: (command.Pipeline children: [ (C { ($ Id.VSub_DollarName '$ECHO' ) } {(DQ ($ Id.VSub_DollarName '$potlib'))} ) (C { ($ Id.VSub_DollarName '$SED' ) } {(SQ <'s,[^/]*$,,'>)} ) ] negated: F ) ) (DQ ($ Id.VSub_DollarName '$potliblink')) } spids: [ 43358 ] ) ] ) ] spids: [ 43355 43356 43379 -1 ] ) ] ) ] ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.Pipeline children: [ (command.Simple words: [ { < eval > } { ($ Id.VSub_DollarName '$file_magic_cmd' ) } { (word_part.EscapedLiteral token: < Id.Lit_EscapedChar '\\"' > ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <potlib> (word_part.EscapedLiteral token: < Id.Lit_EscapedChar '\\"' > ) } ] redirects: [ (redir op: < Id.Redir_Great '2>' > loc: (redir_loc.Fd fd: 2 ) arg: { < '/dev/null' > } ) ] do_fork: T ) (C { ($ Id.VSub_DollarName '$SED' ) } {<-e>} {<10q>} ) (command.Simple words: [ { ($ Id.VSub_DollarName '$EGREP' ) } { (DQ ($ Id.VSub_DollarName '$file_magic_regex' ) ) } ] redirects: [ (redir op: < Id.Redir_Great '>' > loc: (redir_loc.Fd fd: 1 ) arg: { < '/dev/null' > } ) ] do_fork: T ) ] negated: F ) terminator: < Id.Op_Semi _ > ) ] ) action: [ (C {<func_append>} {<newdeplibs>} {(DQ <' '> ($ Id.VSub_DollarName '$a_deplib'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: a_deplib ) op: assign_op.Equal rhs: {(DQ )} spids: [ 43438 ] ) ] ) (command.ControlFlow token: < Id.ControlFlow_Break break > arg_word: {<2>} ) ] spids: [43388 43425] ) ] ) ] ) ) ] ) ) ] spids: [43015 43027] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$a_deplib' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: droppeddeps ) op: assign_op.Equal rhs: {<yes>} spids: [43475] ) ] ) (C {<echo>}) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ < '*** Warning: linker path does not have real file for library ' > ($ Id.VSub_DollarName '$a_deplib') <.> ) } ) (C {<echo>} { (DQ < '*** I have the capability to make that library automatically link in when' > ) } ) (C {<echo>} { (DQ < '*** you link to this library. But I can only do this if you have a' > ) } ) (C {<echo>} { (DQ < '*** shared version of the library, which you do not appear to have' > ) } ) (C {<echo>} { (DQ < '*** because I did check the linker path looking for a file starting' > ) } ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$potlib' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C { ($ Id.VSub_DollarName '$ECHO') } { (DQ <'*** with '> ($ Id.VSub_DollarName '$libname' ) <' but no candidates were found. (...for file magic test)'> ) } ) ] spids: [43519 43531] ) ] else_action: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'*** with '> ($ Id.VSub_DollarName '$libname' ) <' and none of the candidates passed a file format test'> ) } ) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ < '*** using a file magic. Last file checked: ' > ($ Id.VSub_DollarName '$potlib') ) } ) ] ) ] spids: [43460 43472] ) ] ) ] spids: [42927 42929 43569 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<newdeplibs>} {(DQ <' '> ($ Id.VSub_DollarName '$a_deplib'))} ) ] spids: [43572 43573 43590 -1] ) ] ) ] ) ) ] spids: [42866 42868 43602 -1] ) (case_arm pat_list: [{<match_pattern> <Id.Lit_Star '*'>}] action: [ (command.Sentence child: (C {<set>} {<dummy>} {($ Id.VSub_DollarName '$deplibs_check_method')} ) terminator: <Id.Op_Semi _> ) (C {<shift>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:match_pattern_regex) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<expr>} { (DQ ($ Id.VSub_DollarName '$deplibs_check_method') ) } {<Id.Lit_Colon ':'>} { (DQ ($ Id.VSub_Number '$1') <' '> <Id.Lit_BadBackslash '\\'> <'(.*'> <Id.Lit_BadBackslash '\\'> <')'> ) } ) ) } spids: [43620] ) ] ) (command.ForEach iter_name: a_deplib iter_words: [{($ Id.VSub_DollarName '$deplibs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$a_deplib')} arms: [ (case_arm pat_list: [{<-l> <Id.Lit_Star '*'>}] action: [ (C {<func_stripname>} {<-l>} {(SQ )} {(DQ ($ Id.VSub_DollarName '$a_deplib'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:name) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$func_stripname_result' ) } spids: [43683] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ <X> ($ Id.VSub_DollarName '$allow_libtool_libs_with_static_runtimes' ) ) } {<Id.Lit_Equals '='>} {(DQ <Xyes>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: { (DQ <' '> ($ Id.VSub_DollarName '$predeps') <' '> ($ Id.VSub_DollarName '$postdeps') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$a_deplib' ) <' '> ) <Id.Lit_Star '*'> } ] action: [ (C {<func_append>} {<newdeplibs>} { (DQ <' '> ($ Id.VSub_DollarName '$a_deplib' ) ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: a_deplib ) op: assign_op.Equal rhs: {(DQ )} spids: [43740] ) ] ) ] spids: [43720 43727 43745 -1] ) ] ) ] spids: [43687 43704] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$a_deplib' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: libname ) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<eval>} { (DQ (word_part.EscapedLiteral token: < Id.Lit_EscapedChar '\\$' > ) <'ECHO '> ) ($ Id.VSub_DollarName '$libname_spec') (DQ ) } ) ) } spids: [43769] ) ] ) (command.ForEach iter_name: i iter_words: [ { ($ Id.VSub_DollarName '$lib_search_path' ) } { ($ Id.VSub_DollarName '$sys_lib_search_path' ) } { ($ Id.VSub_DollarName '$shlib_search_path' ) } ] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: potential_libs ) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`' > child: (command.Simple words: [ {<ls>} { ($ Id.VSub_DollarName '$i' ) <'/'> ($ Id.VSub_DollarName '$libname') <Id.Lit_LBracket '['> <.-> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } ] redirects: [ (redir op: < Id.Redir_Great '2>' > loc: (redir_loc.Fd fd: 2 ) arg: { < '/dev/null' > } ) ] do_fork: T ) ) } spids: [43807] ) ] ) (command.ForEach iter_name: potent_lib iter_words: [ { ($ Id.VSub_DollarName '$potential_libs' ) } ] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: potlib ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$potent_lib' ) ) } spids: [43838] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.Pipeline children: [ (command.Simple words: [ { < eval > } { (DQ (word_part.EscapedLiteral token: < Id.Lit_EscapedChar '\\$' > ) <'ECHO '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ($ Id.VSub_DollarName '$potent_lib' ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ) } ] redirects: [ (redir op: < Id.Redir_Great '2>' > loc: (redir_loc.Fd fd: 2 ) arg: { < '/dev/null' > } ) ] do_fork: T ) (C { ($ Id.VSub_DollarName '$SED' ) } {<10q>} ) (command.Simple words: [ { ($ Id.VSub_DollarName '$EGREP' ) } { (DQ ($ Id.VSub_DollarName '$match_pattern_regex' ) ) } ] redirects: [ (redir op: < Id.Redir_Great '>' > loc: (redir_loc.Fd fd: 1 ) arg: { < '/dev/null' > } ) ] do_fork: T ) ] negated: F ) terminator: < Id.Op_Semi _ > ) ] ) action: [ (C {<func_append>} {<newdeplibs>} {(DQ <' '> ($ Id.VSub_DollarName '$a_deplib'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: a_deplib ) op: assign_op.Equal rhs: {(DQ )} spids: [ 43896 ] ) ] ) (command.ControlFlow token: < Id.ControlFlow_Break break > arg_word: {<2>} ) ] spids: [43847 43883] ) ] ) ] ) ) ] ) ) ] spids: [43754 43766] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$a_deplib' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: droppeddeps ) op: assign_op.Equal rhs: {<yes>} spids: [43933] ) ] ) (C {<echo>}) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ < '*** Warning: linker path does not have real file for library ' > ($ Id.VSub_DollarName '$a_deplib') <.> ) } ) (C {<echo>} { (DQ < '*** I have the capability to make that library automatically link in when' > ) } ) (C {<echo>} { (DQ < '*** you link to this library. But I can only do this if you have a' > ) } ) (C {<echo>} { (DQ < '*** shared version of the library, which you do not appear to have' > ) } ) (C {<echo>} { (DQ < '*** because I did check the linker path looking for a file starting' > ) } ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$potlib' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C { ($ Id.VSub_DollarName '$ECHO') } { (DQ <'*** with '> ($ Id.VSub_DollarName '$libname' ) <' but no candidates were found. (...for regex pattern test)'> ) } ) ] spids: [43977 43989] ) ] else_action: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'*** with '> ($ Id.VSub_DollarName '$libname' ) <' and none of the candidates passed a file format test'> ) } ) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ < '*** using a regex pattern. Last file checked: ' > ($ Id.VSub_DollarName '$potlib') ) } ) ] ) ] spids: [43918 43930] ) ] ) ] spids: [43666 43668 44027 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<newdeplibs>} {(DQ <' '> ($ Id.VSub_DollarName '$a_deplib'))} ) ] spids: [44030 44031 44048 -1] ) ] ) ] ) ) ] spids: [43605 43607 44060 -1] ) (case_arm pat_list: [{<none>} {<unknown>} {<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:newdeplibs) op: assign_op.Equal rhs: {(DQ )} spids: [44075] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tmp_deplibs) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ <' '> ($ Id.VSub_DollarName '$deplibs'))} ) (C {($ Id.VSub_DollarName '$SED')} {(SQ <'s/ -lc$//; s/ -[LR][^ ]*//g'>)} ) ] negated: F ) ) } spids: [44080] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ <X> ($ Id.VSub_DollarName '$allow_libtool_libs_with_static_runtimes' ) ) } {<Id.Lit_Equals '='>} {(DQ <Xyes>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ForEach iter_name: i iter_words: [ {($ Id.VSub_DollarName '$predeps')} {($ Id.VSub_DollarName '$postdeps')} ] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tmp_deplibs) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C { ($ Id.VSub_DollarName '$ECHO' ) } {(DQ <' '> ($ Id.VSub_DollarName '$tmp_deplibs'))} ) (C { ($ Id.VSub_DollarName '$SED' ) } {(DQ <'s,'> ($ Id.VSub_DollarName '$i') <',,'>)} ) ] negated: F ) ) } spids: [44140] ) ] ) ] ) ) ] spids: [44101 44118] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$tmp_deplibs')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <Id.Lit_LBracket '['> <Id.KW_Bang '!'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\\t'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\ '>) <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } ] action: [ (C {<echo>}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ <X> ($ Id.VSub_DollarName '$deplibs_check_method' ) ) } {<Id.Lit_Equals '='>} {(DQ <Xnone>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<echo>} { (DQ < '*** Warning: inter-library dependencies are not supported in this platform.' > ) } ) ] spids: [44189 44205] ) ] else_action: [ (C {<echo>} { (DQ < '*** Warning: inter-library dependencies are not known to be supported.' > ) } ) ] ) (C {<echo>} { (DQ < '*** All declared inter-library dependencies are being dropped.' > ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:droppeddeps) op: assign_op.Equal rhs: {<yes>} spids: [44235] ) ] ) ] spids: [44176 44183 44239 -1] ) ] ) ] spids: [44063 44072 44245 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:versuffix) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$versuffix_save')} spids: [44251] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:major) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$major_save')} spids: [44255] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:release) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$release_save')} spids: [44259] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libname) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$libname_save')} spids: [44263] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:name) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$name_save')} spids: [44267] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-rhapsody> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-darwin1.> <Id.Lit_LBracket '['> <012> <Id.Lit_RBracket ']'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:newdeplibs) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <' '> ($ Id.VSub_DollarName '$newdeplibs') ) } ) (C {($ Id.VSub_DollarName '$SED')} {(SQ <'s/ -lc / System.ltframework /'>)} ) ] negated: F ) ) } spids: [44301] ) ] ) ] spids: [44279 44294 44322 -1] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$droppeddeps'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$module'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<echo>}) (C {<echo>} { (DQ < '*** Warning: libtool could not satisfy all declared inter-library' > ) } ) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <'*** dependencies of module '> ($ Id.VSub_DollarName '$libname') <'. Therefore, libtool will create'> ) } ) (C {<echo>} { (DQ < '*** a static module, that should work as long as the dlopening' > ) } ) (C {<echo>} { (DQ < '*** application is linked with the -dlopen flag.' > ) } ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$global_symbol_pipe' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<echo>}) (C {<echo>} { (DQ < '*** However, this would only work if libtool was able to extract symbol' > ) } ) (C {<echo>} { (DQ <'*** lists from a program, using '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'nm\' or equivalent, but libtool could'> ) } ) (C {<echo>} { (DQ < '*** not find such a program. So, this module is probably useless.' > ) } ) (C {<echo>} { (DQ <'*** '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) <'nm\' from GNU binutils and a full rebuild may help.'> ) } ) ] spids: [44394 44405] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$build_old_libs' ) ) } {<Id.Lit_Equals '='>} {<no>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:oldlibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$output_objdir' ) <'/'> ($ Id.VSub_DollarName '$libname') <.> ($ Id.VSub_DollarName '$libext') ) } spids: [44462] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: build_libtool_libs ) op: assign_op.Equal rhs: {<module>} spids: [44472] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:build_old_libs) op: assign_op.Equal rhs: {<yes>} spids: [44476] ) ] ) ] spids: [44446 44459] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:build_libtool_libs) op: assign_op.Equal rhs: {<no>} spids: [44483] ) ] ) ] ) ] spids: [44345 44358] ) ] else_action: [ (C {<echo>} { (DQ < '*** The inter-library dependencies that have been dropped here will be' > ) } ) (C {<echo>} { (DQ < '*** automatically added whenever a program is linked with this library' > ) } ) (C {<echo>} {(DQ <'*** or is declared to -dlopen it.'>)}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$allow_undefined' ) ) } {<Id.Lit_Equals '='>} {<no>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<echo>}) (C {<echo>} { (DQ < '*** Since this library must not contain undefined symbols,' > ) } ) (C {<echo>} { (DQ < '*** because either the platform does not support them or' > ) } ) (C {<echo>} { (DQ < '*** it was explicitly requested with -no-undefined,' > ) } ) (C {<echo>} { (DQ < '*** libtool will only create a static version of it.' > ) } ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$build_old_libs' ) ) } {<Id.Lit_Equals '='>} {<no>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:oldlibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$output_objdir' ) <'/'> ($ Id.VSub_DollarName '$libname') <.> ($ Id.VSub_DollarName '$libext') ) } spids: [44578] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: build_libtool_libs ) op: assign_op.Equal rhs: {<module>} spids: [44588] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: build_old_libs ) op: assign_op.Equal rhs: {<yes>} spids: [44592] ) ] ) ] spids: [44562 44575] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: build_libtool_libs ) op: assign_op.Equal rhs: {<no>} spids: [44599] ) ] ) ] ) ] spids: [44515 44528] ) ] ) ] ) ] spids: [44329 44342] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$newdeplibs')} spids: [44619] ) ] ) ] spids: [41694 41707] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-darwin> <Id.Lit_Star '*'>} ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:newdeplibs) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ <' '> ($ Id.VSub_DollarName '$newdeplibs'))} ) (C {($ Id.VSub_DollarName '$SED')} { (SQ < 's% \\([^ $]*\\).ltframework% -framework \\1%g' > ) } ) ] negated: F ) ) } spids: [44645] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:new_inherited_linker_flags) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <' '> ($ Id.VSub_DollarName '$new_inherited_linker_flags' ) ) } ) (C {($ Id.VSub_DollarName '$SED')} { (SQ < 's% \\([^ $]*\\).ltframework% -framework \\1%g' > ) } ) ] negated: F ) ) } spids: [44672] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ <' '> ($ Id.VSub_DollarName '$deplibs'))} ) (C {($ Id.VSub_DollarName '$SED')} { (SQ < 's% \\([^ $]*\\).ltframework% -framework \\1%g' > ) } ) ] negated: F ) ) } spids: [44699] ) ] ) ] spids: [44637 44642 44726 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:new_libs) op: assign_op.Equal rhs: (word.Empty) spids: [44741] ) ] ) (command.ForEach iter_name: path iter_words: [{($ Id.VSub_DollarName '$notinst_path')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {(DQ <' '> ($ Id.VSub_DollarName '$new_libs') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' -L'> ($ Id.VSub_DollarName '$path') <'/'> ($ Id.VSub_DollarName '$objdir') <' '> ) <Id.Lit_Star '*'> } ] spids: [44767 44776 44778 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.Case to_match: {(DQ <' '> ($ Id.VSub_DollarName '$deplibs') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' -L'> ($ Id.VSub_DollarName '$path') <'/'> ($ Id.VSub_DollarName '$objdir') <' '> ) <Id.Lit_Star '*'> } ] action: [ (C {<func_append>} {<new_libs>} { (DQ <' -L'> ($ Id.VSub_DollarName '$path') <'/'> ($ Id.VSub_DollarName '$objdir') ) } ) ] spids: [44796 44805 44819 -1] ) ] ) ] spids: [44781 44782 44825 -1] ) ] ) ] ) ) (command.ForEach iter_name: deplib iter_words: [{($ Id.VSub_DollarName '$deplibs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$deplib')} arms: [ (case_arm pat_list: [{<-L> <Id.Lit_Star '*'>}] action: [ (command.Case to_match: {(DQ <' '> ($ Id.VSub_DollarName '$new_libs') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$deplib') <' '>) <Id.Lit_Star '*'> } ] spids: [44869 44876 44878 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<new_libs>} {(DQ <' '> ($ Id.VSub_DollarName '$deplib'))} ) ] spids: [44881 44882 44893 -1] ) ] ) ] spids: [44853 44855 44899 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<new_libs>} {(DQ <' '> ($ Id.VSub_DollarName '$deplib'))} ) ] spids: [44902 44903 44914 -1] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$new_libs'))} spids: [44923] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:library_names) op: assign_op.Equal rhs: (word.Empty) spids: [44934] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:old_library) op: assign_op.Equal rhs: (word.Empty) spids: [44937] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlname) op: assign_op.Equal rhs: (word.Empty) spids: [44940] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_libtool_libs'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {($ Id.VSub_DollarName '$archive_cmds')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <LD> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\ '>) <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:wl) op: assign_op.Equal rhs: (word.Empty) spids: [44986] ) ] ) ] spids: [44979 44984 44988 -1] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$hardcode_into_libs'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:hardcode_libdirs) op: assign_op.Equal rhs: (word.Empty) spids: [45014] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dep_rpath) op: assign_op.Equal rhs: (word.Empty) spids: [45017] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:rpath) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$finalize_rpath'))} spids: [45020] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_mode'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<relink>} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:rpath) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$compile_rpath') ($ Id.VSub_DollarName '$rpath') ) } spids: [45039] ) ] ) ] ) (command.ForEach iter_name: libdir iter_words: [{($ Id.VSub_DollarName '$rpath')}] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$hardcode_libdir_flag_spec' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$hardcode_libdir_separator' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_replace_sysroot>} {(DQ ($ Id.VSub_DollarName '$libdir'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libdir) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$func_replace_sysroot_result' ) } spids: [45093] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$hardcode_libdirs' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: hardcode_libdirs ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$libdir' ) ) } spids: [45111] ) ] ) ] spids: [45097 45108] ) ] else_action: [ (command.Case to_match: { ($ Id.VSub_DollarName '$hardcode_libdir_separator' ) ($ Id.VSub_DollarName '$hardcode_libdirs') ($ Id.VSub_DollarName '$hardcode_libdir_separator') } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ ($ Id.VSub_DollarName '$hardcode_libdir_separator' ) ($ Id.VSub_DollarName '$libdir') ($ Id.VSub_DollarName '$hardcode_libdir_separator') ) <Id.Lit_Star '*'> } ] spids: [45133 45140 45143 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<hardcode_libdirs>} {(DQ ($ Id.VSub_DollarName '$hardcode_libdir_separator') ($ Id.VSub_DollarName '$libdir'))} ) ] spids: [45146 45147 45160 -1] ) ] ) ] ) ] spids: [45072 45083] ) ] else_action: [ (C {<eval>} {<Id.Lit_VarLike 'flag='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$hardcode_libdir_flag_spec') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) } ) (C {<func_append>} {<dep_rpath>} {(DQ <' '> ($ Id.VSub_DollarName '$flag'))} ) ] ) ] spids: [45058 45069] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$runpath_var' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: { (DQ ($ Id.VSub_DollarName '$perm_rpath') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$libdir') <' '> ) <Id.Lit_Star '*'> } ] spids: [45217 45224 45226 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<perm_rpath>} { (DQ <' '> ($ Id.VSub_DollarName '$libdir') ) } ) ] spids: [45229 45230 45241 -1] ) ] ) ] spids: [45193 45204] ) ] ) ] ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$hardcode_libdir_separator' ) ) } ) (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$hardcode_libdirs' ) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libdir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$hardcode_libdirs'))} spids: [45282] ) ] ) (C {<eval>} { (DQ <'dep_rpath='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$hardcode_libdir_flag_spec') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ) } ) ] spids: [45257 45279] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$runpath_var'))} ) (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$perm_rpath'))} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:rpath) op: assign_op.Equal rhs: (word.Empty) spids: [45329] ) ] ) (command.ForEach iter_name: dir iter_words: [{($ Id.VSub_DollarName '$perm_rpath')}] do_arg_iter: F body: (command.DoGroup children: [ (C {<func_append>} {<rpath>} {(DQ ($ Id.VSub_DollarName '$dir') <':'>)} ) ] ) ) (C {<eval>} { (DQ ($ Id.VSub_DollarName '$runpath_var') <'=\''> ($ Id.VSub_DollarName '$rpath') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) ($ Id.VSub_DollarName '$runpath_var') <'\'; export '> ($ Id.VSub_DollarName '$runpath_var') ) } ) ] spids: [45301 45322] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$dep_rpath'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$dep_rpath') <' '> ($ Id.VSub_DollarName '$deplibs') ) } spids: [45383] ) ] ) ] ) ] spids: [44994 45007] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:shlibpath) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$finalize_shlibpath'))} spids: [45395] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_mode'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<relink>} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:shlibpath) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$compile_shlibpath') ($ Id.VSub_DollarName '$shlibpath') ) } spids: [45414] ) ] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$shlibpath'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<eval>} { (DQ ($ Id.VSub_DollarName '$shlibpath_var') <'=\''> ($ Id.VSub_DollarName '$shlibpath') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) ($ Id.VSub_DollarName '$shlibpath_var') <'\'; export '> ($ Id.VSub_DollarName '$shlibpath_var') ) } ) ] spids: [45421 45432] ) ] ) (C {<eval>} {<Id.Lit_VarLike 'shared_ext='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$shrext_cmds') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) (C {<eval>} {<Id.Lit_VarLike 'library_names='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$library_names_spec') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) } ) (C {<set>} {<dummy>} {($ Id.VSub_DollarName '$library_names')}) (C {<shift>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:realname) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [45482] ) ] ) (C {<shift>}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$soname_spec'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<eval>} {<Id.Lit_VarLike 'soname='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$soname_spec') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) ] spids: [45492 45503] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:soname) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$realname'))} spids: [45517] ) ] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$dlname'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlname) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$soname')} spids: [45540] ) ] ) ] spids: [45526 45537] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lib) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$realname') ) } spids: [45548] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:linknames) op: assign_op.Equal rhs: (word.Empty) spids: [45556] ) ] ) (command.ForEach iter_name: link do_arg_iter: T body: (command.DoGroup children: [ (C {<func_append>} {<linknames>} {(DQ <' '> ($ Id.VSub_DollarName '$link'))} ) ] ) ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$pic_flag'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libobjs) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$libobjs'))} ) (C {($ Id.VSub_DollarName '$SP2NL')}) (C {($ Id.VSub_DollarName '$SED')} {(DQ ($ Id.VSub_DollarName '$lo2o'))} ) (C {($ Id.VSub_DollarName '$NL2SP')}) ] negated: F ) ) } spids: [45595] ) ] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$libobjs'))} {<Id.Lit_Equals '='>} {(DQ <'X '>)} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libobjs) op: assign_op.Equal rhs: (word.Empty) spids: [45638] ) ] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:delfiles) op: assign_op.Equal rhs: (word.Empty) spids: [45642] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$export_symbols'))} ) (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$include_expsyms'))} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (C {<cp>} {(DQ ($ Id.VSub_DollarName '$export_symbols'))} { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$libname') <.uexp> ) } ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:export_symbols) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$libname') <.uexp> ) } spids: [45687] ) ] ) (C {<func_append>} {<delfiles>} {(DQ <' '> ($ Id.VSub_DollarName '$export_symbols'))} ) ] spids: [45645 45666] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:orig_export_symbols) op: assign_op.Equal rhs: (word.Empty) spids: [45710] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$host_os')} arms: [ (case_arm pat_list: [ {<cygwin> <Id.Lit_Star '*'>} {<mingw> <Id.Lit_Star '*'>} {<cegcc> <Id.Lit_Star '*'>} ] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$export_symbols') ) } ) (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$export_symbols_regex' ) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ <x> (command_sub left_token: <Id.Left_Backtick '`'> child: (C { ($ Id.VSub_DollarName '$SED' ) } {<1q>} {($ Id.VSub_DollarName '$export_symbols')} ) ) ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<xEXPORTS>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: orig_export_symbols ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$export_symbols' ) ) } spids: [45813] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:export_symbols) op: assign_op.Equal rhs: (word.Empty) spids: [45819] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: always_export_symbols ) op: assign_op.Equal rhs: {<yes>} spids: [45822] ) ] ) ] spids: [45763 45786] ) ] ) ] spids: [45735 45756] ) ] ) ] spids: [45720 45732 45832 -1] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$export_symbols'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$always_export_symbols' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$export_symbols_regex' ) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_verbose>} { (DQ <'generating symbol list for '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$libname') <'.la\''> ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:export_symbols) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$libname') <.exp> ) } spids: [45893] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (C {($ Id.VSub_DollarName '$RM')} {($ Id.VSub_DollarName '$export_symbols')} ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:cmds) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$export_symbols_cmds')} spids: [45911] ) ] ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:save_ifs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$IFS'))} spids: [45915] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(SQ <'~'>)} spids: [45921] ) ] ) (command.ForEach iter_name: cmd1 iter_words: [{($ Id.VSub_DollarName '$cmds')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$save_ifs'))} spids: [45939] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$nm_file_list_spec') <Id.Lit_TildeLike '~'> ($ Id.VSub_DollarName '$to_tool_file_cmd') } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <Id.Lit_TildeLike '~func_convert_file_noop' > } {<Id.Lit_Star '*'> <Id.Lit_TildeLike '~func_convert_file_msys_to_w32' > } {<Id.Lit_TildeLike '~'> <Id.Lit_Star '*'>} ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: try_normal_branch ) op: assign_op.Equal rhs: {<yes>} spids: [45977] ) ] ) (C {<eval>} {<Id.Lit_VarLike 'cmd='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$cmd1') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) (C {<func_len>} { (DQ <' '> ($ Id.VSub_DollarName '$cmd') ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:len) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$func_len_result' ) } spids: [45997] ) ] ) ] spids: [45962 45974 46001 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: try_normal_branch ) op: assign_op.Equal rhs: {<no>} spids: [46008] ) ] ) ] spids: [46004 46005 46012 -1] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$try_normal_branch' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) (BraceGroup children: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$len' ) ) } {<-lt>} {(DQ ($ Id.VSub_DollarName '$max_cmd_len'))} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$max_cmd_len' ) ) } {<-le>} {<-1>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) ] ) ] ) action: [ (C {<func_show_eval>} {(DQ ($ Id.VSub_DollarName '$cmd'))} {(SQ <'exit $?'>)} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: skipped_export ) op: assign_op.Equal rhs: {<false>} spids: [46080] ) ] ) ] spids: [46018 46066] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$nm_file_list_spec' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_basename>} {(DQ ($ Id.VSub_DollarName '$output'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: output_la ) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$func_basename_result' ) } spids: [46105] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: save_libobjs ) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$libobjs' ) } spids: [46109] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: save_output ) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$output') } spids: [46113] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:output) op: assign_op.Equal rhs: {(${ Id.VSub_Name output_objdir) <'/'> (${ Id.VSub_Name output_la) <.nm> } spids: [46117] ) ] ) (C {<func_to_tool_file>} {(DQ ($ Id.VSub_DollarName '$output'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: libobjs ) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$nm_file_list_spec' ) ($ Id.VSub_DollarName '$func_to_tool_file_result') } spids: [46135] ) ] ) (C {<func_append>} {<delfiles>} { (DQ <' '> ($ Id.VSub_DollarName '$output') ) } ) (C {<func_verbose>} { (DQ <'creating '> ($ Id.VSub_DollarName '$NM') <' input file list: '> ($ Id.VSub_DollarName '$output') ) } ) (command.ForEach iter_name: obj iter_words: [ { ($ Id.VSub_DollarName '$save_libobjs' ) } ] do_arg_iter: F body: (command.DoGroup children: [ (C {<func_to_tool_file>} { (DQ ($ Id.VSub_DollarName '$obj' ) ) } ) (C { ($ Id.VSub_DollarName '$ECHO') } {(DQ ($ Id.VSub_DollarName '$func_to_tool_file_result'))} ) ] ) redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: { (DQ ($ Id.VSub_DollarName '$output' ) ) } ) ] ) (C {<eval>} {<Id.Lit_VarLike 'cmd='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$cmd1') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) (C {<func_show_eval>} {(DQ ($ Id.VSub_DollarName '$cmd'))} {(SQ <'exit $?'>)} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:output) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$save_output' ) } spids: [46214] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: libobjs ) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$save_libobjs' ) } spids: [46218] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: skipped_export ) op: assign_op.Equal rhs: {<false>} spids: [46222] ) ] ) ] spids: [46084 46095] ) ] else_action: [ (C {<func_verbose>} { (DQ < 'using reloadable object file for export list...' > ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: skipped_export ) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} spids: [46240] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Break break> ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$save_ifs'))} spids: [46261] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$export_symbols_regex' ) ) } ) (C {<test>} { (DQ <X> ($ Id.VSub_DollarName '$skipped_export' ) ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <'X:'>)} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_show_eval>} { (SQ < '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' > ) } ) (C {<func_show_eval>} { (SQ < '$MV "${export_symbols}T" "$export_symbols"' > ) } ) ] spids: [46267 46294] ) ] ) ] spids: [45857 45880] ) ] ) ] spids: [45843 45854] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$export_symbols'))} ) (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$include_expsyms'))} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tmp_export_symbols) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$export_symbols'))} spids: [46345] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$orig_export_symbols'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tmp_export_symbols) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$orig_export_symbols'))} spids: [46361] ) ] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (C {<eval>} { (SQ < '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' > ) } ) ] ) ] spids: [46321 46342] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$skipped_export'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <'X:'>)} ) (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$orig_export_symbols'))} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_verbose>} { (DQ <'filter symbol list for '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$libname') <'.la\' to tag DATA exports'> ) } ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (command.Simple words: [ {($ Id.VSub_DollarName '$SED')} {<-e>} { (SQ < '/[ ,]DATA/!d;s,\\(.*\\)\\([ \\,].*\\),s|^\\1$|\\1\\2|,' > ) } ] redirects: [ (redir op: <Id.Redir_Less '<'> loc: (redir_loc.Fd fd:0) arg: {($ Id.VSub_DollarName '$export_symbols')} ) (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$libname') <.filter> } ) ] do_fork: T ) ] ) (C {<func_append>} {<delfiles>} { (DQ <' '> ($ Id.VSub_DollarName '$export_symbols') <' '> ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$libname') <.filter> ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:export_symbols) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$libname') <.def> } spids: [46485] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (command.Simple words: [ {($ Id.VSub_DollarName '$SED')} {<-f>} {($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$libname') <.filter> } ] redirects: [ (redir op: <Id.Redir_Less '<'> loc: (redir_loc.Fd fd:0) arg: {($ Id.VSub_DollarName '$orig_export_symbols')} ) (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$export_symbols')} ) ] do_fork: T ) ] ) ] spids: [46382 46409] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tmp_deplibs) op: assign_op.Equal rhs: (word.Empty) spids: [46518] ) ] ) (command.ForEach iter_name: test_deplib iter_words: [{($ Id.VSub_DollarName '$deplibs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {(DQ <' '> ($ Id.VSub_DollarName '$convenience') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$test_deplib') <' '>) <Id.Lit_Star '*'> } ] spids: [46544 46551 46553 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<tmp_deplibs>} {(DQ <' '> ($ Id.VSub_DollarName '$test_deplib'))} ) ] spids: [46556 46557 46570 -1] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:deplibs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$tmp_deplibs'))} spids: [46579] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$convenience'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp Id.Op_DAmp] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$whole_archive_flag_spec' ) ) } ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$compiler_needs_object' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$libobjs'))} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: whole_archive_flag_spec ) op: assign_op.Equal rhs: (word.Empty) spids: [46646] ) ] ) ] spids: [46600 46635] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$whole_archive_flag_spec' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:save_libobjs) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$libobjs')} spids: [46666] ) ] ) (C {<eval>} {<Id.Lit_VarLike 'libobjs='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <libobjs> } {($ Id.VSub_DollarName '$whole_archive_flag_spec') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) } ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$libobjs'))} {<Id.Lit_Equals '='>} {(DQ <'X '>)} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libobjs) op: assign_op.Equal rhs: (word.Empty) spids: [46696] ) ] ) ] ) ] spids: [46652 46663] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:gentop) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> (${ Id.VSub_Name outputname) <x> ) } spids: [46702] ) ] ) (C {<func_append>} {<generated>} {(DQ <' '> ($ Id.VSub_DollarName '$gentop'))} ) (C {<func_extract_archives>} {($ Id.VSub_DollarName '$gentop')} {($ Id.VSub_DollarName '$convenience')} ) (C {<func_append>} {<libobjs>} { (DQ <' '> ($ Id.VSub_DollarName '$func_extract_archives_result') ) } ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$libobjs'))} {<Id.Lit_Equals '='>} {(DQ <'X '>)} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libobjs) op: assign_op.Equal rhs: (word.Empty) spids: [46756] ) ] ) ] ) ] ) ] spids: [46586 46597] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$thread_safe'))} {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$thread_safe_flag_spec') ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<eval>} {<Id.Lit_VarLike 'flag='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$thread_safe_flag_spec') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) } ) (C {<func_append>} {<linker_flags>} {(DQ <' '> ($ Id.VSub_DollarName '$flag'))} ) ] spids: [46766 46789] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_mode'))} {<Id.Lit_Equals '='>} {<relink>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.AndOr ops: [Id.Op_DPipe Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (C {<eval>} { (SQ < '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' > ) } ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_QMark '$?')} ) ] ) ] spids: [46818 46831] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$module'))} {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$module_cmds'))} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$export_symbols') ) } ) (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$module_expsym_cmds' ) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<eval>} {<Id.Lit_VarLike 'test_cmds='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$module_expsym_cmds') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:cmds) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$module_expsym_cmds')} spids: [46918] ) ] ) ] spids: [46886 46907] ) ] else_action: [ (C {<eval>} {<Id.Lit_VarLike 'test_cmds='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$module_cmds') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:cmds) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$module_cmds')} spids: [46933] ) ] ) ] ) ] spids: [46859 46883] ) ] else_action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$export_symbols'))} ) (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$archive_expsym_cmds' ) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<eval>} {<Id.Lit_VarLike 'test_cmds='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$archive_expsym_cmds') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:cmds) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$archive_expsym_cmds')} spids: [46975] ) ] ) ] spids: [46943 46964] ) ] else_action: [ (C {<eval>} {<Id.Lit_VarLike 'test_cmds='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$archive_cmds') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:cmds) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$archive_cmds')} spids: [46990] ) ] ) ] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp Id.Op_DAmp Id.Op_DAmp Id.Op_DPipe] children: [ (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$skipped_export'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <'X:'>)} ) (C {<func_len>} {(DQ <' '> ($ Id.VSub_DollarName '$test_cmds'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:len) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_len_result')} spids: [47030] ) ] ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$len'))} {<-lt>} {(DQ ($ Id.VSub_DollarName '$max_cmd_len'))} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$max_cmd_len'))} {<-le>} {<-1>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<Id.Lit_Colon ':'>})] spids: [47001 47061] ) ] else_action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$convenience'))} ) (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$whole_archive_flag_spec' ) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:save_libobjs) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$libobjs')} spids: [47139] ) ] ) ] spids: [47115 47136] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:save_output) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$output')} spids: [47146] ) ] ) (C {<func_basename>} {(DQ ($ Id.VSub_DollarName '$output'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:output_la) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_basename_result')} spids: [47157] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:test_cmds) op: assign_op.Equal rhs: (word.Empty) spids: [47170] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:concat_cmds) op: assign_op.Equal rhs: (word.Empty) spids: [47173] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:objlist) op: assign_op.Equal rhs: (word.Empty) spids: [47176] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:last_robj) op: assign_op.Equal rhs: (word.Empty) spids: [47179] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:k) op: assign_op.Equal rhs: {<1>} spids: [47182] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$save_libobjs'))} ) (C {<test>} { (DQ <X> ($ Id.VSub_DollarName '$skipped_export') ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <'X:'>)} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$with_gnu_ld'))} {<Id.Lit_Equals '='>} {<yes>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:output) op: assign_op.Equal rhs: {(${ Id.VSub_Name output_objdir) <'/'> (${ Id.VSub_Name output_la) <.lnkscript> } spids: [47229] ) ] ) (C {<func_verbose>} { (DQ <'creating GNU ld script: '> ($ Id.VSub_DollarName '$output') ) } ) (command.Simple words: [{<echo>} {(SQ <'INPUT ('>)}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$output')} ) ] do_fork: T ) (command.ForEach iter_name: obj iter_words: [{($ Id.VSub_DollarName '$save_libobjs')}] do_arg_iter: F body: (command.DoGroup children: [ (C {<func_to_tool_file>} {(DQ ($ Id.VSub_DollarName '$obj'))} ) (command.Simple words: [ {($ Id.VSub_DollarName '$ECHO')} { (DQ ($ Id.VSub_DollarName '$func_to_tool_file_result' ) ) } ] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$output')} ) ] do_fork: T ) ] ) ) (command.Simple words: [{<echo>} {(SQ <')'>)}] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$output')} ) ] do_fork: T ) (C {<func_append>} {<delfiles>} {(DQ <' '> ($ Id.VSub_DollarName '$output'))} ) (C {<func_to_tool_file>} {(DQ ($ Id.VSub_DollarName '$output'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:output) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_to_tool_file_result')} spids: [47320] ) ] ) ] spids: [47187 47226] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$save_libobjs'))} ) (C {<test>} { (DQ <X> ($ Id.VSub_DollarName '$skipped_export') ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <'X:'>)} ) (C {<test>} { (DQ <X> ($ Id.VSub_DollarName '$file_list_spec') ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<X>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:output) op: assign_op.Equal rhs: {(${ Id.VSub_Name output_objdir) <'/'> (${ Id.VSub_Name output_la) <.lnk> } spids: [47368] ) ] ) (C {<func_verbose>} { (DQ <'creating linker input file list: '> ($ Id.VSub_DollarName '$output') ) } ) (command.Simple words: [{<Id.Lit_Colon ':'>}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$output')} ) ] do_fork: T ) (C {<set>} {<x>} {($ Id.VSub_DollarName '$save_libobjs')}) (C {<shift>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:firstobj) op: assign_op.Equal rhs: (word.Empty) spids: [47404] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$compiler_needs_object' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:firstobj) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1') <' '>)} spids: [47423] ) ] ) (C {<shift>}) ] spids: [47407 47420] ) ] ) (command.ForEach iter_name: obj do_arg_iter: T body: (command.DoGroup children: [ (C {<func_to_tool_file>} {(DQ ($ Id.VSub_DollarName '$obj'))} ) (command.Simple words: [ {($ Id.VSub_DollarName '$ECHO')} { (DQ ($ Id.VSub_DollarName '$func_to_tool_file_result' ) ) } ] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$output')} ) ] do_fork: T ) ] ) ) (C {<func_append>} {<delfiles>} {(DQ <' '> ($ Id.VSub_DollarName '$output'))} ) (C {<func_to_tool_file>} {(DQ ($ Id.VSub_DollarName '$output'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:output) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$firstobj') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$file_list_spec') ($ Id.VSub_DollarName '$func_to_tool_file_result') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) } spids: [47482] ) ] ) ] spids: [47324 47365] ) ] else_action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$save_libobjs'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_verbose>} {(DQ <'creating reloadable object files...'>)} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:output) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$output_la') <-> (${ Id.VSub_Name k) <.> ($ Id.VSub_DollarName '$objext') } spids: [47514] ) ] ) (C {<eval>} {<Id.Lit_VarLike 'test_cmds='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$reload_cmds') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) (C {<func_len>} {(DQ <' '> ($ Id.VSub_DollarName '$test_cmds'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:len0) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_len_result')} spids: [47542] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:len) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$len0')} spids: [47546] ) ] ) (command.ForEach iter_name: obj iter_words: [{($ Id.VSub_DollarName '$save_libobjs')}] do_arg_iter: F body: (command.DoGroup children: [ (C {<func_len>} {(DQ <' '> ($ Id.VSub_DollarName '$obj'))} ) (C {<func_arith>} {($ Id.VSub_DollarName '$len')} {<Id.Lit_Other '+'>} {($ Id.VSub_DollarName '$func_len_result')} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:len) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$func_arith_result' ) } spids: [47584] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} { (DQ <X> ($ Id.VSub_DollarName '$objlist' ) ) } {<Id.Lit_Equals '='>} {<X>} ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$len' ) ) } {<-lt>} {(DQ ($ Id.VSub_DollarName '$max_cmd_len'))} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<objlist>} { (DQ <' '> ($ Id.VSub_DollarName '$obj') ) } ) ] spids: [47588 47617] ) ] else_action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$k' ) ) } {<-eq>} {<1>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: reload_objs ) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$objlist' ) } spids: [47662] ) ] ) (C {<eval>} {<Id.Lit_VarLike 'concat_cmds='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$reload_cmds') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) ] spids: [47641 47655] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: reload_objs ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$objlist' ) <' '> ($ Id.VSub_DollarName '$last_robj') ) } spids: [47685] ) ] ) (C {<eval>} {<Id.Lit_VarLike 'concat_cmds='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <concat_cmds> <Id.Lit_TildeLike '~'> ($ Id.VSub_DollarName '$reload_cmds') <Id.Lit_TildeLike '~'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <RM> } {($ Id.VSub_DollarName '$last_robj') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>)} ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:last_robj) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$output_objdir' ) <'/'> ($ Id.VSub_DollarName '$output_la') <-> (${ Id.VSub_Name k) <.> ($ Id.VSub_DollarName '$objext') } spids: [47712] ) ] ) (C {<func_arith>} {($ Id.VSub_DollarName '$k')} {<Id.Lit_Other '+'>} {<1>} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:k) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$func_arith_result' ) } spids: [47733] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:output) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$output_objdir' ) <'/'> ($ Id.VSub_DollarName '$output_la') <-> (${ Id.VSub_Name k) <.> ($ Id.VSub_DollarName '$objext') } spids: [47737] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:objlist) op: assign_op.Equal rhs: { (DQ <' '> ($ Id.VSub_DollarName '$obj') ) } spids: [47749] ) ] ) (C {<func_len>} { (DQ <' '> ($ Id.VSub_DollarName '$last_robj') ) } ) (C {<func_arith>} {($ Id.VSub_DollarName '$len0')} {<Id.Lit_Other '+'>} {($ Id.VSub_DollarName '$func_len_result')} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:len) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$func_arith_result' ) } spids: [47773] ) ] ) ] ) ] ) ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$concat_cmds'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:concat_cmds) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$concat_cmds') <Id.Lit_TildeLike '~'> } spids: [47805] ) ] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:reload_objs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$objlist') <' '> ($ Id.VSub_DollarName '$last_robj') ) } spids: [47810] ) ] ) (C {<eval>} {<Id.Lit_VarLike 'concat_cmds='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <Id.Lit_LBrace '{'> <concat_cmds> <Id.Lit_RBrace '}'> ($ Id.VSub_DollarName '$reload_cmds') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$last_robj') ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<eval>} {<Id.Lit_VarLike 'concat_cmds='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <Id.Lit_LBrace '{'> <concat_cmds> <Id.Lit_RBrace '}'> <Id.Lit_TildeLike '~'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <RM> } {($ Id.VSub_DollarName '$last_robj') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>)} ) ] spids: [47830 47841] ) ] ) (C {<func_append>} {<delfiles>} {(DQ <' '> ($ Id.VSub_DollarName '$output'))} ) ] spids: [47493 47504] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:output) op: assign_op.Equal rhs: (word.Empty) spids: [47877] ) ] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C { (braced_var_sub token: <Id.VSub_Name skipped_export> suffix_op: (suffix_op.Unary tok: <Id.VTest_Hyphen -> arg_word: {<false>} ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_verbose>} { (DQ <'generating symbol list for '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$libname') <'.la\''> ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:export_symbols) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$libname') <.exp> ) } spids: [47906] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (C {($ Id.VSub_DollarName '$RM')} {($ Id.VSub_DollarName '$export_symbols')} ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libobjs) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$output')} spids: [47924] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$concat_cmds'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:concat_cmds) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$concat_cmds') <Id.Lit_TildeLike '~'> } spids: [47942] ) ] ) ] ) (C {<eval>} {<Id.Lit_VarLike 'concat_cmds='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <concat_cmds> ($ Id.VSub_DollarName '$export_symbols_cmds') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$last_robj') ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<eval>} {<Id.Lit_VarLike 'concat_cmds='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <concat_cmds> <Id.Lit_TildeLike '~'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <RM> } {($ Id.VSub_DollarName '$last_robj') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>)} ) ] spids: [47957 47968] ) ] ) ] spids: [47884 47893] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$save_libobjs'))}) (C {<func_verbose>} { (DQ <'creating a temporary reloadable object file: '> ($ Id.VSub_DollarName '$output') ) } ) ] ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:save_ifs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$IFS'))} spids: [48016] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(SQ <'~'>)} spids: [48022] ) ] ) (command.ForEach iter_name: cmd iter_words: [{($ Id.VSub_DollarName '$concat_cmds')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$save_ifs'))} spids: [48040] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_silent')}) (BraceGroup children: [ (C {<func_quote_for_expand>} {(DQ ($ Id.VSub_DollarName '$cmd'))} ) (C {<eval>} { (DQ <'func_echo '> ($ Id.VSub_DollarName '$func_quote_for_expand_result' ) ) } ) ] ) ] ) (command.AndOr ops: [Id.Op_DPipe Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (C {<eval>} {(DQ ($ Id.VSub_DollarName '$cmd'))}) (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lt_exit) op: assign_op.Equal rhs: {($ Id.VSub_QMark '$?')} spids: [48086] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$opt_mode' ) ) } {<Id.Lit_Equals '='>} {<relink>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Subshell child: (command.AndOr ops: [Id.Op_DAmp Id.Op_DAmp] children: [ (C {<cd>} { (DQ ($ Id.VSub_DollarName '$output_objdir' ) ) } ) (C {($ Id.VSub_DollarName '$RM')} { (DQ (${ Id.VSub_Name realname) <T> ) } ) (C {($ Id.VSub_DollarName '$MV')} { (DQ (${ Id.VSub_Name realname) <U> ) } {(DQ ($ Id.VSub_DollarName '$realname'))} ) ] ) ) ] spids: [48095 48108] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$lt_exit')} ) ] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$save_ifs'))} spids: [48167] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$export_symbols_regex' ) ) } ) (C { (braced_var_sub token: <Id.VSub_Name skipped_export> suffix_op: (suffix_op.Unary tok: <Id.VTest_Hyphen -> arg_word: {<false>} ) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_show_eval>} { (SQ < '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' > ) } ) (C {<func_show_eval>} {(SQ <'$MV "${export_symbols}T" "$export_symbols"'>)} ) ] spids: [48174 48193] ) ] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C { (braced_var_sub token: <Id.VSub_Name skipped_export> suffix_op: (suffix_op.Unary tok: <Id.VTest_Hyphen -> arg_word: {<false>} ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$export_symbols' ) ) } ) (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$include_expsyms' ) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tmp_export_symbols) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$export_symbols') ) } spids: [48253] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$orig_export_symbols' ) ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: tmp_export_symbols ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$orig_export_symbols' ) ) } spids: [48269] ) ] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (C {<eval>} { (SQ < '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' > ) } ) ] ) ] spids: [48229 48250] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$orig_export_symbols' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_verbose>} { (DQ <'filter symbol list for '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$libname') <'.la\' to tag DATA exports'> ) } ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (command.Simple words: [ {($ Id.VSub_DollarName '$SED')} {<-e>} { (SQ < '/[ ,]DATA/!d;s,\\(.*\\)\\([ \\,].*\\),s|^\\1$|\\1\\2|,' > ) } ] redirects: [ (redir op: <Id.Redir_Less '<'> loc: (redir_loc.Fd fd:0) arg: { ($ Id.VSub_DollarName '$export_symbols') } ) (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$libname') <.filter> } ) ] do_fork: T ) ] ) (C {<func_append>} {<delfiles>} { (DQ <' '> ($ Id.VSub_DollarName '$export_symbols') <' '> ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$libname') <.filter> ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:export_symbols) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$libname') <.def> } spids: [48377] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (command.Simple words: [ {($ Id.VSub_DollarName '$SED')} {<-f>} {($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$libname') <.filter> } ] redirects: [ (redir op: <Id.Redir_Less '<'> loc: (redir_loc.Fd fd:0) arg: { ($ Id.VSub_DollarName '$orig_export_symbols' ) } ) (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: { ($ Id.VSub_DollarName '$export_symbols') } ) ] do_fork: T ) ] ) ] spids: [48290 48301] ) ] ) ] spids: [48217 48226] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libobjs) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$output')} spids: [48413] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:output) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$save_output')} spids: [48421] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$convenience'))} ) (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$whole_archive_flag_spec' ) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<eval>} {<Id.Lit_VarLike 'libobjs='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <libobjs> } {($ Id.VSub_DollarName '$whole_archive_flag_spec') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) } ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$libobjs'))} {<Id.Lit_Equals '='>} {(DQ <'X '>)} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libobjs) op: assign_op.Equal rhs: (word.Empty) spids: [48476] ) ] ) ] ) ] spids: [48426 48447] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$module'))} {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$module_cmds'))} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$export_symbols' ) ) } ) (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$module_expsym_cmds' ) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:cmds) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$module_expsym_cmds') } spids: [48546] ) ] ) ] spids: [48522 48543] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:cmds) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$module_cmds')} spids: [48553] ) ] ) ] ) ] spids: [48495 48519] ) ] else_action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$export_symbols') ) } ) (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$archive_expsym_cmds' ) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:cmds) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$archive_expsym_cmds')} spids: [48587] ) ] ) ] spids: [48563 48584] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:cmds) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$archive_cmds')} spids: [48594] ) ] ) ] ) ] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$delfiles'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<eval>} {<Id.Lit_VarLike 'cmds='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <cmds> <Id.Lit_TildeLike '~'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <RM> } {($ Id.VSub_DollarName '$delfiles') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>)} ) ] spids: [48608 48619] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$dlprefiles'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:gentop) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> (${ Id.VSub_Name outputname) <x> ) } spids: [48662] ) ] ) (C {<func_append>} {<generated>} {(DQ <' '> ($ Id.VSub_DollarName '$gentop'))} ) (C {<func_extract_archives>} {($ Id.VSub_DollarName '$gentop')} {($ Id.VSub_DollarName '$dlprefiles')} ) (C {<func_append>} {<libobjs>} { (DQ <' '> ($ Id.VSub_DollarName '$func_extract_archives_result') ) } ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$libobjs'))} {<Id.Lit_Equals '='>} {(DQ <'X '>)} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libobjs) op: assign_op.Equal rhs: (word.Empty) spids: [48716] ) ] ) ] ) ] spids: [48648 48659] ) ] ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:save_ifs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$IFS'))} spids: [48723] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(SQ <'~'>)} spids: [48729] ) ] ) (command.ForEach iter_name: cmd iter_words: [{($ Id.VSub_DollarName '$cmds')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$save_ifs'))} spids: [48747] ) ] ) (C {<eval>} {<Id.Lit_VarLike 'cmd='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$cmd') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_silent')}) (BraceGroup children: [ (C {<func_quote_for_expand>} {(DQ ($ Id.VSub_DollarName '$cmd'))} ) (C {<eval>} { (DQ <'func_echo '> ($ Id.VSub_DollarName '$func_quote_for_expand_result' ) ) } ) ] ) ] ) (command.AndOr ops: [Id.Op_DPipe Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (C {<eval>} {(DQ ($ Id.VSub_DollarName '$cmd'))}) (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:lt_exit) op: assign_op.Equal rhs: {($ Id.VSub_QMark '$?')} spids: [48801] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ ($ Id.VSub_DollarName '$opt_mode') ) } {<Id.Lit_Equals '='>} {<relink>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Subshell child: (command.AndOr ops: [Id.Op_DAmp Id.Op_DAmp] children: [ (C {<cd>} { (DQ ($ Id.VSub_DollarName '$output_objdir' ) ) } ) (C {($ Id.VSub_DollarName '$RM')} {(DQ (${ Id.VSub_Name realname) <T>)} ) (C {($ Id.VSub_DollarName '$MV')} {(DQ (${ Id.VSub_Name realname) <U>)} {(DQ ($ Id.VSub_DollarName '$realname'))} ) ] ) ) ] spids: [48810 48823] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$lt_exit')} ) ] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$save_ifs'))} spids: [48882] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_mode'))} {<Id.Lit_Equals '='>} {<relink>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.AndOr ops: [Id.Op_DPipe Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (C {<eval>} { (SQ < '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' > ) } ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_QMark '$?')} ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$convenience'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$whole_archive_flag_spec' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_show_eval>} {(SQ <'${RM}r "$gentop"'>)}) ] spids: [48941 48952] ) ] ) ] spids: [48927 48938] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$EXIT_SUCCESS')} ) ] spids: [48893 48906] ) ] ) (command.ForEach iter_name: linkname iter_words: [{($ Id.VSub_DollarName '$linknames')}] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$realname'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ ($ Id.VSub_DollarName '$linkname'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_show_eval>} { (SQ < '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' > ) } {(SQ <'exit $?'>)} ) ] spids: [48994 49010] ) ] ) ] ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$module'))} {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$export_dynamic'))} {<Id.Lit_Equals '='>} {<yes>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlname) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$soname'))} spids: [49067] ) ] ) ] spids: [49035 49060] ) ] ) ] spids: [44948 44961] ) ] ) ] spids: [39120 39121 49079 -1] ) (case_arm pat_list: [{<obj>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$dlfiles') ($ Id.VSub_DollarName '$dlprefiles') ) } ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$dlself'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<no>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_warning>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-dlopen\' is ignored for objects'> ) } ) ] spids: [49087 49112] ) ] ) (command.Case to_match: {(DQ <' '> ($ Id.VSub_DollarName '$deplibs'))} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\ '> ) <-l> <Id.Lit_Star '*'> } {<Id.Lit_Star '*'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\ '> ) <-L> <Id.Lit_Star '*'> } ] action: [ (C {<func_warning>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-l\' and '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-L\' are ignored for objects'> ) } ) ] spids: [49137 49148 49160 -1] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$rpath'))}) (C {<func_warning>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-rpath\' is ignored for objects'> ) } ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$xrpath'))}) (C {<func_warning>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-R\' is ignored for objects'> ) } ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$vinfo'))}) (C {<func_warning>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-version-info\' is ignored for objects'> ) } ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$release'))}) (C {<func_warning>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-release\' is ignored for objects'> ) } ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$output')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <.lo>}] action: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$objs') ($ Id.VSub_DollarName '$old_deplibs') ) } ) (C {<func_fatal_error>} { (DQ <'cannot build library object '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$output') <'\' from non-libtool objects'> ) } ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libobj) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$output')} spids: [49287] ) ] ) (C {<func_lo2o>} {(DQ ($ Id.VSub_DollarName '$libobj'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:obj) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_lo2o_result')} spids: [49298] ) ] ) ] spids: [49258 49260 49302 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libobj) op: assign_op.Equal rhs: (word.Empty) spids: [49309] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:obj) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$output'))} spids: [49312] ) ] ) ] spids: [49305 49306 49318 -1] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (C {($ Id.VSub_DollarName '$RM')} {($ Id.VSub_DollarName '$obj')} {($ Id.VSub_DollarName '$libobj')} ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:reload_conv_objs) op: assign_op.Equal rhs: (word.Empty) spids: [49357] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:gentop) op: assign_op.Equal rhs: (word.Empty) spids: [49360] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:wl) op: assign_op.Equal rhs: (word.Empty) spids: [49375] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$convenience'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$whole_archive_flag_spec'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<eval>} {<Id.Lit_VarLike 'tmp_whole_archive_flags='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$whole_archive_flag_spec') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:reload_conv_objs) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$reload_objs') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\ '> ) (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ ($ Id.VSub_DollarName '$tmp_whole_archive_flags' ) ) } ) (C {($ Id.VSub_DollarName '$SED')} {(SQ <'s|,| |g'>)} ) ] negated: F ) ) } spids: [49415] ) ] ) ] spids: [49393 49404] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:gentop) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> (${ Id.VSub_Name obj) <x> ) } spids: [49440] ) ] ) (C {<func_append>} {<generated>} {(DQ <' '> ($ Id.VSub_DollarName '$gentop'))} ) (C {<func_extract_archives>} {($ Id.VSub_DollarName '$gentop')} {($ Id.VSub_DollarName '$convenience')} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:reload_conv_objs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$reload_objs') <' '> ($ Id.VSub_DollarName '$func_extract_archives_result') ) } spids: [49469] ) ] ) ] ) ] spids: [49379 49390] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_libtool_libs'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<yes>} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libobjs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$non_pic_objects'))} spids: [49501] ) ] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:reload_objs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$objs') ($ Id.VSub_DollarName '$old_deplibs') <' '> ) (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$libobjs'))} ) (C {($ Id.VSub_DollarName '$SP2NL')}) (C {($ Id.VSub_DollarName '$SED')} { (DQ <'/'> <Id.Lit_BadBackslash '\\'> <.> (${ Id.VSub_Name libext) <Id.Lit_Dollar '$'> <'/d; /'> <Id.Lit_BadBackslash '\\'> <.lib> <Id.Lit_Dollar '$'> <'/d; '> ($ Id.VSub_DollarName '$lo2o') ) } ) (C {($ Id.VSub_DollarName '$NL2SP')}) ] negated: F ) ) (DQ <' '> ($ Id.VSub_DollarName '$reload_conv_objs')) } spids: [49512] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:output) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$obj'))} spids: [49569] ) ] ) (C {<func_execute_cmds>} {(DQ ($ Id.VSub_DollarName '$reload_cmds'))} {(SQ <'exit $?'>)} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$libobj'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$gentop'))}) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<func_show_eval>} {(SQ <'${RM}r "$gentop"'>)})] spids: [49605 49616] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$EXIT_SUCCESS')} ) ] spids: [49591 49602] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_libtool_libs'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$gentop'))}) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<func_show_eval>} {(SQ <'${RM}r "$gentop"'>)})] spids: [49656 49667] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$EXIT_SUCCESS')} ) ] spids: [49639 49653] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$pic_flag'))}) (C {<test>} {(DQ ($ Id.VSub_DollarName '$pic_mode'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<default>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:reload_objs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$libobjs') <' '> ($ Id.VSub_DollarName '$reload_conv_objs') ) } spids: [49737] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:output) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$libobj'))} spids: [49745] ) ] ) (C {<func_execute_cmds>} {(DQ ($ Id.VSub_DollarName '$reload_cmds'))} {(SQ <'exit $?'>)} ) ] spids: [49706 49730] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$gentop'))}) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<func_show_eval>} {(SQ <'${RM}r "$gentop"'>)})] spids: [49766 49777] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$EXIT_SUCCESS')} ) ] spids: [49083 49084 49796 -1] ) (case_arm pat_list: [{<prog>}] action: [ (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <cygwin> <Id.Lit_Star '*'>}] action: [ (C {<func_stripname>} {(SQ )} {(SQ <.exe>)} {(DQ ($ Id.VSub_DollarName '$output'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:output) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result') <.exe>} spids: [49830] ) ] ) ] spids: [49811 49814 49833 -1] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$vinfo'))}) (C {<func_warning>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-version-info\' is ignored for programs'> ) } ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$release'))}) (C {<func_warning>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'-release\' is ignored for programs'> ) } ) ] ) (command.AndOr ops: [Id.Op_DAmp Id.Op_DAmp Id.Op_DAmp Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$preload'))} {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$dlopen_support'))} {<Id.Lit_Equals '='>} {<unknown>} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$dlopen_self'))} {<Id.Lit_Equals '='>} {<unknown>} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$dlopen_self_static'))} {<Id.Lit_Equals '='>} {<unknown>} ) (C {<func_warning>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) <'LT_INIT([dlopen])\' not used. Assuming no dlopen support.'> ) } ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-rhapsody> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-darwin1.> <Id.Lit_LBracket '['> <012> <Id.Lit_RBracket ']'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_deplibs) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ <' '> ($ Id.VSub_DollarName '$compile_deplibs'))} ) (C {($ Id.VSub_DollarName '$SED')} {(SQ <'s/ -lc / System.ltframework /'>)} ) ] negated: F ) ) } spids: [49975] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_deplibs) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <' '> ($ Id.VSub_DollarName '$finalize_deplibs')) } ) (C {($ Id.VSub_DollarName '$SED')} {(SQ <'s/ -lc / System.ltframework /'>)} ) ] negated: F ) ) } spids: [49996] ) ] ) ] spids: [49953 49968 50017 -1] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-darwin> <Id.Lit_Star '*'>} ] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$tagname'))} {<Id.Lit_Equals '='>} {<CXX>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: { (braced_var_sub token: <Id.VSub_Name MACOSX_DEPLOYMENT_TARGET> suffix_op: (suffix_op.Unary tok: <Id.VTest_Hyphen -> arg_word: {<10.0>} ) ) } arms: [ (case_arm pat_list: [ {<10.> <Id.Lit_LBracket '['> <0123> <Id.Lit_RBracket ']'>} ] action: [ (C {<func_append>} {<compile_command>} {(DQ <' '> (${ Id.VSub_Name wl) <-bind_at_load>)} ) (C {<func_append>} {<finalize_command>} {(DQ <' '> (${ Id.VSub_Name wl) <-bind_at_load>)} ) ] spids: [50075 50079 50108 -1] ) ] ) ] spids: [50047 50061] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_deplibs) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ <' '> ($ Id.VSub_DollarName '$compile_deplibs'))} ) (C {($ Id.VSub_DollarName '$SED')} { (SQ < 's% \\([^ $]*\\).ltframework% -framework \\1%g' > ) } ) ] negated: F ) ) } spids: [50121] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_deplibs) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ <' '> ($ Id.VSub_DollarName '$finalize_deplibs')) } ) (C {($ Id.VSub_DollarName '$SED')} { (SQ < 's% \\([^ $]*\\).ltframework% -framework \\1%g' > ) } ) ] negated: F ) ) } spids: [50148] ) ] ) ] spids: [50031 50036 50175 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:new_libs) op: assign_op.Equal rhs: (word.Empty) spids: [50191] ) ] ) (command.ForEach iter_name: path iter_words: [{($ Id.VSub_DollarName '$notinst_path')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {(DQ <' '> ($ Id.VSub_DollarName '$new_libs') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' -L'> ($ Id.VSub_DollarName '$path') <'/'> ($ Id.VSub_DollarName '$objdir') <' '> ) <Id.Lit_Star '*'> } ] spids: [50217 50226 50228 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.Case to_match: {(DQ <' '> ($ Id.VSub_DollarName '$compile_deplibs') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' -L'> ($ Id.VSub_DollarName '$path') <'/'> ($ Id.VSub_DollarName '$objdir') <' '> ) <Id.Lit_Star '*'> } ] action: [ (C {<func_append>} {<new_libs>} { (DQ <' -L'> ($ Id.VSub_DollarName '$path') <'/'> ($ Id.VSub_DollarName '$objdir') ) } ) ] spids: [50246 50255 50269 -1] ) ] ) ] spids: [50231 50232 50275 -1] ) ] ) ] ) ) (command.ForEach iter_name: deplib iter_words: [{($ Id.VSub_DollarName '$compile_deplibs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$deplib')} arms: [ (case_arm pat_list: [{<-L> <Id.Lit_Star '*'>}] action: [ (command.Case to_match: {(DQ <' '> ($ Id.VSub_DollarName '$new_libs') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$deplib') <' '>) <Id.Lit_Star '*'> } ] spids: [50319 50326 50328 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<new_libs>} {(DQ <' '> ($ Id.VSub_DollarName '$deplib'))} ) ] spids: [50331 50332 50343 -1] ) ] ) ] spids: [50303 50305 50349 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<new_libs>} {(DQ <' '> ($ Id.VSub_DollarName '$deplib'))} ) ] spids: [50352 50353 50364 -1] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_deplibs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$new_libs'))} spids: [50373] ) ] ) (C {<func_append>} {<compile_command>} {(DQ <' '> ($ Id.VSub_DollarName '$compile_deplibs'))} ) (C {<func_append>} {<finalize_command>} {(DQ <' '> ($ Id.VSub_DollarName '$finalize_deplibs'))} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$rpath') ($ Id.VSub_DollarName '$xrpath') ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ForEach iter_name: libdir iter_words: [ {($ Id.VSub_DollarName '$rpath')} {($ Id.VSub_DollarName '$xrpath')} ] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$finalize_rpath') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$libdir') <' '>) <Id.Lit_Star '*'> } ] spids: [50449 50456 50458 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<finalize_rpath>} {(DQ <' '> ($ Id.VSub_DollarName '$libdir'))} ) ] spids: [50461 50462 50473 -1] ) ] ) ] ) ) ] spids: [50402 50414] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:rpath) op: assign_op.Equal rhs: (word.Empty) spids: [50490] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:hardcode_libdirs) op: assign_op.Equal rhs: (word.Empty) spids: [50493] ) ] ) (command.ForEach iter_name: libdir iter_words: [ {($ Id.VSub_DollarName '$compile_rpath')} {($ Id.VSub_DollarName '$finalize_rpath')} ] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$hardcode_libdir_flag_spec') ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$hardcode_libdir_separator' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$hardcode_libdirs' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: hardcode_libdirs ) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$libdir'))} spids: [50552] ) ] ) ] spids: [50538 50549] ) ] else_action: [ (command.Case to_match: { ($ Id.VSub_DollarName '$hardcode_libdir_separator' ) ($ Id.VSub_DollarName '$hardcode_libdirs') ($ Id.VSub_DollarName '$hardcode_libdir_separator') } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ ($ Id.VSub_DollarName '$hardcode_libdir_separator' ) ($ Id.VSub_DollarName '$libdir') ($ Id.VSub_DollarName '$hardcode_libdir_separator') ) <Id.Lit_Star '*'> } ] spids: [50574 50581 50584 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<hardcode_libdirs>} { (DQ ($ Id.VSub_DollarName '$hardcode_libdir_separator' ) ($ Id.VSub_DollarName '$libdir') ) } ) ] spids: [50587 50588 50601 -1] ) ] ) ] ) ] spids: [50524 50535] ) ] else_action: [ (C {<eval>} {<Id.Lit_VarLike 'flag='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$hardcode_libdir_flag_spec') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) } ) (C {<func_append>} {<rpath>} {(DQ <' '> ($ Id.VSub_DollarName '$flag'))} ) ] ) ] spids: [50510 50521] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$runpath_var'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$perm_rpath') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$libdir') <' '>) <Id.Lit_Star '*'> } ] spids: [50658 50665 50667 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<perm_rpath>} {(DQ <' '> ($ Id.VSub_DollarName '$libdir'))} ) ] spids: [50670 50671 50682 -1] ) ] ) ] spids: [50634 50645] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-cygwin> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-mingw> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-pw32> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <-> <Id.Lit_Star '*'> <-os2> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <-cegcc> <Id.Lit_Star '*'>} ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:testbindir) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {(${ Id.VSub_Name ECHO)} {(DQ ($ Id.VSub_DollarName '$libdir'))} ) (C {(${ Id.VSub_Name SED)} {<-e>} {(SQ <'s*/lib$*/bin*'>)} ) ] negated: F ) ) } spids: [50736] ) ] ) (command.Case to_match: {<Id.Lit_Colon ':'> ($ Id.VSub_DollarName '$dllsearchpath') <Id.Lit_Colon ':'> } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <':'> ($ Id.VSub_DollarName '$libdir') <':'>) <Id.Lit_Star '*'> } ] spids: [50771 50778 50780 -1] ) (case_arm pat_list: [{<Id.Lit_Colon ':'> <Id.Lit_Colon ':'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dllsearchpath) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$libdir')} spids: [50787] ) ] ) ] spids: [50783 50785 50789 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<dllsearchpath>} {(DQ <':'> ($ Id.VSub_DollarName '$libdir'))} ) ] spids: [50792 50793 50803 -1] ) ] ) (command.Case to_match: {<Id.Lit_Colon ':'> ($ Id.VSub_DollarName '$dllsearchpath') <Id.Lit_Colon ':'> } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <':'> ($ Id.VSub_DollarName '$testbindir') <':'>) <Id.Lit_Star '*'> } ] spids: [50818 50825 50827 -1] ) (case_arm pat_list: [{<Id.Lit_Colon ':'> <Id.Lit_Colon ':'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dllsearchpath) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$testbindir')} spids: [50834] ) ] ) ] spids: [50830 50832 50836 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<dllsearchpath>} {(DQ <':'> ($ Id.VSub_DollarName '$testbindir'))} ) ] spids: [50839 50840 50850 -1] ) ] ) ] spids: [50698 50733 50856 -1] ) ] ) ] ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$hardcode_libdir_separator'))} ) (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$hardcode_libdirs'))} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libdir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$hardcode_libdirs'))} spids: [50894] ) ] ) (C {<eval>} {<Id.Lit_VarLike 'rpath='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) } {($ Id.VSub_DollarName '$hardcode_libdir_flag_spec') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) } ) ] spids: [50869 50891] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_rpath) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$rpath'))} spids: [50912] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:rpath) op: assign_op.Equal rhs: (word.Empty) spids: [50919] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:hardcode_libdirs) op: assign_op.Equal rhs: (word.Empty) spids: [50922] ) ] ) (command.ForEach iter_name: libdir iter_words: [{($ Id.VSub_DollarName '$finalize_rpath')}] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$hardcode_libdir_flag_spec') ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$hardcode_libdir_separator' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$hardcode_libdirs' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name: hardcode_libdirs ) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$libdir'))} spids: [50979] ) ] ) ] spids: [50965 50976] ) ] else_action: [ (command.Case to_match: { ($ Id.VSub_DollarName '$hardcode_libdir_separator' ) ($ Id.VSub_DollarName '$hardcode_libdirs') ($ Id.VSub_DollarName '$hardcode_libdir_separator') } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ ($ Id.VSub_DollarName '$hardcode_libdir_separator' ) ($ Id.VSub_DollarName '$libdir') ($ Id.VSub_DollarName '$hardcode_libdir_separator') ) <Id.Lit_Star '*'> } ] spids: [51001 51008 51011 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<hardcode_libdirs>} { (DQ ($ Id.VSub_DollarName '$hardcode_libdir_separator' ) ($ Id.VSub_DollarName '$libdir') ) } ) ] spids: [51014 51015 51028 -1] ) ] ) ] ) ] spids: [50951 50962] ) ] else_action: [ (C {<eval>} {<Id.Lit_VarLike 'flag='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$hardcode_libdir_flag_spec') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) } ) (C {<func_append>} {<rpath>} {(DQ <' '> ($ Id.VSub_DollarName '$flag'))} ) ] ) ] spids: [50937 50948] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$runpath_var'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$finalize_perm_rpath') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$libdir') <' '>) <Id.Lit_Star '*'> } ] spids: [51085 51092 51094 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<finalize_perm_rpath>} {(DQ <' '> ($ Id.VSub_DollarName '$libdir'))} ) ] spids: [51097 51098 51109 -1] ) ] ) ] spids: [51061 51072] ) ] ) ] ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$hardcode_libdir_separator'))} ) (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$hardcode_libdirs'))} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libdir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$hardcode_libdirs'))} spids: [51150] ) ] ) (C {<eval>} {<Id.Lit_VarLike 'rpath='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) } {($ Id.VSub_DollarName '$hardcode_libdir_flag_spec') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) } ) ] spids: [51125 51147] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_rpath) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$rpath'))} spids: [51168] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$libobjs'))}) (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_old_libs'))} {<Id.Lit_Equals '='>} {<yes>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_command) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$compile_command'))} ) (C {($ Id.VSub_DollarName '$SP2NL')}) (C {($ Id.VSub_DollarName '$SED')} {(DQ ($ Id.VSub_DollarName '$lo2o'))} ) (C {($ Id.VSub_DollarName '$NL2SP')}) ] negated: F ) ) } spids: [51205] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_command) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$finalize_command'))} ) (C {($ Id.VSub_DollarName '$SP2NL')}) (C {($ Id.VSub_DollarName '$SED')} {(DQ ($ Id.VSub_DollarName '$lo2o'))} ) (C {($ Id.VSub_DollarName '$NL2SP')}) ] negated: F ) ) } spids: [51233] ) ] ) ] spids: [51175 51198] ) ] ) (C {<func_generate_dlsyms>} {(DQ ($ Id.VSub_DollarName '$outputname'))} {(DQ <'@PROGRAM@'>)} {(DQ <no>)} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$prelink_cmds'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_execute_cmds>} {(DQ ($ Id.VSub_DollarName '$prelink_cmds'))} {(SQ <'exit $?'>)} ) ] spids: [51285 51296] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:wrappers_required) op: assign_op.Equal rhs: {<yes>} spids: [51314] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <cegcc> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <mingw32ce> <Id.Lit_Star '*'>} ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:wrappers_required) op: assign_op.Equal rhs: {<no>} spids: [51341] ) ] ) ] spids: [51325 51334 51345 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'> <cygwin> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <mingw> <Id.Lit_Star '*'>} ] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_libtool_libs'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:wrappers_required) op: assign_op.Equal rhs: {<no>} spids: [51378] ) ] ) ] spids: [51361 51375] ) ] ) ] spids: [51348 51358 51385 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$need_relink'))} {<Id.Lit_Equals '='>} {<no>} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_libtool_libs'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<yes>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:wrappers_required) op: assign_op.Equal rhs: {<no>} spids: [51421] ) ] ) ] spids: [51392 51418] ) ] ) ] spids: [51388 51389 51428 -1] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$wrappers_required'))} {<Id.Lit_Equals '='>} {<no>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_command) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$compile_command'))} ) (C {($ Id.VSub_DollarName '$SED')} {(SQ <'s%@OUTPUT@%'>) (DQ ($ Id.VSub_DollarName '$output')) (SQ <'%g'>) } ) ] negated: F ) ) } spids: [51454] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:link_command) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$compile_command') ($ Id.VSub_DollarName '$compile_rpath') ) } spids: [51480] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:exit_status) op: assign_op.Equal rhs: {<0>} spids: [51492] ) ] ) (C {<func_show_eval>} {(DQ ($ Id.VSub_DollarName '$link_command'))} {(SQ <'exit_status=$?'>)} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$postlink_cmds'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_to_tool_file>} {(DQ ($ Id.VSub_DollarName '$output'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:postlink_cmds) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {<func_echo_all>} {(DQ ($ Id.VSub_DollarName '$postlink_cmds'))} ) (C {($ Id.VSub_DollarName '$SED')} {<-e>} {(SQ <'s%@OUTPUT@%'>) (DQ ($ Id.VSub_DollarName '$output')) (SQ <'%g'>) } {<-e>} {(SQ <'s%@TOOL_OUTPUT@%'>) (DQ ($ Id.VSub_DollarName '$func_to_tool_file_result')) (SQ <'%g'>)} ) ] negated: F ) ) } spids: [51529] ) ] ) (C {<func_execute_cmds>} {(DQ ($ Id.VSub_DollarName '$postlink_cmds'))} {(SQ <'exit $?'>)} ) ] spids: [51508 51519] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-f>} { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> (${ Id.VSub_Name outputname) <S.> (${ Id.VSub_Name objext) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_show_eval>} {(SQ <'$RM "$output_objdir/${outputname}S.${objext}"'>)} ) ] spids: [51588 51607] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$exit_status')} ) ] spids: [51434 51447] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$compile_shlibpath') ($ Id.VSub_DollarName '$finalize_shlibpath') ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_command) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$shlibpath_var') <'='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$compile_shlibpath') ($ Id.VSub_DollarName '$finalize_shlibpath') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) ($ Id.VSub_DollarName '$shlibpath_var') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' '> ($ Id.VSub_DollarName '$compile_command') ) } spids: [51645] ) ] ) ] spids: [51630 51642] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$finalize_shlibpath'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_command) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$shlibpath_var') <'='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$finalize_shlibpath') (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) ($ Id.VSub_DollarName '$shlibpath_var') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' '> ($ Id.VSub_DollarName '$finalize_command') ) } spids: [51677] ) ] ) ] spids: [51663 51674] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_var) op: assign_op.Equal rhs: (word.Empty) spids: [51695] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_var) op: assign_op.Equal rhs: (word.Empty) spids: [51698] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$runpath_var'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$perm_rpath'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:rpath) op: assign_op.Equal rhs: (word.Empty) spids: [51733] ) ] ) (command.ForEach iter_name: dir iter_words: [{($ Id.VSub_DollarName '$perm_rpath')}] do_arg_iter: F body: (command.DoGroup children: [ (C {<func_append>} {<rpath>} {(DQ ($ Id.VSub_DollarName '$dir') <':'>)} ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:compile_var) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$runpath_var') <'='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$rpath') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) ($ Id.VSub_DollarName '$runpath_var') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' '> ) } spids: [51761] ) ] ) ] spids: [51715 51726] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$finalize_perm_rpath'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:rpath) op: assign_op.Equal rhs: (word.Empty) spids: [51795] ) ] ) (command.ForEach iter_name: dir iter_words: [{($ Id.VSub_DollarName '$finalize_perm_rpath')}] do_arg_iter: F body: (command.DoGroup children: [ (C {<func_append>} {<rpath>} {(DQ ($ Id.VSub_DollarName '$dir') <':'>)} ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:finalize_var) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$runpath_var') <'='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$rpath') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) ($ Id.VSub_DollarName '$runpath_var') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' '> ) } spids: [51823] ) ] ) ] spids: [51777 51788] ) ] ) ] spids: [51701 51712] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$no_install'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:link_command) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$compile_var') ($ Id.VSub_DollarName '$compile_command') ($ Id.VSub_DollarName '$compile_rpath') ) } spids: [51863] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:link_command) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$link_command'))} ) (C {($ Id.VSub_DollarName '$SED')} {(SQ <'s%@OUTPUT@%'>) (DQ ($ Id.VSub_DollarName '$output')) (SQ <'%g'>) } ) ] negated: F ) ) } spids: [51875] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (C {($ Id.VSub_DollarName '$RM')} {($ Id.VSub_DollarName '$output')}) ] ) (C {<func_show_eval>} {(DQ ($ Id.VSub_DollarName '$link_command'))} {(SQ <'exit $?'>)} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$postlink_cmds'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_to_tool_file>} {(DQ ($ Id.VSub_DollarName '$output'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:postlink_cmds) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {<func_echo_all>} {(DQ ($ Id.VSub_DollarName '$postlink_cmds'))} ) (C {($ Id.VSub_DollarName '$SED')} {<-e>} {(SQ <'s%@OUTPUT@%'>) (DQ ($ Id.VSub_DollarName '$output')) (SQ <'%g'>) } {<-e>} {(SQ <'s%@TOOL_OUTPUT@%'>) (DQ ($ Id.VSub_DollarName '$func_to_tool_file_result')) (SQ <'%g'>)} ) ] negated: F ) ) } spids: [51951] ) ] ) (C {<func_execute_cmds>} {(DQ ($ Id.VSub_DollarName '$postlink_cmds'))} {(SQ <'exit $?'>)} ) ] spids: [51930 51941] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$EXIT_SUCCESS')} ) ] spids: [51843 51856] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$hardcode_action'))} {<Id.Lit_Equals '='>} {<relink>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:link_command) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$compile_var') ($ Id.VSub_DollarName '$compile_command') ($ Id.VSub_DollarName '$compile_rpath') ) } spids: [52035] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:relink_command) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$finalize_var') ($ Id.VSub_DollarName '$finalize_command') ($ Id.VSub_DollarName '$finalize_rpath') ) } spids: [52043] ) ] ) (C {<func_warning>} {(DQ <'this platform does not like uninstalled shared libraries'>)} ) (C {<func_warning>} { (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$output') <'\' will be relinked during installation'> ) } ) ] spids: [52015 52028] ) ] else_action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$fast_install'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<no>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:link_command) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$finalize_var') ($ Id.VSub_DollarName '$compile_command') ($ Id.VSub_DollarName '$finalize_rpath') ) } spids: [52088] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$fast_install'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:relink_command) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} { (DQ ($ Id.VSub_DollarName '$compile_var') ($ Id.VSub_DollarName '$compile_command') ($ Id.VSub_DollarName '$compile_rpath') ) } ) (C {($ Id.VSub_DollarName '$SED')} {(SQ <'s%@OUTPUT@%$progdir/$file%g'>)} ) ] negated: F ) ) } spids: [52112] ) ] ) ] spids: [52096 52109] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:relink_command) op: assign_op.Equal rhs: (word.Empty) spids: [52145] ) ] ) ] ) ] spids: [52071 52085] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:link_command) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$compile_var') ($ Id.VSub_DollarName '$compile_command') ($ Id.VSub_DollarName '$compile_rpath') ) } spids: [52154] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:relink_command) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$finalize_var') ($ Id.VSub_DollarName '$finalize_command') ($ Id.VSub_DollarName '$finalize_rpath') ) } spids: [52162] ) ] ) ] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:link_command) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$link_command'))} ) (C {($ Id.VSub_DollarName '$SED')} {(SQ <'s%@OUTPUT@%'>) (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$outputname') ) (SQ <'%g'>) } ) ] negated: F ) ) } spids: [52181] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (C {($ Id.VSub_DollarName '$RM')} {($ Id.VSub_DollarName '$output')} {($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$outputname') } {($ Id.VSub_DollarName '$output_objdir') <'/lt-'> ($ Id.VSub_DollarName '$outputname')} ) ] ) (C {<func_show_eval>} {(DQ ($ Id.VSub_DollarName '$link_command'))} {(SQ <'exit $?'>)} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$postlink_cmds'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_to_tool_file>} { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$outputname') ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:postlink_cmds) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {<func_echo_all>} {(DQ ($ Id.VSub_DollarName '$postlink_cmds'))} ) (C {($ Id.VSub_DollarName '$SED')} {<-e>} {(SQ <'s%@OUTPUT@%'>) (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$outputname') ) (SQ <'%g'>) } {<-e>} {(SQ <'s%@TOOL_OUTPUT@%'>) (DQ ($ Id.VSub_DollarName '$func_to_tool_file_result')) (SQ <'%g'>)} ) ] negated: F ) ) } spids: [52267] ) ] ) (C {<func_execute_cmds>} {(DQ ($ Id.VSub_DollarName '$postlink_cmds'))} {(SQ <'exit $?'>)} ) ] spids: [52244 52255] ) ] ) (C {<func_verbose>} {(DQ <'creating '> ($ Id.VSub_DollarName '$output'))}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$relink_command'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ForEach iter_name: var iter_words: [{($ Id.VSub_DollarName '$variables_saved_for_relink')}] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<eval>} {<test>} {<-z>} { (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <Id.Lit_LBrace '{'> ($ Id.VSub_DollarName '$var') <Id.Lit_Other '+'> <set> <Id.Lit_RBrace '}'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:relink_command) op: assign_op.Equal rhs: { (DQ <'{ test -z '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'{'> ($ Id.VSub_DollarName '$var') <'+set}'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' || '> ($ Id.VSub_DollarName '$lt_unset') <' '> ($ Id.VSub_DollarName '$var') <' || { '> ($ Id.VSub_DollarName '$var') <'=; export '> ($ Id.VSub_DollarName '$var') <'; }; }; '> ($ Id.VSub_DollarName '$relink_command') ) } spids: [52392] ) ] ) ] spids: [52371 52389] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<eval>} {<Id.Lit_VarLike 'var_value='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) ($ Id.VSub_DollarName '$var') } ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$var_value'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:relink_command) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$var') <'=; export '> ($ Id.VSub_DollarName '$var') <'; '> ($ Id.VSub_DollarName '$relink_command') ) } spids: [52435] ) ] ) ] spids: [52414 52432] ) ] else_action: [ (C {<func_quote_for_eval>} {(DQ ($ Id.VSub_DollarName '$var_value'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:relink_command) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$var') <'='> ($ Id.VSub_DollarName '$func_quote_for_eval_result' ) <'; export '> ($ Id.VSub_DollarName '$var') <'; '> ($ Id.VSub_DollarName '$relink_command') ) } spids: [52455] ) ] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:relink_command) op: assign_op.Equal rhs: { (DQ <'(cd '> (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<pwd>}) ) <'; '> ($ Id.VSub_DollarName '$relink_command') <')'> ) } spids: [52473] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:relink_command) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$relink_command'))} ) (C {($ Id.VSub_DollarName '$SED')} {(DQ ($ Id.VSub_DollarName '$sed_quote_subst'))} ) ] negated: F ) ) } spids: [52487] ) ] ) ] spids: [52341 52352] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (BraceGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$output')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <.exe>}] action: [ (C {<func_stripname>} {(SQ )} {(SQ <.exe>)} {(DQ ($ Id.VSub_DollarName '$output'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:output) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [52555] ) ] ) ] spids: [52537 52539 52558 -1] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <cygwin> <Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:exeext) op: assign_op.Equal rhs: {<.exe>} spids: [52581] ) ] ) (C {<func_stripname>} {(SQ )} {(SQ <.exe>)} {(DQ ($ Id.VSub_DollarName '$outputname'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:outputname) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [52599] ) ] ) ] spids: [52575 52578 52602 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:exeext) op: assign_op.Equal rhs: (word.Empty) spids: [52608] ) ] ) ] spids: [52605 52606 52610 -1] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$host')} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <cygwin> <Id.Lit_Star '*'>} {<Id.Lit_Star '*'> <mingw> <Id.Lit_Star '*'>} ] action: [ (C {<func_dirname_and_basename>} {(DQ ($ Id.VSub_DollarName '$output'))} {(DQ )} {(DQ <.>)} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:output_name) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_basename_result')} spids: [52650] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:output_path) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_dirname_result')} spids: [52654] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:cwrappersource) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$output_path') <'/'> ($ Id.VSub_DollarName '$objdir') <'/lt-'> ($ Id.VSub_DollarName '$output_name') <.c> ) } spids: [52658] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:cwrapper) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$output_path') <'/'> ($ Id.VSub_DollarName '$output_name') <.exe> ) } spids: [52669] ) ] ) (C {($ Id.VSub_DollarName '$RM')} {($ Id.VSub_DollarName '$cwrappersource')} {($ Id.VSub_DollarName '$cwrapper')} ) (C {<trap>} { (DQ ($ Id.VSub_DollarName '$RM') <' '> ($ Id.VSub_DollarName '$cwrappersource') <' '> ($ Id.VSub_DollarName '$cwrapper') <'; exit '> ($ Id.VSub_DollarName '$EXIT_FAILURE') ) } {<1>} {<2>} {<15>} ) (command.Simple words: [{<func_emit_cwrapperexe_src>}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$cwrappersource')} ) ] do_fork: T ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (BraceGroup children: [ (C {($ Id.VSub_DollarName '$LTCC')} {($ Id.VSub_DollarName '$LTCFLAGS')} {<-o>} {($ Id.VSub_DollarName '$cwrapper')} {($ Id.VSub_DollarName '$cwrappersource')} ) (C {($ Id.VSub_DollarName '$STRIP')} {($ Id.VSub_DollarName '$cwrapper')} ) ] ) ] ) (C {<func_ltwrapper_scriptname>} {($ Id.VSub_DollarName '$cwrapper')} ) (C {($ Id.VSub_DollarName '$RM')} {($ Id.VSub_DollarName '$func_ltwrapper_scriptname_result')} ) (C {<trap>} { (DQ ($ Id.VSub_DollarName '$RM') <' '> ($ Id.VSub_DollarName '$func_ltwrapper_scriptname_result') <'; exit '> ($ Id.VSub_DollarName '$EXIT_FAILURE') ) } {<1>} {<2>} {<15>} ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (BraceGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ <x> ($ Id.VSub_DollarName '$build') ) } {<Id.Lit_Equals '='>} {(DQ <x> ($ Id.VSub_DollarName '$host'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Simple words: [ {($ Id.VSub_DollarName '$cwrapper')} {<--lt-dump-script>} ] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: { ($ Id.VSub_DollarName '$func_ltwrapper_scriptname_result' ) } ) ] do_fork: T ) ] spids: [52798 52816] ) ] else_action: [ (command.Simple words: [{<func_emit_wrapper>} {<no>}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: { ($ Id.VSub_DollarName '$func_ltwrapper_scriptname_result' ) } ) ] do_fork: T ) ] ) ] ) ] ) ] spids: [52623 52633 52846 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {($ Id.VSub_DollarName '$RM')} {($ Id.VSub_DollarName '$output')} ) (C {<trap>} { (DQ ($ Id.VSub_DollarName '$RM') <' '> ($ Id.VSub_DollarName '$output') <'; exit '> ($ Id.VSub_DollarName '$EXIT_FAILURE') ) } {<1>} {<2>} {<15>} ) (command.Simple words: [{<func_emit_wrapper>} {<no>}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$output')} ) ] do_fork: T ) (C {<chmod>} {<Id.Lit_Other '+'> <x>} {($ Id.VSub_DollarName '$output')} ) ] spids: [52849 52851 52894 -1] ) ] ) ] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$EXIT_SUCCESS')} ) ] spids: [49800 49801 52908 -1] ) ] ) (command.ForEach iter_name: oldlib iter_words: [{($ Id.VSub_DollarName '$oldlibs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_libtool_libs'))} {<Id.Lit_Equals '='>} {<convenience>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:oldobjs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$libobjs_save') <' '> ($ Id.VSub_DollarName '$symfileobj') ) } spids: [52948] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:addlibs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$convenience'))} spids: [52956] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:build_libtool_libs) op: assign_op.Equal rhs: {<no>} spids: [52962] ) ] ) ] spids: [52932 52945] ) ] else_action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_libtool_libs'))} {<Id.Lit_Equals '='>} {<module>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:oldobjs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$libobjs_save'))} spids: [52985] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:build_libtool_libs) op: assign_op.Equal rhs: {<no>} spids: [52991] ) ] ) ] spids: [52969 52982] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:oldobjs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$old_deplibs') <' '> ($ Id.VSub_DollarName '$non_pic_objects') ) } spids: [52998] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$preload'))} {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} {<-f>} {(DQ ($ Id.VSub_DollarName '$symfileobj'))} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<oldobjs>} {(DQ <' '> ($ Id.VSub_DollarName '$symfileobj'))} ) ] spids: [53006 53029] ) ] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:addlibs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$old_convenience'))} spids: [53048] ) ] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$addlibs'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:gentop) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> (${ Id.VSub_Name outputname) <x> ) } spids: [53072] ) ] ) (C {<func_append>} {<generated>} {(DQ <' '> ($ Id.VSub_DollarName '$gentop'))} ) (C {<func_extract_archives>} {($ Id.VSub_DollarName '$gentop')} {($ Id.VSub_DollarName '$addlibs')} ) (C {<func_append>} {<oldobjs>} {(DQ <' '> ($ Id.VSub_DollarName '$func_extract_archives_result'))} ) ] spids: [53058 53069] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$old_archive_from_new_cmds'))} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_libtool_libs'))} {<Id.Lit_Equals '='>} {<yes>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:cmds) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$old_archive_from_new_cmds')} spids: [53145] ) ] ) ] spids: [53119 53142] ) ] else_action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$dlprefiles'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:gentop) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> (${ Id.VSub_Name outputname) <x> ) } spids: [53171] ) ] ) (C {<func_append>} {<generated>} {(DQ <' '> ($ Id.VSub_DollarName '$gentop'))} ) (C {<func_extract_archives>} {($ Id.VSub_DollarName '$gentop')} {($ Id.VSub_DollarName '$dlprefiles')} ) (C {<func_append>} {<oldobjs>} {(DQ <' '> ($ Id.VSub_DollarName '$func_extract_archives_result'))} ) ] spids: [53157 53168] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.Subshell child: (command.Pipeline children: [ (command.ForEach iter_name: obj iter_words: [{($ Id.VSub_DollarName '$oldobjs')}] do_arg_iter: F body: (command.DoGroup children: [ (C {<func_basename>} {(DQ ($ Id.VSub_DollarName '$obj'))} ) (C {($ Id.VSub_DollarName '$ECHO')} { (DQ ($ Id.VSub_DollarName '$func_basename_result' ) ) } ) ] ) ) (C {<sort>}) (command.Simple words: [{<sort>} {<-uc>}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/dev/null'>} ) (redir op: <Id.Redir_GreatAnd '2>&'> loc: (redir_loc.Fd fd:2) arg: {<1>} ) ] do_fork: T ) ] negated: F ) ) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<Id.Lit_Colon ':'>})] spids: [53238 53287] ) ] else_action: [ (C {<echo>} {(DQ <'copying selected object files to avoid basename conflicts...'>)} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:gentop) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> (${ Id.VSub_Name outputname) <x> ) } spids: [53303] ) ] ) (C {<func_append>} {<generated>} {(DQ <' '> ($ Id.VSub_DollarName '$gentop'))} ) (C {<func_mkdir_p>} {(DQ ($ Id.VSub_DollarName '$gentop'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:save_oldobjs) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$oldobjs')} spids: [53331] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:oldobjs) op: assign_op.Equal rhs: (word.Empty) spids: [53335] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:counter) op: assign_op.Equal rhs: {<1>} spids: [53338] ) ] ) (command.ForEach iter_name: obj iter_words: [{($ Id.VSub_DollarName '$save_oldobjs')}] do_arg_iter: F body: (command.DoGroup children: [ (C {<func_basename>} {(DQ ($ Id.VSub_DollarName '$obj'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:objbase) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_basename_result'))} spids: [53361] ) ] ) (command.Case to_match: {(DQ <' '> ($ Id.VSub_DollarName '$oldobjs') <' '>)} arms: [ (case_arm pat_list: [{(DQ <' '>)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:oldobjs) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$obj')} spids: [53383] ) ] ) ] spids: [53378 53381 53386 -1] ) (case_arm pat_list: [ {<Id.Lit_Star '*'> <Id.Lit_LBracket '['> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\ '> ) <'/'> <Id.Lit_RBracket ']'> (DQ ($ Id.VSub_DollarName '$objbase') <' '>) <Id.Lit_Star '*'> } ] action: [ (command.WhileUntil keyword: <Id.KW_While while> cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_Colon ':'>}) terminator: <Id.Op_Semi _> ) ] ) body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:newobj) op: assign_op.Equal rhs: {<lt> ($ Id.VSub_DollarName '$counter') <-> ($ Id.VSub_DollarName '$objbase') } spids: [53418] ) ] ) (C {<func_arith>} {($ Id.VSub_DollarName '$counter')} {<Id.Lit_Other '+'>} {<1>} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:counter) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$func_arith_result' ) } spids: [53434] ) ] ) (command.Case to_match: { (DQ <' '> ($ Id.VSub_DollarName '$oldobjs') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <Id.Lit_LBracket '['> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\ '> ) <'/'> <Id.Lit_RBracket ']'> (DQ ($ Id.VSub_DollarName '$newobj') <' '>) <Id.Lit_Star '*'> } ] spids: [53449 53459 53461 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<Id.KW_Bang '!'>} {<-f>} {(DQ ($ Id.VSub_DollarName '$gentop') <'/'> ($ Id.VSub_DollarName '$newobj'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Sentence child: (command.ControlFlow token: <Id.ControlFlow_Break break > ) terminator: <Id.Op_Semi _> ) ] spids: [53467 53482] ) ] ) ] spids: [53464 53465 53489 -1] ) ] ) ] ) ) (C {<func_show_eval>} { (DQ <'ln '> ($ Id.VSub_DollarName '$obj') <' '> ($ Id.VSub_DollarName '$gentop') <'/'> ($ Id.VSub_DollarName '$newobj') <' || cp '> ($ Id.VSub_DollarName '$obj') <' '> ($ Id.VSub_DollarName '$gentop') <'/'> ($ Id.VSub_DollarName '$newobj') ) } ) (C {<func_append>} {<oldobjs>} { (DQ <' '> ($ Id.VSub_DollarName '$gentop') <'/'> ($ Id.VSub_DollarName '$newobj') ) } ) ] spids: [53389 53399 53528 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<oldobjs>} {(DQ <' '> ($ Id.VSub_DollarName '$obj'))} ) ] spids: [53531 53532 53543 -1] ) ] ) ] ) ) ] ) (C {<func_to_tool_file>} {(DQ ($ Id.VSub_DollarName '$oldlib'))} {<func_convert_file_msys_to_w32>} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tool_oldlib) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_to_tool_file_result')} spids: [53564] ) ] ) (C {<eval>} {<Id.Lit_VarLike 'cmds='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$old_archive_cmds') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) (C {<func_len>} {(DQ <' '> ($ Id.VSub_DollarName '$cmds'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:len) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_len_result')} spids: [53585] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$len'))} {<-lt>} {(DQ ($ Id.VSub_DollarName '$max_cmd_len'))} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$max_cmd_len'))} {<-le>} {<-1>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:cmds) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$old_archive_cmds')} spids: [53619] ) ] ) ] spids: [53589 53616] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$archiver_list_spec'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_verbose>} {(DQ <'using command file archive linking...'>)}) (command.ForEach iter_name: obj iter_words: [{($ Id.VSub_DollarName '$oldobjs')}] do_arg_iter: F body: (command.DoGroup children: [ (C {<func_to_tool_file>} {(DQ ($ Id.VSub_DollarName '$obj'))}) (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$func_to_tool_file_result'))} ) ] ) redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$libname') <.libcmd> } ) ] ) (C {<func_to_tool_file>} { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$libname') <.libcmd> ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:oldobjs) op: assign_op.Equal rhs: { (DQ <' '> ($ Id.VSub_DollarName '$archiver_list_spec') ($ Id.VSub_DollarName '$func_to_tool_file_result') ) } spids: [53690] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:cmds) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$old_archive_cmds')} spids: [53698] ) ] ) ] spids: [53623 53634] ) ] else_action: [ (C {<func_verbose>} {(DQ <'using piecewise archive linking...'>)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:save_RANLIB) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$RANLIB')} spids: [53716] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:RANLIB) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} spids: [53720] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:objlist) op: assign_op.Equal rhs: (word.Empty) spids: [53724] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:concat_cmds) op: assign_op.Equal rhs: (word.Empty) spids: [53727] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:save_oldobjs) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$oldobjs')} spids: [53730] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:oldobjs) op: assign_op.Equal rhs: (word.Empty) spids: [53734] ) ] ) (command.ForEach iter_name: obj iter_words: [{($ Id.VSub_DollarName '$save_oldobjs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:last_oldobj) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$obj')} spids: [53753] ) ] ) ] ) ) (C {<eval>} {<Id.Lit_VarLike 'test_cmds='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$old_archive_cmds') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) (C {<func_len>} {(DQ <' '> ($ Id.VSub_DollarName '$test_cmds'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:len0) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_len_result')} spids: [53776] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:len) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$len0')} spids: [53780] ) ] ) (command.ForEach iter_name: obj iter_words: [{($ Id.VSub_DollarName '$save_oldobjs')}] do_arg_iter: F body: (command.DoGroup children: [ (C {<func_len>} {(DQ <' '> ($ Id.VSub_DollarName '$obj'))}) (C {<func_arith>} {($ Id.VSub_DollarName '$len')} {<Id.Lit_Other '+'>} {($ Id.VSub_DollarName '$func_len_result')} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:len) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_arith_result')} spids: [53813] ) ] ) (C {<func_append>} {<objlist>} {(DQ <' '> ($ Id.VSub_DollarName '$obj'))} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$len'))} {<-lt>} {(DQ ($ Id.VSub_DollarName '$max_cmd_len'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<Id.Lit_Colon ':'>})] spids: [53827 53842] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:oldobjs) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$objlist')} spids: [53855] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$obj'))} {<Id.Lit_Equals '='>} {(DQ ($ Id.VSub_DollarName '$last_oldobj'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:RANLIB) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$save_RANLIB')} spids: [53878] ) ] ) ] spids: [53859 53875] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$concat_cmds'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:concat_cmds) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$concat_cmds') <Id.Lit_TildeLike '~'> } spids: [53895] ) ] ) ] ) (C {<eval>} {<Id.Lit_VarLike 'concat_cmds='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <Id.Lit_LBrace '{'> <concat_cmds> <Id.Lit_RBrace '}'> ($ Id.VSub_DollarName '$old_archive_cmds') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:objlist) op: assign_op.Equal rhs: (word.Empty) spids: [53912] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:len) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$len0')} spids: [53915] ) ] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:RANLIB) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$save_RANLIB')} spids: [53925] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:oldobjs) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$objlist')} spids: [53929] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$oldobjs'))} {<Id.Lit_Equals '='>} {(DQ <X>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<eval>} {<Id.Lit_VarLike 'cmds='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <concat_cmds> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) } ) ] spids: [53933 53950] ) ] else_action: [ (C {<eval>} {<Id.Lit_VarLike 'cmds='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <concat_cmds> <Id.Lit_TildeLike '~'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) <old_archive_cmds> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) ] ) ] ) ] ) (C {<func_execute_cmds>} {(DQ ($ Id.VSub_DollarName '$cmds'))} {(SQ <'exit $?'>)}) ] ) ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$generated'))}) (C {<func_show_eval>} {(DQ (${ Id.VSub_Name RM) <r> ($ Id.VSub_DollarName '$generated'))} ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$output')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <.la>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:old_library) op: assign_op.Equal rhs: (word.Empty) spids: [54041] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$build_old_libs'))} {<Id.Lit_Equals '='>} {<yes>} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:old_library) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$libname') <.> ($ Id.VSub_DollarName '$libext') ) } spids: [54056] ) ] ) ] ) (C {<func_verbose>} {(DQ <'creating '> ($ Id.VSub_DollarName '$output'))}) (command.ForEach iter_name: var iter_words: [{($ Id.VSub_DollarName '$variables_saved_for_relink')}] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<eval>} {<test>} {<-z>} { (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <Id.Lit_LBrace '{'> ($ Id.VSub_DollarName '$var') <Id.Lit_Other '+'> <set> <Id.Lit_RBrace '}'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:relink_command) op: assign_op.Equal rhs: { (DQ <'{ test -z '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <'{'> ($ Id.VSub_DollarName '$var') <'+set}'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <' || '> ($ Id.VSub_DollarName '$lt_unset') <' '> ($ Id.VSub_DollarName '$var') <' || { '> ($ Id.VSub_DollarName '$var') <'=; export '> ($ Id.VSub_DollarName '$var') <'; }; }; '> ($ Id.VSub_DollarName '$relink_command') ) } spids: [54110] ) ] ) ] spids: [54089 54107] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<eval>} {<Id.Lit_VarLike 'var_value='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\$'> ) ($ Id.VSub_DollarName '$var') } ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$var_value'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:relink_command) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$var') <'=; export '> ($ Id.VSub_DollarName '$var') <'; '> ($ Id.VSub_DollarName '$relink_command') ) } spids: [54153] ) ] ) ] spids: [54132 54150] ) ] else_action: [ (C {<func_quote_for_eval>} {(DQ ($ Id.VSub_DollarName '$var_value'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:relink_command) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$var') <'='> ($ Id.VSub_DollarName '$func_quote_for_eval_result') <'; export '> ($ Id.VSub_DollarName '$var') <'; '> ($ Id.VSub_DollarName '$relink_command') ) } spids: [54173] ) ] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:relink_command) op: assign_op.Equal rhs: { (DQ <'(cd '> (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<pwd>}) ) <'; '> ($ Id.VSub_DollarName '$SHELL') <' '> ($ Id.VSub_DollarName '$progpath') <' '> ($ Id.VSub_DollarName '$preserve_args') <' --mode=relink '> ($ Id.VSub_DollarName '$libtool_args') <' @inst_prefix_dir@)'> ) } spids: [54195] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:relink_command) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {($ Id.VSub_DollarName '$ECHO')} {(DQ ($ Id.VSub_DollarName '$relink_command'))} ) (C {($ Id.VSub_DollarName '$SED')} {(DQ ($ Id.VSub_DollarName '$sed_quote_subst'))} ) ] negated: F ) ) } spids: [54215] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$hardcode_automatic'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:relink_command) op: assign_op.Equal rhs: (word.Empty) spids: [54252] ) ] ) ] spids: [54235 54249] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {($ Id.VSub_DollarName '$opt_dry_run')}) (BraceGroup children: [ (command.ForEach iter_name: installed iter_words: [{<no>} {<yes>}] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$installed'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$install_libdir' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ControlFlow token: <Id.ControlFlow_Break break> ) ] spids: [54300 54311] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:output) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$output_objdir') <'/'> ($ Id.VSub_DollarName '$outputname') ) <i> } spids: [54320] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:newdependency_libs) op: assign_op.Equal rhs: (word.Empty) spids: [54333] ) ] ) (command.ForEach iter_name: deplib iter_words: [{($ Id.VSub_DollarName '$dependency_libs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$deplib')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <.la>}] action: [ (C {<func_basename>} {(DQ ($ Id.VSub_DollarName '$deplib'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:name) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$func_basename_result' ) ) } spids: [54367] ) ] ) (C {<func_resolve_sysroot>} {(DQ ($ Id.VSub_DollarName '$deplib'))} ) (C {<eval>} {<Id.Lit_VarLike 'libdir='> (command_sub left_token: <Id.Left_Backtick '`'> child: (C {(${ Id.VSub_Name SED)} {<-n>} {<-e>} {(SQ <'s/^libdir=\\(.*\\)$/\\1/p'>)} {($ Id.VSub_DollarName '$func_resolve_sysroot_result')} ) ) } ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$libdir') ) } ) (C {<func_fatal_error>} { (DQ (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$deplib') <'\' is not a valid libtool archive'> ) } ) ] ) (C {<func_append>} {<newdependency_libs>} { (DQ <' '> (braced_var_sub token: <Id.VSub_Name lt_sysroot> suffix_op: (suffix_op.Unary tok: <Id.VTest_ColonPlus ':+'> arg_word: {<'='>} ) ) ($ Id.VSub_DollarName '$libdir') <'/'> ($ Id.VSub_DollarName '$name') ) } ) ] spids: [54355 54357 54446 -1] ) (case_arm pat_list: [{<-L> <Id.Lit_Star '*'>}] action: [ (C {<func_stripname>} {<-L>} {(SQ )} {(DQ ($ Id.VSub_DollarName '$deplib'))} ) (C {<func_replace_sysroot>} { (DQ ($ Id.VSub_DollarName '$func_stripname_result' ) ) } ) (C {<func_append>} {<newdependency_libs>} { (DQ <' -L'> ($ Id.VSub_DollarName '$func_replace_sysroot_result' ) ) } ) ] spids: [54449 54451 54483 -1] ) (case_arm pat_list: [{<-R> <Id.Lit_Star '*'>}] action: [ (C {<func_stripname>} {<-R>} {(SQ )} {(DQ ($ Id.VSub_DollarName '$deplib'))} ) (C {<func_replace_sysroot>} { (DQ ($ Id.VSub_DollarName '$func_stripname_result' ) ) } ) (C {<func_append>} {<newdependency_libs>} { (DQ <' -R'> ($ Id.VSub_DollarName '$func_replace_sysroot_result' ) ) } ) ] spids: [54486 54488 54520 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<newdependency_libs>} { (DQ <' '> ($ Id.VSub_DollarName '$deplib') ) } ) ] spids: [54523 54524 54535 -1] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dependency_libs) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$newdependency_libs') ) } spids: [54544] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:newdlfiles) op: assign_op.Equal rhs: (word.Empty) spids: [54550] ) ] ) (command.ForEach iter_name: lib iter_words: [{($ Id.VSub_DollarName '$dlfiles')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$lib')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <.la>}] action: [ (C {<func_basename>} {(DQ ($ Id.VSub_DollarName '$lib'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:name) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$func_basename_result' ) ) } spids: [54585] ) ] ) (C {<eval>} {<Id.Lit_VarLike 'libdir='> (command_sub left_token: <Id.Left_Backtick '`'> child: (C {(${ Id.VSub_Name SED)} {<-n>} {<-e>} {(SQ <'s/^libdir=\\(.*\\)$/\\1/p'>)} {($ Id.VSub_DollarName '$lib')} ) ) } ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$libdir') ) } ) (C {<func_fatal_error>} { (DQ (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$lib') <'\' is not a valid libtool archive'> ) } ) ] ) (C {<func_append>} {<newdlfiles>} { (DQ <' '> (braced_var_sub token: <Id.VSub_Name lt_sysroot> suffix_op: (suffix_op.Unary tok: <Id.VTest_ColonPlus ':+'> arg_word: {<'='>} ) ) ($ Id.VSub_DollarName '$libdir') <'/'> ($ Id.VSub_DollarName '$name') ) } ) ] spids: [54573 54575 54657 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<newdlfiles>} { (DQ <' '> ($ Id.VSub_DollarName '$lib') ) } ) ] spids: [54660 54661 54672 -1] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlfiles) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$newdlfiles'))} spids: [54681] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:newdlprefiles) op: assign_op.Equal rhs: (word.Empty) spids: [54687] ) ] ) (command.ForEach iter_name: lib iter_words: [{($ Id.VSub_DollarName '$dlprefiles')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$lib')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <.la>}] action: [ (C {<func_basename>} {(DQ ($ Id.VSub_DollarName '$lib'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:name) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$func_basename_result' ) ) } spids: [54737] ) ] ) (C {<eval>} {<Id.Lit_VarLike 'libdir='> (command_sub left_token: <Id.Left_Backtick '`'> child: (C {(${ Id.VSub_Name SED)} {<-n>} {<-e>} {(SQ <'s/^libdir=\\(.*\\)$/\\1/p'>)} {($ Id.VSub_DollarName '$lib')} ) ) } ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-z>} { (DQ ($ Id.VSub_DollarName '$libdir') ) } ) (C {<func_fatal_error>} { (DQ (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\`'> ) ($ Id.VSub_DollarName '$lib') <'\' is not a valid libtool archive'> ) } ) ] ) (C {<func_append>} {<newdlprefiles>} { (DQ <' '> (braced_var_sub token: <Id.VSub_Name lt_sysroot> suffix_op: (suffix_op.Unary tok: <Id.VTest_ColonPlus ':+'> arg_word: {<'='>} ) ) ($ Id.VSub_DollarName '$libdir') <'/'> ($ Id.VSub_DollarName '$name') ) } ) ] spids: [54709 54711 54809 -1] ) ] ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlprefiles) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$newdlprefiles'))} spids: [54818] ) ] ) ] spids: [54284 54297] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:newdlfiles) op: assign_op.Equal rhs: (word.Empty) spids: [54827] ) ] ) (command.ForEach iter_name: lib iter_words: [{($ Id.VSub_DollarName '$dlfiles')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$lib')} arms: [ (case_arm pat_list: [ {<Id.Lit_LBracket '['> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\\\'> ) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } {<Id.Lit_LBracket '['> <A-Za-z> <Id.Lit_RBracket ']'> <Id.Lit_Colon ':'> <Id.Lit_LBracket '['> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:abs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$lib'))} spids: [54868] ) ] ) ] spids: [54849 54866 54873 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:abs) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<pwd>}) ) (DQ <'/'> ($ Id.VSub_DollarName '$lib')) } spids: [54879] ) ] ) ] spids: [54876 54877 54890 -1] ) ] ) (C {<func_append>} {<newdlfiles>} {(DQ <' '> ($ Id.VSub_DollarName '$abs'))} ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlfiles) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$newdlfiles'))} spids: [54909] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:newdlprefiles) op: assign_op.Equal rhs: (word.Empty) spids: [54915] ) ] ) (command.ForEach iter_name: lib iter_words: [{($ Id.VSub_DollarName '$dlprefiles')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$lib')} arms: [ (case_arm pat_list: [ {<Id.Lit_LBracket '['> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\\\'> ) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } {<Id.Lit_LBracket '['> <A-Za-z> <Id.Lit_RBracket ']'> <Id.Lit_Colon ':'> <Id.Lit_LBracket '['> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <'/'> <Id.Lit_RBracket ']'> <Id.Lit_Star '*'> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:abs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$lib'))} spids: [54956] ) ] ) ] spids: [54937 54954 54961 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:abs) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<pwd>}) ) (DQ <'/'> ($ Id.VSub_DollarName '$lib')) } spids: [54967] ) ] ) ] spids: [54964 54965 54978 -1] ) ] ) (C {<func_append>} {<newdlprefiles>} {(DQ <' '> ($ Id.VSub_DollarName '$abs'))} ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dlprefiles) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$newdlprefiles'))} spids: [54997] ) ] ) ] ) (C {($ Id.VSub_DollarName '$RM')} {($ Id.VSub_DollarName '$output')} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tdlname) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$dlname')} spids: [55047] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$host') <Id.Lit_Comma ','> ($ Id.VSub_DollarName '$output') <Id.Lit_Comma ','> ($ Id.VSub_DollarName '$installed') <Id.Lit_Comma ','> ($ Id.VSub_DollarName '$module') <Id.Lit_Comma ','> ($ Id.VSub_DollarName '$dlname') } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> <cygwin> <Id.Lit_Star '*'> <Id.Lit_Comma ','> <Id.Lit_Star '*'> <lai> <Id.Lit_Comma ','> <yes> <Id.Lit_Comma ','> <no> <Id.Lit_Comma ','> <Id.Lit_Star '*'> <.dll> } {<Id.Lit_Star '*'> <mingw> <Id.Lit_Star '*'> <Id.Lit_Comma ','> <Id.Lit_Star '*'> <lai> <Id.Lit_Comma ','> <yes> <Id.Lit_Comma ','> <no> <Id.Lit_Comma ','> <Id.Lit_Star '*'> <.dll> } {<Id.Lit_Star '*'> <cegcc> <Id.Lit_Star '*'> <Id.Lit_Comma ','> <Id.Lit_Star '*'> <lai> <Id.Lit_Comma ','> <yes> <Id.Lit_Comma ','> <no> <Id.Lit_Comma ','> <Id.Lit_Star '*'> <.dll> } ] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ <x> ($ Id.VSub_DollarName '$bindir') ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<x>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_relative_path>} {(DQ ($ Id.VSub_DollarName '$install_libdir'))} {(DQ ($ Id.VSub_DollarName '$bindir'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tdlname) op: assign_op.Equal rhs: { ($ Id.VSub_DollarName '$func_relative_path_result' ) ($ Id.VSub_DollarName '$dlname') } spids: [55149] ) ] ) ] spids: [55118 55135] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tdlname) op: assign_op.Equal rhs: {<'../bin/'> ($ Id.VSub_DollarName '$dlname')} spids: [55161] ) ] ) ] ) ] spids: [55066 55111 55169 -1] ) ] ) (command.Simple words: [ {($ Id.VSub_DollarName '$ECHO')} { (DQ <'# '> ($ Id.VSub_DollarName '$outputname') <' - a libtool library file\n'> <'# Generated by '> ($ Id.VSub_DollarName '$PROGRAM') <' (GNU '> ($ Id.VSub_DollarName '$PACKAGE') ($ Id.VSub_DollarName '$TIMESTAMP') <') '> ($ Id.VSub_DollarName '$VERSION') <'\n'> <'#\n'> <'# Please DO NOT delete this file!\n'> <'# It is necessary for linking the library.\n'> <'\n'> <'# The name that we can dlopen(3).\n'> <'dlname=\''> ($ Id.VSub_DollarName '$tdlname') <'\'\n'> <'\n'> <'# Names of this library.\n'> <'library_names=\''> ($ Id.VSub_DollarName '$library_names') <'\'\n'> <'\n'> <'# The name of the static archive.\n'> <'old_library=\''> ($ Id.VSub_DollarName '$old_library') <'\'\n'> <'\n'> <'# Linker flags that can not go in dependency_libs.\n'> <'inherited_linker_flags=\''> ($ Id.VSub_DollarName '$new_inherited_linker_flags') <'\'\n'> <'\n'> <'# Libraries that this one depends upon.\n'> <'dependency_libs=\''> ($ Id.VSub_DollarName '$dependency_libs') <'\'\n'> <'\n'> <'# Names of additional weak libraries provided by this library\n'> <'weak_library_names=\''> ($ Id.VSub_DollarName '$weak_libs') <'\'\n'> <'\n'> <'# Version information for '> ($ Id.VSub_DollarName '$libname') <'.\n'> <'current='> ($ Id.VSub_DollarName '$current') <'\n'> <'age='> ($ Id.VSub_DollarName '$age') <'\n'> <'revision='> ($ Id.VSub_DollarName '$revision') <'\n'> <'\n'> <'# Is this an already installed library?\n'> <'installed='> ($ Id.VSub_DollarName '$installed') <'\n'> <'\n'> < '# Should we warn about portability when linking against -modules?\n' > <'shouldnotlink='> ($ Id.VSub_DollarName '$module') <'\n'> <'\n'> <'# Files to dlopen/dlpreopen\n'> <'dlopen=\''> ($ Id.VSub_DollarName '$dlfiles') <'\'\n'> <'dlpreopen=\''> ($ Id.VSub_DollarName '$dlprefiles') <'\'\n'> <'\n'> <'# Directory that this library needs to be installed in:\n'> <'libdir=\''> ($ Id.VSub_DollarName '$install_libdir') <'\''> ) } ] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$output')} ) ] do_fork: T ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$installed'))} {<Id.Lit_Equals '='>} {<no>} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$need_relink'))} {<Id.Lit_Equals '='>} {<yes>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Simple words: [ {($ Id.VSub_DollarName '$ECHO')} { (DQ <'relink_command='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_DollarName '$relink_command') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ) } ] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$output')} ) ] do_fork: T ) ] spids: [55266 55291] ) ] ) ] ) ) ] ) ] ) (C {<func_show_eval>} { (SQ < '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' > ) } {(SQ <'exit $?'>)} ) ] spids: [54036 54038 55338 -1] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$EXIT_SUCCESS')} ) ] ) ) (command.AndOr ops: [Id.Op_DAmp] children: [ (BraceGroup children: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_mode'))} {<Id.Lit_Equals '='>} {<link>}) (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_mode'))} {<Id.Lit_Equals '='>} {<relink>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) (C {<func_mode_link>} { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok:<Id.VTest_Plus '+'> arg_word:{(DQ ($ Id.VSub_At '$@'))}) ) } ) ] ) (command.ShFunction name: func_mode_uninstall body: (BraceGroup children: [ (C {($ Id.VSub_DollarName '$opt_debug')}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:RM) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$nonopt'))} spids: [55407] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:files) op: assign_op.Equal rhs: (word.Empty) spids: [55413] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:rmforce) op: assign_op.Equal rhs: (word.Empty) spids: [55416] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:exit_status) op: assign_op.Equal rhs: {<0>} spids: [55419] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:libtool_install_magic) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$magic'))} spids: [55432] ) ] ) (command.ForEach iter_name: arg do_arg_iter: T body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$arg')} arms: [ (case_arm pat_list: [{<-f>}] action: [ (command.Sentence child: (C {<func_append>} {<RM>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))}) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:rmforce) op: assign_op.Equal rhs: {<yes>} spids: [55467] ) ] ) ] spids: [55454 55455 55470 -1] ) (case_arm pat_list: [{<-> <Id.Lit_Star '*'>}] action: [(C {<func_append>} {<RM>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))})] spids: [55473 55475 55486 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<files>} {(DQ <' '> ($ Id.VSub_DollarName '$arg'))}) ] spids: [55489 55490 55501 -1] ) ] ) ] ) ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$RM'))}) (C {<func_fatal_help>} {(DQ <'you must specify an RM program'>)}) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:rmdirs) op: assign_op.Equal rhs: (word.Empty) spids: [55531] ) ] ) (command.ForEach iter_name: file iter_words: [{($ Id.VSub_DollarName '$files')}] do_arg_iter: F body: (command.DoGroup children: [ (C {<func_dirname>} {(DQ ($ Id.VSub_DollarName '$file'))} {(DQ )} {(DQ <.>)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_dirname_result'))} spids: [55561] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ <X> ($ Id.VSub_DollarName '$dir'))} {<Id.Lit_Equals '='>} {<X.>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:odir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$objdir'))} spids: [55584] ) ] ) ] spids: [55567 55581] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:odir) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$objdir') ) } spids: [55593] ) ] ) ] ) (C {<func_basename>} {(DQ ($ Id.VSub_DollarName '$file'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:name) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$func_basename_result'))} spids: [55611] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_mode'))} {<Id.Lit_Equals '='>} {<uninstall>} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:odir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$dir'))} spids: [55629] ) ] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_mode'))} {<Id.Lit_Equals '='>} {<clean>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {(DQ <' '> ($ Id.VSub_DollarName '$rmdirs') <' '>)} arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$odir') <' '>) <Id.Lit_Star '*'> } ] spids: [55667 55674 55676 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<func_append>} {<rmdirs>} {(DQ <' '> ($ Id.VSub_DollarName '$odir'))} ) ] spids: [55679 55680 55691 -1] ) ] ) ] spids: [55640 55653] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe Id.Op_DPipe] children: [ (BraceGroup children: [ (command.Sentence child: (C {<test>} {<-L>} {(DQ ($ Id.VSub_DollarName '$file'))}) terminator: <Id.Op_Semi _> ) ] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/dev/null'>} ) (redir op: <Id.Redir_GreatAnd '2>&'> loc: (redir_loc.Fd fd:2) arg: {<1>} ) ] ) (BraceGroup children: [ (command.Sentence child: (C {<test>} {<-h>} {(DQ ($ Id.VSub_DollarName '$file'))}) terminator: <Id.Op_Semi _> ) ] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/dev/null'>} ) (redir op: <Id.Redir_GreatAnd '2>&'> loc: (redir_loc.Fd fd:2) arg: {<1>} ) ] ) (C {<test>} {<-f>} {(DQ ($ Id.VSub_DollarName '$file'))}) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<Id.Lit_Colon ':'>})] spids: [55705 55760] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-d>} {(DQ ($ Id.VSub_DollarName '$file'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:exit_status) op: assign_op.Equal rhs: {<1>} spids: [55780] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [55766 55777] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$rmforce'))} {<Id.Lit_Equals '='>} {<yes>} ) terminator: <Id.Op_Semi _> ) ] ) action: [(command.ControlFlow token:<Id.ControlFlow_Continue continue>)] spids: [55787 55800] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:rmfiles) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$file'))} spids: [55810] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$name')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <.la>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<func_lalib_p>} {(DQ ($ Id.VSub_DollarName '$file'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_source>} {($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$name') } ) (command.ForEach iter_name: n iter_words: [{($ Id.VSub_DollarName '$library_names')}] do_arg_iter: F body: (command.DoGroup children: [ (C {<func_append>} {<rmfiles>} { (DQ <' '> ($ Id.VSub_DollarName '$odir') <'/'> ($ Id.VSub_DollarName '$n') ) } ) ] ) ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$old_library'))}) (C {<func_append>} {<rmfiles>} { (DQ <' '> ($ Id.VSub_DollarName '$odir') <'/'> ($ Id.VSub_DollarName '$old_library') ) } ) ] ) (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$opt_mode'))} arms: [ (case_arm pat_list: [{<clean>}] action: [ (command.Case to_match: { (DQ <' '> ($ Id.VSub_DollarName '$library_names') <' '> ) } arms: [ (case_arm pat_list: [ {<Id.Lit_Star '*'> (DQ <' '> ($ Id.VSub_DollarName '$dlname') <' '>) <Id.Lit_Star '*'> } ] spids: [55931 55938 55940 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$dlname'))} ) (C {<func_append>} {<rmfiles>} { (DQ <' '> ($ Id.VSub_DollarName '$odir') <'/'> ($ Id.VSub_DollarName '$dlname') ) } ) ] ) ] spids: [55943 55944 55967 -1] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$libdir'))} ) (C {<func_append>} {<rmfiles>} { (DQ <' '> ($ Id.VSub_DollarName '$odir') <'/'> ($ Id.VSub_DollarName '$name') <' '> ($ Id.VSub_DollarName '$odir') <'/'> (${ Id.VSub_Name name) <i> ) } ) ] ) ] spids: [55916 55917 56002 -1] ) (case_arm pat_list: [{<uninstall>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$library_names' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_execute_cmds>} { (DQ ($ Id.VSub_DollarName '$postuninstall_cmds') ) } {(SQ <'test "$rmforce" = yes || exit_status=1'>)} ) ] spids: [56009 56020] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$old_library' ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_execute_cmds>} { (DQ ($ Id.VSub_DollarName '$old_postuninstall_cmds' ) ) } {(SQ <'test "$rmforce" = yes || exit_status=1'>)} ) ] spids: [56042 56053] ) ] ) ] spids: [56005 56006 56078 -1] ) ] ) ] spids: [55833 55842] ) ] ) ] spids: [55824 55826 56087 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'> <.lo>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<func_lalib_p>} {(DQ ($ Id.VSub_DollarName '$file'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_source>} {($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$name') } ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$pic_object'))} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$pic_object'))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<none>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<rmfiles>} { (DQ <' '> ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$pic_object') ) } ) ] spids: [56129 56154] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$non_pic_object') ) } ) (C {<test>} { (DQ ($ Id.VSub_DollarName '$non_pic_object') ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<none>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<rmfiles>} { (DQ <' '> ($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$non_pic_object') ) } ) ] spids: [56177 56202] ) ] ) ] spids: [56100 56109] ) ] ) ] spids: [56091 56093 56223 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_mode'))} {<Id.Lit_Equals '='>} {<clean>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:noexename) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$name')} spids: [56248] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$file')} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <.exe>}] action: [ (C {<func_stripname>} {(SQ )} {(SQ <.exe>)} {(DQ ($ Id.VSub_DollarName '$file'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:file) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [56278] ) ] ) (C {<func_stripname>} {(SQ )} {(SQ <.exe>)} {(DQ ($ Id.VSub_DollarName '$name'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:noexename) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$func_stripname_result')} spids: [56296] ) ] ) (C {<func_append>} {<rmfiles>} {(DQ <' '> ($ Id.VSub_DollarName '$file'))} ) ] spids: [56259 56261 56318 -1] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<func_ltwrapper_p>} {(DQ ($ Id.VSub_DollarName '$file'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<func_ltwrapper_executable_p>} {(DQ ($ Id.VSub_DollarName '$file'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_ltwrapper_scriptname>} {(DQ ($ Id.VSub_DollarName '$file'))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:relink_command) op: assign_op.Equal rhs: (word.Empty) spids: [56359] ) ] ) (C {<func_source>} { ($ Id.VSub_DollarName '$func_ltwrapper_scriptname_result' ) } ) (C {<func_append>} {<rmfiles>} { (DQ <' '> ($ Id.VSub_DollarName '$func_ltwrapper_scriptname_result' ) ) } ) ] spids: [56340 56349] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:relink_command) op: assign_op.Equal rhs: (word.Empty) spids: [56380] ) ] ) (C {<func_source>} {($ Id.VSub_DollarName '$dir') <'/'> ($ Id.VSub_DollarName '$noexename') } ) ] ) (C {<func_append>} {<rmfiles>} { (DQ <' '> ($ Id.VSub_DollarName '$odir') <'/'> ($ Id.VSub_DollarName '$name') <' '> ($ Id.VSub_DollarName '$odir') <'/'> (${ Id.VSub_Name name) <S.> (${ Id.VSub_Name objext) ) } ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} { (DQ ($ Id.VSub_DollarName '$fast_install' ) ) } {<Id.Lit_Equals '='>} {<yes>} ) (C {<test>} {<-n>} { (DQ ($ Id.VSub_DollarName '$relink_command' ) ) } ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<rmfiles>} { (DQ <' '> ($ Id.VSub_DollarName '$odir') <'/lt-'> ($ Id.VSub_DollarName '$name') ) } ) ] spids: [56424 56447] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ <X> ($ Id.VSub_DollarName '$noexename') ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <X> ($ Id.VSub_DollarName '$name'))} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_append>} {<rmfiles>} { (DQ <' '> ($ Id.VSub_DollarName '$odir') <'/lt-'> (${ Id.VSub_Name noexename) <.c> ) } ) ] spids: [56465 56484] ) ] ) ] spids: [56328 56337] ) ] ) ] spids: [56231 56245] ) ] ) ] spids: [56227 56228 56511 -1] ) ] ) (C {<func_show_eval>} {(DQ ($ Id.VSub_DollarName '$RM') <' '> ($ Id.VSub_DollarName '$rmfiles'))} {(SQ <'exit_status=1'>)} ) ] ) ) (command.ForEach iter_name: dir iter_words: [{($ Id.VSub_DollarName '$rmdirs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-d>} {(DQ ($ Id.VSub_DollarName '$dir'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<func_show_eval>} {(DQ <'rmdir '> ($ Id.VSub_DollarName '$dir') <' >/dev/null 2>&1'>)} ) ] spids: [56550 56561] ) ] ) ] ) ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$exit_status')} ) ] ) ) (command.AndOr ops: [Id.Op_DAmp] children: [ (BraceGroup children: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_mode'))} {<Id.Lit_Equals '='>} {<uninstall>} ) (C {<test>} {(DQ ($ Id.VSub_DollarName '$opt_mode'))} {<Id.Lit_Equals '='>} {<clean>}) ] ) terminator: <Id.Op_Semi _> ) ] ) (C {<func_mode_uninstall>} { (braced_var_sub token: <Id.VSub_Number 1> suffix_op: (suffix_op.Unary tok:<Id.VTest_Plus '+'> arg_word:{(DQ ($ Id.VSub_At '$@'))}) ) } ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$opt_mode'))}) (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:help) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$generic_help'))} spids: [56641] ) ] ) (C {<func_fatal_help>} {(DQ <'you must specify a MODE'>)}) ] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-z>} {(DQ ($ Id.VSub_DollarName '$exec_cmd'))}) (C {<func_fatal_help>} { (DQ <'invalid operation mode '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\`'>) ($ Id.VSub_DollarName '$opt_mode') <'\''> ) } ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$exec_cmd'))}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<eval>} {<exec>} {(DQ ($ Id.VSub_DollarName '$exec_cmd'))}) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$EXIT_FAILURE')} ) ] spids: [56678 56689] ) ] ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$exit_status')} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:build_libtool_libs) op: assign_op.Equal rhs: {<no>} spids: [56748] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:build_old_libs) op: assign_op.Equal rhs: {<yes>} spids: [56751] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:build_old_libs) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Case to_match: {($ Id.VSub_DollarName '$build_libtool_libs')} arms: [ (case_arm pat_list: [{<yes>}] action: [(C {<echo>} {<no>})] spids: [56771 56772 56777 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [(C {<echo>} {<yes>})] spids: [56779 56780 56785 -1] ) ] ) ) } spids: [56761] ) ] ) ] )