diff --git a/sflphone-common/Makefile.am b/sflphone-common/Makefile.am
index 22a5bfd63002c0aad55e909ccf821d0dd87b2988..c06b61eb6fff2a4b8a63de7e83f420254de03593 100644
--- a/sflphone-common/Makefile.am
+++ b/sflphone-common/Makefile.am
@@ -26,5 +26,5 @@ doc:
 
 ACLOCAL_AMFLAGS = -I m4
 SUBDIRS = libs src ringtones man $(TESTS_DIR)
-EXTRA_DIST = m4/*.m4 tools/*.sh platform/* images/* README.gentoo
+EXTRA_DIST = m4/*.m4 images/* README.gentoo
 
diff --git a/sflphone-common/configure.ac b/sflphone-common/configure.ac
index 98761b7fe7cdd33653e494a2a83ce12dffab2ae3..25119f634b375a078ee28e387da150d13cf18773 100644
--- a/sflphone-common/configure.ac
+++ b/sflphone-common/configure.ac
@@ -11,18 +11,12 @@ AC_CANONICAL_BUILD
 AC_CANONICAL_HOST
 AC_CANONICAL_TARGET
 
-PACKAGE=SFLphone
-VERSION=`cat VERSION`
-
-AM_INIT_AUTOMAKE($NAME, $VERSION)
+AM_INIT_AUTOMAKE
 AC_CONFIG_HEADERS([config.h])
 
 # Silent build by default. Use make V=1 to increase verbosity
 m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
 
-dnl Use this variable in the program
-AC_SUBST(PACKAGE_VERSION)
-
 dnl Rewrite name of programs to be installed
 dnl AC_ARG_PROGRAM