blob: b3fe48eae85b1328ee6a5dfc938f07cb79c980c3 [file] [log] [blame]
Josh Coalson176eb562001-06-06 19:54:54 +00001#!/bin/sh
Josh Coalsonc7c1a8a2006-11-17 06:50:19 +00002# Run this to set up the build system: configure, makefiles, etc.
Max Horn66c0a582012-12-12 21:33:52 +01003# We trust that the user has a recent enough autoconf & automake setup
4# (not older than a few years...)
Timothy B. Terriberryd75cb672013-02-07 12:33:03 -08005set -e
6
Erik de Castro Lopo619b43d2013-03-18 19:35:30 +11007if 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
13 fi
14
Timothy B. Terriberryd75cb672013-02-07 12:33:03 -080015srcdir=`dirname $0`
16test -n "$srcdir" && cd "$srcdir"
17
18echo "Updating build configuration files for FLAC, please wait...."
19
Erik de Castro Lopoa53e85b2013-01-17 20:13:33 +110020touch config.rpath
Timothy B. Terriberryd75cb672013-02-07 12:33:03 -080021autoreconf -isf
22#./configure "$@" && echo