From 94b1136ce29d207f808581eee514d704910d89f6 Mon Sep 17 00:00:00 2001 From: john30 Date: Sat, 10 Dec 2016 10:30:06 +0100 Subject: [PATCH] support older autoconf --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index f763c326..876eb262 100644 --- a/configure.ac +++ b/configure.ac @@ -1,3 +1,6 @@ +# Support for older autoconf without m4_esyscmd_s +m4_ifndef([m4_esyscmd_s], [m4_define([m4_chomp_all], [m4_format([[%.*s]], m4_bregexp(m4_translit([[$1]], [/], [/ ]), [/*$]), [$1])])]) +m4_ifndef([m4_esyscmd_s], [m4_define([m4_esyscmd_s], [m4_chomp_all(m4_esyscmd([$1]))])]) AC_PREREQ([2.63]) AC_INIT([ebusd], m4_esyscmd_s([cat VERSION]), [ebusd@ebusd.eu], [ebusd], [https://github.com/john30/ebusd])