]> code.delx.au - pulseaudio/blob - configure.ac
main part of the native protocol
[pulseaudio] / configure.ac
1 # -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 # $Id$
5
6 # This file is part of polypaudio.
7 #
8 # polypaudio is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
12 #
13 # polypaudio is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 # General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with polypaudio; if not, write to the Free Software Foundation,
20 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
21
22 AC_PREREQ(2.57)
23 AC_INIT([polypaudio],[0.0],[mzcbylcnhqvb (at) 0pointer (dot) de])
24 AC_CONFIG_SRCDIR([src/main.c])
25 AC_CONFIG_HEADERS([config.h])
26 AM_INIT_AUTOMAKE([foreign -Wall])
27
28 AC_SUBST(PACKAGE_URL, [http://0pointer.de/lennart/projects/polypaudio/])
29
30 if type -p stow > /dev/null && test -d /usr/local/stow ; then
31 AC_MSG_NOTICE([*** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***])
32 ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION}"
33 fi
34
35 # Checks for programs.
36 AC_PROG_CC
37 AC_LIBLTDL_INSTALLABLE
38 AC_SUBST(INCLTDL)
39 AC_SUBST(LIBLTDL)
40 AC_LIBTOOL_DLOPEN
41 AC_PROG_LIBTOOL
42
43 # If using GCC specifiy some additional parameters
44 if test "x$GCC" = "xyes" ; then
45 CFLAGS="$CFLAGS -pipe -Wall -W -Wno-unused-parameter"
46 fi
47
48 AC_CONFIG_FILES([Makefile src/Makefile])
49 AC_OUTPUT