Bug 61103

Summary: Not able to build with --disable-systemd-updates
Product: PackageKit Reporter: Dominique Leuenberger <dominique-freedesktop.org>
Component: GeneralAssignee: Richard Hughes <richard>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Move the HAVE_SYSTEMD out of the cond block

Description Dominique Leuenberger 2013-02-19 08:22:12 UTC
Due to a minor error in configure, it is not possible to build PK with
  --enable-systemd --disable-systemd-updates, as this results in an error like:

[   39s] checking that generated files are newer than configure... done
[   39s] configure: error: conditional "HAVE_SYSTEMD" was never defined.
[   39s] Usually this means the macro was only invoked conditionally.
[   39s] error: Bad exit status from /var/tmp/rpm-tmp.PsuFjj (%build)


=> HAVE_SYSTEMD is only conditionally set when --enable-systemd-updates is used.
Comment 1 Dominique Leuenberger 2013-02-19 08:23:50 UTC
Created attachment 75097 [details] [review]
Move the HAVE_SYSTEMD out of the cond block
Comment 2 Richard Hughes 2013-02-19 08:31:28 UTC
Pushed to master, thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.