From: Cosmin Ioiart Date: Mon, 19 Mar 2012 09:54:57 +0000 (+0100) Subject: Fixed solaris configure script generation errors X-Git-Tag: collectd-5.1.0~2^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4b84930102ea1991190cb783e1ebc32177684816;p=collectd.git Fixed solaris configure script generation errors The brackets in configure.in and the changes in version-gen.sh are needed in order for the build.sh script to generate the configure script correctly. Else the generated script won't work. --- diff --git a/configure.in b/configure.in index 901f5f24..0ac908df 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(collectd, m4_esyscmd(./version-gen.sh)) +AC_INIT(collectd, [m4_esyscmd(./version-gen.sh)]) AC_CONFIG_SRCDIR(src/collectd.c) AC_CONFIG_HEADERS(src/config.h) AC_CONFIG_AUX_DIR([libltdl/config]) diff --git a/version-gen.sh b/version-gen.sh index 6147b599..23c471d4 100755 --- a/version-gen.sh +++ b/version-gen.sh @@ -10,7 +10,7 @@ fi VERSION="`echo \"$VERSION\" | sed -e 's/-/./g'`" -if test "x`uname -s`" = "xAIX" || test "x`uname -s`" = "xSunOS" ; then +if test "x`uname -s`" = "xAIX" ; then echo "$VERSION\c" else echo -n "$VERSION"