3 # This file is part of libflashsupport-pulse.
5 # libflashsupport-pulse is free software; you can redistribute it
6 # and/or modify it under the terms of the GNU Lesser General Public
7 # License as published by the Free Software Foundation; either version
8 # 2 of the License, or (at your option) any later version.
10 # libflashsupport-pulse is distributed in the hope that it will be
11 # useful, but WITHOUT ANY WARRANTY; without even the implied warranty
12 # of 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
16 # License along with libflashsupport-pulse; if not, write to the Free
17 # Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
26 V
=$
(echo "$2" |
sed -e 's,\.,,g')
28 if [ -e "`which $1$V 2> /dev/null`" ] ; then
31 if [ -e "`which $1-$2 2> /dev/null`" ] ; then
44 if [ "x$1" = "xam" ] ; then
45 run_versioned automake
"$VERSION" -a -c --foreign
51 test "x$LIBTOOLIZE" = "x" && LIBTOOLIZE
=libtoolize
53 "$LIBTOOLIZE" -c --force
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
--prefix=/usr
--sysconfdir=/etc
--localstatedir=/var
"$@"