From: Kaloyan Ivanov <address@hidden>
Date: Thu, 5 Jan 2017 12:16:43 +0200
Commit d88cdad2847726438c7d1de9fd2651c4be9243aa doesn’t build on macOS
The sed on El Capitan balks at the script constructed in autopen.sh.
This patch fixes that on macOS, can someone please test it on other platforms - don’t know if it works there
as it should.
Thanks. Your version doesn't do exactly what the Sed script is
supposed to do, at least not on GNU/Linux and on MS-Windows. So
please try the current master and see if the alternative solution I
pushed solves the macOS problem.