Use recursive automake in src/share/ part of tree.
[flac.git] / autogen.sh
blobb3fe48eae85b1328ee6a5dfc938f07cb79c980c3
1 #!/bin/sh
2 # Run this to set up the build system: configure, makefiles, etc.
3 # We trust that the user has a recent enough autoconf & automake setup
4 # (not older than a few years...)
5 set -e
7 if test $(uname -s) = "OpenBSD" ; then
8 # OpenBSD needs these environment variables set.
9 AUTOCONF_VERSION=2.69
10 AUTOMAKE_VERSION=1.11
11 export AUTOCONF_VERSION
12 export AUTOMAKE_VERSION
15 srcdir=`dirname $0`
16 test -n "$srcdir" && cd "$srcdir"
18 echo "Updating build configuration files for FLAC, please wait...."
20 touch config.rpath
21 autoreconf -isf
22 #./configure "$@" && echo