Commit Graph

68 Commits

Author SHA1 Message Date
Max Kellermann 9b5ce27c3b configure.ac: check if "struct ucred" is available
By default, glibc 2.8 hides struct ucred behind the _GNU_SOURCE
macro.  I don't want to enable that globally, because it may encourage
the use of non-portable functions.  Test if "struct ucred" is
available, and enable _GNU_SOURCE if required.

For details about that issue, see glib's bug database:

 http://sources.redhat.com/bugzilla/show_bug.cgi?id=6545
2008-10-16 14:59:26 +02:00
Max Kellermann b53365949a configure.ac: find more libraries with pkg-config
Detect the following libraries with pkg-config: libshout, libid3tag,
libmad.
2008-10-16 08:33:29 +02:00
Enrico Weigelt 30cd345581 fixing several imports to work via pkg-config
This patch fixes several imports to use pkg-config instead of certain
esoteric tests.
2008-10-15 20:39:46 +02:00
Eric Wong a792dc5b93 autotools: add pthreads linker support
This is needed for people that don't use any of the following:
JACK, ALSA, libmikmod, Shout.
2008-10-06 18:52:48 +02:00
Eric Wollesen 5f8eebd122 shout: added mp3 encoder
[mk: moved this patch after "Refactor and cleanup of shout Ogg and MP3
audio outputs".  The original commit message follows, although it is
outdated:]

Creation of shout_mp3 audio output plugin. Basically I just copied the
existing shout plugin and replaced ogg with lame. Uses lame for mp3
encoding. Next step is to pull common functionality out of each shout
plugin and share it between them.

Configuration options for "shout_mp3" are the same as for "shout".
2008-09-12 16:05:23 +02:00
Max Kellermann d05c8fd422 quote "=" in the CFLAGS check
Previously, it was not possible to check for e.g. "-std=c99".
2008-08-25 15:51:18 +02:00
Eric Wong 4e4441fd32 configure: better CFLAGS checking
needed for compatibility with older gcc.  Also, threw in
some warnings for things I find offensive
(declaration-after-statement, shadow)

git-svn-id: https://svn.musicpd.org/mpd/trunk@7299 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2008-04-12 04:16:22 +00:00
J. Alexander Treuman 4155cd9940 Updating libFLAC.m4 so that -L isn't erroneously specified without an
argument.

git-svn-id: https://svn.musicpd.org/mpd/trunk@6324 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-05-28 13:01:08 +00:00
Eric Wong ccf971a320 inputPlugins/flac_plugin: switch to the new (1.1.3) API
We will restore compatibility with the old API in the
next few commits; along with OggFLAC support.

git-svn-id: https://svn.musicpd.org/mpd/trunk@5110 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-12-04 04:45:44 +00:00
Eric Wong a5c88ce51b m4: add pkg.m4 so users can run autogen.sh without pkg-config
They still won't be able to get pulse without pkg-config, however.

git-svn-id: https://svn.musicpd.org/mpd/trunk@4774 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-09-14 01:52:14 +00:00
Eric Wong 48b54d7a71 m4/lib*FLAC.m4: fix typos, -INONE/include no longer mis-added to CFLAGS
git-svn-id: https://svn.musicpd.org/mpd/trunk@4763 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-09-12 06:50:21 +00:00
Eric Wong 47037c6ac9 Some more autotools fixes/hacks/workarounds
autogen.sh:
Detect more strange paths for aclocal on different
packaging systems.  This should help encourage more
people to run svn code on their systems.

configure.ac:
Tested on FreeBSD (6.1).  Darwin, OpenBSD, NetBSD info
gleaned off the Makefile distributed with git.

m4/shout.m4:
The Shout 2.2 port on a FreeBSD 6.1 machine seemed
problematic when it's compiled against pthreads, so this is
a gross hack to force -lpthread on it

git-svn-id: https://svn.musicpd.org/mpd/trunk@4390 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-18 09:55:15 +00:00
Eric Wong f621d55e3f Fix underquoted defintion warnings from newer automake
git-svn-id: https://svn.musicpd.org/mpd/trunk@4352 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-15 11:02:52 +00:00
Eric Wong 6963502213 merge with mpd/trunk up to r3925
git-svn-id: https://svn.musicpd.org/mpd/trunk@3926 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-03-16 06:52:46 +00:00
Warren Dukes c902326d15 add codeset.m4, OS X doesn't have this
git-svn-id: https://svn.musicpd.org/mpd/trunk@3066 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-13 15:42:06 +00:00
Warren Dukes d857f45f35 add audiofile.m4
git-svn-id: https://svn.musicpd.org/mpd/trunk@3061 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-12 06:29:06 +00:00
Warren Dukes 716e9a8fb5 use alsa m4 stuff to generate configure
git-svn-id: https://svn.musicpd.org/mpd/trunk@2916 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-01 01:17:04 +00:00
Warren Dukes 54acb123bc add non-standard m4's to mpd svn repository
git-svn-id: https://svn.musicpd.org/mpd/trunk@2655 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-14 15:22:36 +00:00