GNOME Bugzilla – Bug 782442
'command not found' message shown when systemd is not available
Last modified: 2017-05-11 10:38:52 UTC
This 'command not found' message is shown when building gvfs on FreeBSD: checking for SYSTEMD... no /home/lantw44/gnome/source/gvfs/configure: 1: not found This doesn't cause any build problem, but I think it is better to avoid executing unknown commands.
Created attachment 351554 [details] [review] build: Avoid running '1' as a command when systemd is not available The ACTION-IF-NOT-FOUND part of PKG_CHECK_MODULES is not needed and we can simply remove it to avoid the error here. This commit also replaces PKG_CHECK_MODULES with PKG_CHECK_EXISTS because variables set by PKG_CHECK_MODULES are not used.
Review of attachment 351554 [details] [review]: Thanks for the patch! Looks good to me!
Attachment 351554 [details] pushed as 11481de - build: Avoid running '1' as a command when systemd is not available