This is the proper way to set up a config template. When config.status
runs, ALL it does is replace '#undef' lines with either '/* #undef */'
or '#define' lines, according to what was learned during configure. All
other lines are left untouched.
> What was it supposed to achieve? Should it not be either of these two?
> #ifndef WORDS_BIGENDIAN
> **#define** WORDS_BIGENDIAN
This is what results in the final config.h based on the template on
machines where the #define is needed.
> **#ifdef** WORDS_BIGENDIAN
> #undef WORDS_BIGENDIAN
No, this is not what is wanted.
> Please disregard if I missed something elementary. I'm not literate in m4.