summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2009-05-12 08:59:49 +1000
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2009-05-12 08:59:49 +1000
commit0dfc35641f19fb2dbe97aea7bd9fe7efcd42f11a (patch)
treed9959705513d0300a62240b57145b3c6cca462fc
parent53c96431041ed71a047c2637fd41bd64cca0a853 (diff)
downloadsamba-0dfc35641f19fb2dbe97aea7bd9fe7efcd42f11a.tar.gz
samba-0dfc35641f19fb2dbe97aea7bd9fe7efcd42f11a.tar.xz
samba-0dfc35641f19fb2dbe97aea7bd9fe7efcd42f11a.zip
From: Sumit Bose <sbose@redhat.com>
fix handling of AC_INIT (This used to be ctdb commit 1c31fea7432b870169fb839c1fbba5a33dec8e8a)
-rw-r--r--ctdb/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/configure.ac b/ctdb/configure.ac
index 20745467eb..416349dc01 100644
--- a/ctdb/configure.ac
+++ b/ctdb/configure.ac
@@ -1,5 +1,5 @@
AC_PREREQ(2.50)
-AC_INIT(ctdb, m4_esyscmd([grep 'Version:' ./packaging/RPM/ctdb.spec 2>/dev/null | head -1 | sed -e 's/[ \t]*Version:[ \t]*\([^ \t]*\)[ \t].*/\1/' | tr -d '\n']))
+AC_INIT(ctdb, m4_esyscmd([grep 'Version:' ./packaging/RPM/ctdb.spec 2>/dev/null | head -1 | sed -e 's/[ \t]*Version:[ \t]*\([^ \t]*\)[ \t]*.*/\1/' | tr -d '\n']))
AC_DEFUN([AC_CHECK_LIB_EXT], [
AC_CHECK_LIB([$1],[$3],[$4],[$5],[$7])
ac_cv_lib_ext_$1_$3=$ac_cv_lib_$1_$3