diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000000000000000000000000000000000000..47c9baa2215201ef4b04c53cd94067e69b7e784b
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# could be replaced with autoconf -v -f (verbose, force rebuild of ltmain, .in files, etc.)
+aclocal -I m4
+libtoolize --force
+autoheader
+autoconf -f
+automake -a
+./configure --prefix=/usr --with-debug
diff --git a/sflphone-gtk/autogen.sh b/sflphone-gtk/autogen.sh
new file mode 100755
index 0000000000000000000000000000000000000000..47c9baa2215201ef4b04c53cd94067e69b7e784b
--- /dev/null
+++ b/sflphone-gtk/autogen.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# could be replaced with autoconf -v -f (verbose, force rebuild of ltmain, .in files, etc.)
+aclocal -I m4
+libtoolize --force
+autoheader
+autoconf -f
+automake -a
+./configure --prefix=/usr --with-debug
diff --git a/sflphone-gtk/configure.ac b/sflphone-gtk/configure.ac
index f88b7dc3465138311fdf4aceb725a7d795c274a7..b1372e616df6d9be0f11fa38f1490b08f0f5e245 100644
--- a/sflphone-gtk/configure.ac
+++ b/sflphone-gtk/configure.ac
@@ -15,7 +15,7 @@ AC_ARG_WITH(debug,
 		[with_debug=no]
 	)
 if test "x$with_debug" = "xfull" -o "x$with_debug" = "xyes"; then
-	CFLAGS="$CFLAGS -g -DDEBUG -Wall -Werror "
+	CFLAGS="$CFLAGS -g -DDEBUG -Wall"
 fi
 
 AC_PROG_CC