GNOME Bugzilla – Bug 788705
Allow building GLib on older Linux platforms
Last modified: 2017-10-09 11:46:36 UTC
In order to build the journal integration for the logging API, we depend on mkostemp() and O_CLOEXEC. These two features may not be available on older Linux systems. Since the journal integration is already optional, we can easily avoid build failures when compiling a newer version of GLib on those older systems.
Created attachment 361173 [details] [review] build: Look for mkostemp when configuring We use this function, but it may be missing on older Linux platforms.
Created attachment 361174 [details] [review] Do not build journal integration on older Linux platforms We need to add more checks for journal_sendv(), as we depend on the presence of mkostemp() and O_CLOEXEC, which may not be available on older Linux platforms, like RHEL 5.
Review of attachment 361173 [details] [review]: Yes.
Review of attachment 361174 [details] [review]: Yes.
Attachment 361173 [details] pushed as f40154e - build: Look for mkostemp when configuring Attachment 361174 [details] pushed as dc39232 - Do not build journal integration on older Linux platforms