Skip to content

Commit

Permalink
[WPE][GTK] ENABLE_JOURNALD_LOG has weird value
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=235339

Patch by Michael Catanzaro <mcatanzaro@gnome.org> on 2022-01-19
Reviewed by Philippe Normand.

Clean up the code that checks for journald.

* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:


Canonical link: https://commits.webkit.org/246170@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@288198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
mcatanzaro authored and webkit-commit-queue committed Jan 19, 2022
1 parent 0ef07be commit e2cbd2e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
12 changes: 12 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
2022-01-19 Michael Catanzaro <mcatanzaro@gnome.org>

[WPE][GTK] ENABLE_JOURNALD_LOG has weird value
https://bugs.webkit.org/show_bug.cgi?id=235339

Reviewed by Philippe Normand.

Clean up the code that checks for journald.

* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:

2022-01-18 Brandon Stewart <brandonstewart@apple.com>

Fix typos in Introduction.md
Expand Down
5 changes: 1 addition & 4 deletions Source/cmake/OptionsGTK.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -465,10 +465,7 @@ endif ()

if (ENABLE_JOURNALD_LOG)
find_package(Journald)
if (Journald_FOUND)
message(STATUS "Release logs will be sent using journald logging interface")
SET_AND_EXPOSE_TO_BUILD(ENABLE_JOURNALD_LOG TRUE)
else ()
if (NOT Journald_FOUND)
message(FATAL_ERROR "libsystemd or libelogind are needed for ENABLE_JOURNALD_LOG")
endif ()
endif ()
Expand Down
5 changes: 1 addition & 4 deletions Source/cmake/OptionsWPE.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,7 @@ endif ()

if (ENABLE_JOURNALD_LOG)
find_package(Journald)
if (Journald_FOUND)
message(STATUS "Release logs will be sent using journald logging interface")
SET_AND_EXPOSE_TO_BUILD(ENABLE_JOURNALD_LOG TRUE)
else ()
if (NOT Journald_FOUND)
message(FATAL_ERROR "libsystemd or libelogind are needed for ENABLE_JOURNALD_LOG")
endif ()
endif ()
Expand Down

0 comments on commit e2cbd2e

Please sign in to comment.