Fix wrong in Python extension module install location introduced in f14c177
[jack_mixer.git] / autogen.sh
bloba5d6d29135e7681a284f63bfce3df8c443c153a3
1 #!/bin/sh
3 # autotools bootstrap script for jack_mixer
5 # This file is part of jack_mixer
7 # Copyright (C) 2007 Nedko Arnaudov <nedko@arnaudov.name>
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
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.
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.
23 test -n "$srcdir" || srcdir=`dirname "$0"`
24 test -n "$srcdir" || srcdir=.
26 olddir=`pwd`
27 cd "$srcdir"
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
45 cd "$olddir"
46 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"