Skip to content

Update log4cxx.h.in#76

Merged
rm5248 merged 5 commits intoapache:masterfrom
jmdavison46:patch-1
Dec 11, 2021
Merged

Update log4cxx.h.in#76
rm5248 merged 5 commits intoapache:masterfrom
jmdavison46:patch-1

Conversation

@jmdavison46
Copy link
Copy Markdown
Contributor

Added macros "LOG4CXX_VERSION_{MAJOR,MINOR,PATCH,TWEAK}", "LOG4CXX_MAKE_VERSION", "LOG4CXX_VERSION", and "NXT_LOG4CXX_VERSION_GET_{MAJOR,MINOR,PATCH,TWEAK}". These macros provide compile-time version information for log4cxx, necessary for the proper compilation of client code that is sensitive to version-dependent details of log4cxx (for example, the return type of "Logger::getLogger") or simply needs to report the version of log4cxx being used in the compilation.

jmdavison46 and others added 5 commits December 3, 2021 11:22
Added macros "LOG4CXX_VERSION_{MAJOR,MINOR,PATCH,TWEAK}", "LOG4CXX_MAKE_VERSION", "LOG4CXX_VERSION", and "NXT_LOG4CXX_VERSION_GET_{MAJOR,MINOR,PATCH,TWEAK}".  These macros provide compile-time version information for log4cxx, necessary for the proper compilation of client code that is sensitive to version-dependent details of log4cxx (for example, the return type of "Logger::getLogger") or simply needs to report the version of log4cxx being used in the compilation.
Upstream cmake downloads the resource. This patch first tries to
find a system-installed version before falling back to the download.

Exchanging the md5 with a more secure sha256 checksum.

Jira: LOGCXX-539

Co-authored-by: Tobias Frost <tobi@debian.org>
… for cmake/pkgconfig target (apache#77)

Co-authored-by: Tobias Frost <tobi@debian.org>
@rm5248 rm5248 merged commit 7005609 into apache:master Dec 11, 2021
@jmdavison46 jmdavison46 deleted the patch-1 branch December 11, 2021 20:46
Copy link
Copy Markdown
Contributor Author

@jmdavison46 jmdavison46 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: wrap each argument to LOG4CXX_MAKE_VERSION in parentheses

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants