[Spice-devel] [PATCH spice-xpi 2/5] build: add simple autogen.sh file

Marc-André Lureau marcandre.lureau at gmail.com
Fri Jan 27 06:45:11 PST 2012


---
 autogen.sh |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
 create mode 100755 autogen.sh

diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..e5a152d
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -e # exit on errors
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+mkdir -p "$srcdir"/m4
+
+autoreconf -vfi "$srcdir"
+
+if [ -z "$NOCONFIGURE" ]; then
+    "$srcdir"/configure --enable-maintainer-mode ${1+"$@"}
+fi
-- 
1.7.7.6



More information about the Spice-devel mailing list