]> git.0d.be Git - jack_mixer.git/blob - autogen.sh
Set version to 14 in preparation for next release
[jack_mixer.git] / autogen.sh
1 #!/bin/sh
2 #
3 # autotools bootstrap script for jack_mixer
4 #
5 # This file is part of jack_mixer
6 #
7 # Copyright (C) 2007 Nedko Arnaudov <nedko@arnaudov.name>
8 #
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; version 2 of the License
12 #
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 # GNU General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
21 #
22
23 test -n "$srcdir" || srcdir=`dirname "$0"`
24 test -n "$srcdir" || srcdir=.
25
26 olddir=`pwd`
27 cd "$srcdir"
28
29 if test x$1 = xclean
30 then
31   GENERATED="aclocal.m4 autom4te.cache config.h.in configure config Makefile.in"
32   set -x
33   if test -f Makefile; then make distclean; fi
34   rm -rf ${GENERATED}
35 else
36   set -x
37   mkdir -p config
38   aclocal -I config -I m4 $ACLOCAL_FLAGS
39   libtoolize --copy --force
40   autoheader
41   automake --foreign --add-missing --copy
42   autoconf
43 fi
44
45 cd "$olddir"
46 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"