diff --git a/sflphone-client-gnome/configure.ac b/sflphone-client-gnome/configure.ac
index eed5be91f23990ba7732f6d5019b64587d4b2447..7cbfb1a922c5eb279d6af54065d84e4609f48a2c 100644
--- a/sflphone-client-gnome/configure.ac
+++ b/sflphone-client-gnome/configure.ac
@@ -4,7 +4,8 @@ AM_CONFIG_HEADER(config.h)
 LT_INIT
 
 PACKAGE=SFLphone
-VERSION=0.9.5~beta
+#VERSION=0.9.5~beta
+VERSION=`head -n 1 debian/changelog | awk '{print $2}' | sed -e 's/(//g' | sed -e 's/)//g'`
 
 AM_INIT_AUTOMAKE($PACKAGE,$VERSION)
 AC_CONFIG_MACRO_DIR([m4])