1#!/bin/sh
2# This file is part of MiniDLNA.
3#
4# MiniDLNA is free software; you can redistribute it and/or modify it
5# under the terms of the GNU Lesser General Public License as
6# published by the Free Software Foundation; either version 2 of the
7# License, or (at your option) any later version.
8#
9# MiniDLNA is distributed in the hope that it will be useful, but WITHOUT
10# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
12# License for more details.
13#
14# You should have received a copy of the GNU Lesser General Public
15# License along with MiniDLNA; if not, write to the Free Software
16# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
17# USA.
18
19package="minidlna"
20
21srcdir=`dirname $0`
22test -z "$srcdir" && srcdir=.
23
24cd "$srcdir"
25DIE=0
26
27(autoconf --version) < /dev/null > /dev/null 2>&1 || {
28	echo
29	echo "You must have autoconf installed to compile $package."
30	echo "Download the appropriate package for your system,"
31	echo "or get the source from one of the GNU ftp sites"
32	echo "listed in http://www.gnu.org/order/ftp.html"
33	DIE=1
34}
35
36(automake --version) < /dev/null > /dev/null 2>&1 || {
37	echo
38	echo "You must have automake installed to compile $package."
39	echo "Download the appropriate package for your system,"
40	echo "or get the source from one of the GNU ftp sites"
41	echo "listed in http://www.gnu.org/order/ftp.html"
42	DIE=1
43}
44
45if test "$DIE" -eq 1; then
46	exit 1
47fi
48
49echo "Generating configuration files for $package, please wait...."
50
51autoreconf -vfi
52
53