summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aca4e1b)
raw | patch | inline | side by side (parent: aca4e1b)
author | Cosmin Ioiart <cioiart+dev@gmail.com> | |
Mon, 19 Mar 2012 09:54:57 +0000 (10:54 +0100) | ||
committer | Cosmin Ioiart <cioiart+dev@gmail.com> | |
Mon, 19 Mar 2012 09:54:57 +0000 (10:54 +0100) |
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 | patch | blob | history | |
version-gen.sh | patch | blob | history |
diff --git a/configure.in b/configure.in
index 901f5f2412efbbc2df9f00788173289e541404a4..0ac908dfb21d5c308785495a91d5afaf403ccd41 100644 (file)
--- a/configure.in
+++ b/configure.in
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 6147b59955ce24b51d6a10521d7b0e8e2dfc675f..23c471d4ad5bdd5d9cf68a3ea0fdd918ea24b7e3 100755 (executable)
--- a/version-gen.sh
+++ b/version-gen.sh
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"