Commit d75cb67d authored by Timothy B. Terriberry's avatar Timothy B. Terriberry Committed by Erik de Castro Lopo

Robustify autogen.sh

This allows the script to be run from somewhere other than the
 top-level build directory.
Signed-off-by: Erik de Castro Lopo's avatarErik de Castro Lopo <erikd@mega-nerd.com>
parent 81c91782
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment