Full_Name: Jan Synacek Version: 2.4.40 OS: GNU/Linux URL: https://jsynacek.fedorapeople.org/openldap/jsynacek-20150211-fix-libdb-detec... Submission from: (NULL) (94.112.188.81)
The old cpp version generated: __db_version 5
Configure then correctly picked up the version, since it greps for "__db_version".
The new output: __db_version 5
Grepping no longer works and configure fails.
Running cpp with -P (inhibit linemarkers generation) fixes this when using gcc 5. Behavior with older versions of gcc is not changed.