[GTK][CMake] Ensure that HAVE_GTK_UNIX_PRINTING is defined when appropriate
authormrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Mar 2014 16:40:27 +0000 (16:40 +0000)
committermrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Mar 2014 16:40:27 +0000 (16:40 +0000)
commitb4acd1d6458991aa4b526555baaa03effdf6407c
tree8f3515af781149478affcfaea75fe4a9d8cd0fc8
parent3c0183b6c54a91ad50409b344fd242ee756a8e63
[GTK][CMake] Ensure that HAVE_GTK_UNIX_PRINTING is defined when appropriate
https://bugs.webkit.org/show_bug.cgi?id=130155

Reviewed by Philippe Normand.

.:

* Source/cmake/FindGTKUnixPrint.cmake: Added.
* Source/cmake/OptionsGTK.cmake: Look for gtk+-unix-print and use it to turn on HAVE_GTK_UNIX_PRINTING.
* Source/cmakeconfig.h.cmake: Add the HAVE_GTK_UNIX_PRINTING define.

Source/WebKit2:

* PlatformGTK.cmake: Add GTK_UNIX_PRINT flags to the build.

Tools:

* TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt: Add GTK_UNIX_PRINT flags to the build.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@165737 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog
Source/WebKit2/ChangeLog
Source/WebKit2/PlatformGTK.cmake
Source/cmake/FindGTKUnixPrint.cmake [new file with mode: 0644]
Source/cmake/OptionsGTK.cmake
Source/cmakeconfig.h.cmake
Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt