[Spice-devel] [PATCH] build: Add autogen.sh convenience script
Christophe de Dinechin
christophe at dinechin.org
Fri Feb 16 15:18:19 UTC 2018
From: Christophe de Dinechin <dinechin at redhat.com>
Signed-off-by: Christophe de Dinechin <dinechin at redhat.com>
---
autogen.sh | 9 +++++++++
1 file changed, 9 insertions(+)
create mode 100755 autogen.sh
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..afa3e39
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e # exit on errors
+
+autoreconf --verbose --force --install
+
+if [ -z "$NOCONFIGURE" ]; then
+ ./configure ${1+"$@"}
+fi
--
2.13.5 (Apple Git-94)
More information about the Spice-devel
mailing list