From 4b84930102ea1991190cb783e1ebc32177684816 Mon Sep 17 00:00:00 2001 From: Cosmin Ioiart Date: Mon, 19 Mar 2012 10:54:57 +0100 Subject: [PATCH] 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. --- configure.in | 2 +- version-gen.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" -- 2.11.0