[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#8056) [PATCH] libdb version is not detected correctly when using gcc5

Full_Name: Jan Synacek
Version: 2.4.40
OS: GNU/Linux
URL: https://jsynacek.fedorapeople.org/openldap/jsynacek-20150211-fix-libdb-detection-with-gcc-5.patch
Submission from: (NULL) (

The old cpp version generated:
__db_version 5

Configure then correctly picked up the version, since it greps for

The new output:

Grepping no longer works and configure fails.

Running cpp with -P (inhibit linemarkers generation) fixes this when using gcc
Behavior with older versions of gcc is not changed.