>From 05343cb10947c378d8a7678d4cd3cc3f442b3290 Mon Sep 17 00:00:00 2001
From: "Timothy B. Terriberry" <tterr...@xiph.org>
Date: Thu, 7 Feb 2013 12:33:03 -0800
Subject: [PATCH 4/4] Robustify autogen.sh

This allows the script to be run from somewhere other than the
 top-level build directory.
---
 autogen.sh | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index 1a9a020..ab52ab6 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -2,6 +2,13 @@
 # Run this to set up the build system: configure, makefiles, etc.
 # We trust that the user has a recent enough autoconf & automake setup
 # (not older than a few years...)
+set -e
+
+srcdir=`dirname $0`
+test -n "$srcdir" && cd "$srcdir"
+
+echo "Updating build configuration files for FLAC, please wait...."
+
 touch config.rpath
-autoreconf -i
-#$srcdir/configure "$@" && echo
+autoreconf -isf
+#./configure "$@" && echo
-- 
1.7.12

_______________________________________________
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev

Reply via email to