jstedfast / gmime

A C/C++ MIME creation and parser library with support for S/MIME, PGP, and Unix mbox spools.
GNU Lesser General Public License v2.1
111 stars 36 forks source link

build: avoid useless configure-time checks #143

Closed eli-schwartz closed 1 year ago

eli-schwartz commented 1 year ago

Checking for the sizeof various types and defining preprocessor macros for them, is pointless, since the only effect these had was defining said macros... and the code never did anything with them.

This speeds up running configure and is less confusing to readers. It's also less confusing to porters, as evidenced by the VS projects which contain out of date copies of the config.h files that are missing some of these unused checks.