]> Savannah Git Hosting - gnulib.git/commit
maintainer-makefiles: use $(SED) for syntax check
authorEric Blake <eblake@redhat.com>
Thu, 20 Feb 2014 13:56:42 +0000 (06:56 -0700)
committerEric Blake <eblake@redhat.com>
Thu, 20 Feb 2014 13:56:42 +0000 (06:56 -0700)
commit3f51bf41c8be8b310f57caff371377414701d5cc
tree7425190306c68a191ec2a7a9a64d796467545a4a
parent8008cac0568ee76a4a9b7002f839e1abbad78af6
maintainer-makefiles: use $(SED) for syntax check

Roman Bogorodskiy reported that attempts to use 'make syntax-check'
for libvirt on a BSD host was failing, due to libvirt's use of
GNU sed constructs in cfg.mk.  While libvirt could be patched to
use only portable sed constructs, it is also worth making sed
replaceable so that any maintainer can use a consistent sed program
rather than being hardcoded to the first 'sed' on $PATH.

* modules/maintainer-makefile (configure.ac): Check for sane sed.
* top/maint.mk: Change sed to $(SED).

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
modules/maintainer-makefile
top/maint.mk