Skip to content

Commit 908b39b

Browse files
testraymondsustrik
authored andcommitted
m4_esyscmd_s doesnt seem to be portable across different systems
Signed-off-by: Mikko Koppanen <[email protected]>
1 parent c8e5be8 commit 908b39b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ AC_PREREQ(2.61)
66
# the version.sh script. Hence, it should be updated there.
77
# The version in git should reflect the *next* version planned.
88
#
9-
AC_INIT([zeromq],[m4_esyscmd_s([./version.sh])],[[email protected]])
9+
AC_INIT([zeromq],[m4_esyscmd([./version.sh])],[[email protected]])
1010

1111
AC_CONFIG_AUX_DIR(config)
1212
AC_CONFIG_MACRO_DIR(config)

version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ fi
1717
MAJOR=`echo $MAJOR | awk '{ print $3 }'`
1818
MINOR=`echo $MINOR | awk '{ print $3 }'`
1919
PATCH=`echo $PATCH | awk '{ print $3 }'`
20-
echo $MAJOR.$MINOR.$PATCH
20+
echo $MAJOR.$MINOR.$PATCH | tr -d '\n'
2121

0 commit comments

Comments
 (0)