diff --git a/ChangeLog b/ChangeLog
index 22228067f71f6b1b135423c77e10a86270a9e6c8..8dbdf4fc62669469d37fc0fff1ab91a9cff56f28 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-09-09  Yan Morin
+
+	* Fixing gentoo problem (qtdir for moc/uic/qembed, Key_Mode_switch)
+
+	* Adding README.gentoo for gentoo instructions on how to build
+
 2006-09-06  Yan Morin
 
 	* Fix packaging problem for 0.7.0 release (fedora.spec)
diff --git a/configure.ac b/configure.ac
index d9e9db185f70d3c6bb5c00a43a096d583900edab..617afdf3c1da769bedac98c7fc7027bfc388e955 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,7 +47,8 @@ AC_CONFIG_FILES([skins/Makefile \
   ringtones/Makefile])
 AC_CONFIG_FILES([platform/debian/changelog platform/rpm/sflphone.spec \
   platform/fedora/sflphone.spec])
-AC_CONFIG_HEADERS(config.h)
+dnl the file stamp-h.in should be there before (instead of AC_CONFIG_HEADERS(config.h))
+AM_CONFIG_HEADER(config.h)
 
 dnl Get project version
 VERSION=`sed -ne 's/^#define SFLPHONED_VERSION "\(.*\)"/\1/p' ${srcdir}/src/global.h`
diff --git a/src/global.h b/src/global.h
index a193f542dbefa01562278e0cb230b5d945710a6b..6751f32b68ff78555b7e23463bb0b38e5b3e3e45 100644
--- a/src/global.h
+++ b/src/global.h
@@ -58,8 +58,8 @@ typedef short int16;
   #define _debugInit(...)
 #endif
 
-#define SFLPHONED_VERSION "0.7.0"
-#define SFLPHONED_VERSIONNUM 0x000700
+#define SFLPHONED_VERSION "0.7.1"
+#define SFLPHONED_VERSIONNUM 0x000701
 
 #define PROGNAME         "sflphoned"
 #define PROGNAME_GLOBAL  "sflphone"