Displaying 1 result from an estimated 1 matches for "ab52ab6".
Did you mean:
ab2ab76
2013 Feb 07
0
[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" &am...