m4_esyscmd_s doesnt seem to be portable across different systems

Signed-off-by: Mikko Koppanen <mikko.koppanen@gmail.com>
This commit is contained in:
Mikko Koppanen 2011-02-07 15:06:20 +01:00 committed by Martin Sustrik
parent c8e5be87d8
commit 908b39bf83
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ AC_PREREQ(2.61)
# the version.sh script. Hence, it should be updated there.
# The version in git should reflect the *next* version planned.
#
AC_INIT([zeromq],[m4_esyscmd_s([./version.sh])],[zeromq-dev@lists.zeromq.org])
AC_INIT([zeromq],[m4_esyscmd([./version.sh])],[zeromq-dev@lists.zeromq.org])
AC_CONFIG_AUX_DIR(config)
AC_CONFIG_MACRO_DIR(config)

View File

@ -17,5 +17,5 @@ fi
MAJOR=`echo $MAJOR | awk '{ print $3 }'`
MINOR=`echo $MINOR | awk '{ print $3 }'`
PATCH=`echo $PATCH | awk '{ print $3 }'`
echo $MAJOR.$MINOR.$PATCH
echo $MAJOR.$MINOR.$PATCH | tr -d '\n'