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