~ :The GNU binutils use this macro to detect this case: ~ : oh, by the way while playing with this macro I noticed a couple of problems : 1. `test $bfd_cv_decl_needed_$1` didn't work because $bfd_cv_decl_needed was considered as two shell variables $bfd_cv_decl_needed and $1, so I had to tweak it with eval "test `echo ..`". 2. It breaks autoheader is some funny way, because autoheader replaces most of macroses which are supposed to define things with it's own pieces which then generate config.h.in. However it doesn't execute shell scripting parts, so for every used macros like this it would have: #undef NEED_DECLARATION_ I have fixed it by adding a wrapper macro with `for f in functions` so #undef NEED_DECLARATION_ appears only once, but now you still have to manually define all #undef NEED_DECLARATION_FUNCTIONS to get the things working properly. other than that it works fine, thanks :)
- Re: passing command-line switch... Akim Demaille
- Re: passing command-line switch... Lars J. Aas
- Re: passing command-line switch... Lars J. Aas
- Re: passing command-line switch... Lars J. Aas
- Re: passing command-line switches to compile... Akim Demaille
- Re: passing command-line switches to com... CyberPsychotic
- Re: passing command-line switches t... Eric Christopher
- Re: passing command-line switch... CyberPsychotic
- Re: passing command-line switches to compiler CyberPsychotic
- Re: passing command-line switches to compiler Ian Lance Taylor
- Re: passing command-line switches to compiler CyberPsychotic
- Re: passing command-line switches to compiler Ian Lance Taylor
- Re: passing command-line switches to compile... CyberPsychotic
- Re: passing command-line switches to com... Ian Lance Taylor
- Re: passing command-line switches t... CyberPsychotic
- Re: passing command-line switch... Ian Lance Taylor
- Re: passing command-line switches to compiler T.E.Dickey