configure.ac: remove m4_esyscmd_s

m4_esyscmd_s is a macro only available in Autoconf 2.64, which despite
being released in 2009 is not available on a number of build targets for
the project (specifically CentOS/RHEL 6).

ca8e4c08a7 tries to remove the error produced with m4_pattern_allow,
but that just silences the sanity check.

Instead, replace m4_esyscmd_s with m4_esyscmd + manual removal of
newlines.
This commit is contained in:
David Adam (zanchey) 2013-08-17 10:47:35 +08:00
parent 3e115b7a85
commit d371af0504

View file

@ -8,12 +8,10 @@
# configure the build process.
#
m4_pattern_allow(m4_esyscmd_s)
m4_syscmd([build_tools/git_version_gen.sh 2>/dev/null])
AC_INIT(fish,
m4_esyscmd_s([cut -f 3 -d ' ' FISH-BUILD-VERSION-FILE]),
m4_esyscmd([cut -f 3 -d ' ' FISH-BUILD-VERSION-FILE | tr -d '\n']),
fish-users@lists.sf.net)
conf_arg=$@