autogen.sh 564 Bytes
Newer Older
Josh Coalson's avatar
Josh Coalson committed
1
#!/bin/sh
2
# Run this to set up the build system: configure, makefiles, etc.
3 4
# We trust that the user has a recent enough autoconf & automake setup
# (not older than a few years...)
Timothy B. Terriberry's avatar
Timothy B. Terriberry committed
5 6
set -e

7 8 9 10 11 12 13 14
if test $(uname -s) = "OpenBSD" ; then
	# OpenBSD needs these environment variables set.
	AUTOCONF_VERSION=2.69
	AUTOMAKE_VERSION=1.11
	export AUTOCONF_VERSION
	export AUTOMAKE_VERSION
	fi

Timothy B. Terriberry's avatar
Timothy B. Terriberry committed
15 16 17 18 19
srcdir=`dirname $0`
test -n "$srcdir" && cd "$srcdir"

echo "Updating build configuration files for FLAC, please wait...."

20
touch config.rpath
Timothy B. Terriberry's avatar
Timothy B. Terriberry committed
21 22
autoreconf -isf
#./configure "$@" && echo