4 # This file is part of polypaudio.
6 # polypaudio is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU Lesser General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
11 # polypaudio is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # General Public License for more details.
16 # You should have received a copy of the GNU Lesser General Public License
17 # along with polypaudio; if not, write to the Free Software Foundation,
18 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
26 V=$(echo "$2" | sed -e 's,\.,,g')
28 if [ -e "`which $1$V`" ] ; then
31 if [ -e "`which $1-$2`" ] ; then
44 if [ "x$1" = "xam" ] ; then
45 run_versioned automake "$VERSION" -a -c --foreign
53 test "x$LIBTOOLIZE" = "x" && LIBTOOLIZE=libtoolize
55 "$LIBTOOLIZE" -c --force --ltdl
56 run_versioned aclocal "$VERSION"
57 run_versioned autoconf 2.59 -Wall
58 run_versioned autoheader 2.59
59 run_versioned automake "$VERSION" -a -c --foreign
61 if test "x$NOCONFIGURE" = "x"; then
62 CFLAGS="-g -O0" ./configure --sysconfdir=/etc "$@"