From bd3bc1a56bafa981fdc568c35f51e8f12e05f56f Mon Sep 17 00:00:00 2001
From: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
Date: Wed, 1 Oct 2008 14:25:55 -0400
Subject: [PATCH] Add an autogen script on client and server side

Just have to run it and then make
---
 autogen.sh                | 9 +++++++++
 sflphone-gtk/autogen.sh   | 9 +++++++++
 sflphone-gtk/configure.ac | 2 +-
 3 files changed, 19 insertions(+), 1 deletion(-)
 create mode 100755 autogen.sh
 create mode 100755 sflphone-gtk/autogen.sh

diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000000..47c9baa221
--- /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 0000000000..47c9baa221
--- /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 f88b7dc346..b1372e616d 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
-- 
GitLab