Wrap up version 1.3.3.
[minidlna.git] / autogen.sh
blob477cf71dff55e5f7136e681f1cbb340eaa88be69
1 #!/bin/sh
2 # This file is part of MiniDLNA.
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.
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.
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.
19 package="minidlna"
21 srcdir=`dirname $0`
22 test -z "$srcdir" && srcdir=.
24 cd "$srcdir"
25 DIE=0
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
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
45 if test "$DIE" -eq 1; then
46 exit 1
49 echo "Generating configuration files for $package, please wait...."
51 autoreconf -vfi