A bit late, but just to confirm - the issue with autogen.sh seems fixed now. Latest commit 8f0376309ee37e4f1da21d78971c4df2df5fd7b6 builds perfectly fine on macOS Sierra. > On Jan 5, 2017, at 6:14 PM, Eli Zaretskii wrote: > >> From: Kaloyan Ivanov >> 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.