Paul Eggert wrote:
> When you say "locally modify", do you mean edit in place? Because surely 
> the effect of (2) can be done without modifying /usr/include/sys/cdefs.h 
> in place. For example, the build script could do something like this:
> 
>    mkdir -p myinclude/sys
>    sed 's/__glibc_const_generic/_NO_&/g' \
>      /usr/include/sys/cdefs.h >myinclude/sys/cdefs.h
>    ./configure CC="gcc -I $PWD/myinclude"

That's a good idea. Thanks!




Reply via email to