Replace broken str* functions with safe versions.
[platform/upstream/flac.git] / autogen.sh
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
6
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
13         fi
14
15 srcdir=`dirname $0`
16 test -n "$srcdir" && cd "$srcdir"
17
18 echo "Updating build configuration files for FLAC, please wait...."
19
20 touch config.rpath
21 autoreconf -isf
22 #./configure "$@" && echo