1 --- ctdb-1.0.113/configure.ac.orig 2010-01-12 21:12:08.000000000 +0100
2 +++ ctdb-1.0.113/configure.ac 2012-02-14 19:43:00.127559003 +0100
5 -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']))
6 +AC_INIT(ctdb, m4_esyscmd([grep 'Version:' ./packaging/RPM/ctdb.spec.in 2>/dev/null | head -1 | sed -e 's/[ \t]*Version:[ \t]*\([^ \t]*\)[ \t]*.*/\1/' | tr -d '\n']))
7 AC_DEFUN([AC_CHECK_LIB_EXT], [
8 AC_CHECK_LIB([$1],[$3],[$4],[$5],[$7])
9 ac_cv_lib_ext_$1_$3=$ac_cv_lib_$1_$3