Thomas Schwinge dixit: >Ideally, IMO, this test (for stack-smashing-protection support in glibc) >should not be done by grepping through SYSROOT's features.h, but instead >by using the CPP for doing that.
Why not just autoconf? Check for the presence of __stack_smash_handler() in libc… or am I missing something important here? bye, //mirabilos -- Sometimes they [people] care too much: pretty printers [and syntax highligh- ting, d.A.] mechanically produce pretty output that accentuates irrelevant detail in the program, which is as sensible as putting all the prepositions in English text in bold font. -- Rob Pike in "Notes on Programming in C"