Skip to content
Permalink
Browse files

Fix running autogen.sh out-of-tree

As done in GNOME's jhbuild building tool.

https://bugzilla.libsdl.org/show_bug.cgi?id=3374
  • Loading branch information
hadess committed Oct 1, 2016
1 parent 9dfe540 commit ca8ef2b73f74082dd8da2e03616193c9e7cb3051

File 1 of 1 in ca8ef2b

@@ -3,6 +3,10 @@
echo "Generating build information using autoconf"
echo "This may take a while ..."

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
pushd $srcdir

# Regenerate configuration files
cat acinclude/* >aclocal.m4
found=false
@@ -15,5 +19,7 @@ if test x$found = xfalse; then
fi
(cd test; sh autogen.sh)

popd

# Run configure for this platform
echo "Now you are ready to run ./configure"

0 comments on commit ca8ef2b

Please sign in to comment.