From 908b39bf8309044913a34c632cd432958dcf6960 Mon Sep 17 00:00:00 2001 From: Mikko Koppanen Date: Mon, 7 Feb 2011 15:06:20 +0100 Subject: m4_esyscmd_s doesnt seem to be portable across different systems Signed-off-by: Mikko Koppanen --- configure.in | 2 +- version.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 7608632..ae7cd44 100644 --- a/configure.in +++ b/configure.in @@ -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) diff --git a/version.sh b/version.sh index b88bb61..b4425d0 100755 --- a/version.sh +++ b/version.sh @@ -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' -- cgit v1.2.3