aboutsummaryrefslogtreecommitdiffstats
path: root/m4 (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-01-20configure.ac: new libwrap autoconf testMax Kellermann1-32/+9
Use MPD_AUTO_RESULT(). Don't force libwrap by default.
2010-01-20client: optionally use libwrapDavide Camurri1-0/+37
2009-05-26configure.ac: use $FAAD_LIBS in libmp4ff checkMax Kellermann1-1/+1
Append $FAAD_LIBS to $LIBS when detecting libmp4ff. $FAAD_LIBS may contain an important -L flag.
2009-05-15configure.ac: removed the --disable-lametest optionMax Kellermann1-9/+0
The M4 function AM_PATH_LAME (m4/lame.m4) defined a configure flag named "--disable-lametest". This is redundant with configure.ac's --disable-lame-encoder, and specifying both options may break the build. Since AM_PATH_LAME is only called when the encoder plugin is enabled, we can safely remove that --disable-lametest option.
2009-04-29configure: Fix where mp4 was not explicitly disabled.Avuton Olrich1-1/+3
2009-04-15configure.ac: added function MPD_AUTO_PREMax Kellermann1-0/+15
This function checks whether a prerequisite for a feature was found.
2009-04-15configure.ac: print feature name in error messageMax Kellermann1-1/+1
When MPD_AUTO_DISABLED prints a fatal error message, include the feature name. This might be an important piece of information for the user, just in case the preceding line doesn't tell him.
2009-03-29configure.ac: fix error on disabled featuresMax Kellermann1-1/+1
In the MPD_AUTO_DISABLED() function, I forgot to check for "explicitly disabled".
2009-03-28configure.ac: added M4 function MPD_AUTO_PKG() for ALSAMax Kellermann1-0/+10
MPD_AUTO_PKG() runs pkg-config and then forwards control to MPD_AUTO_RESULT(). This is a commonly used short cut.
2009-03-28configure.ac: fail when ALSA is enabled but not foundMax Kellermann1-0/+40
This patch adds a small autoconf M4 library which deals with auto-detected features. The default for those features is "auto", which is like the old default: if the library is present on the system, enable the feature, disable otherwise. If the user explicitly enables that feature (--enable-alsa), and the library is not present, configure must fail, because it cannot fulfill the request.
2009-03-06configure: Move the faad stuff to m4/faad.m4Avuton Olrich1-0/+190
2009-03-06configure: No capitalization on beginning of help strings.Avuton Olrich1-4/+4
Most strings have no capitalization at the beinning, make all strings non-capital.
2009-03-06configure: trim down the line length for the libOggFLAC help stringsAvuton Olrich1-4/+16
2009-03-06configure: trim down the line length for the lame argumentsAvuton Olrich1-4/+16
2009-02-25configure.ac: declare AM_CFLAGSMax Kellermann1-1/+1
Moved generic compiler options to AM_CFLAGS. MPD_CFLAGS/MPD_LIBS will hopefully fade away one day, in favor of more fine-grained variables.
2009-01-05m4: deleted acx_pthread.m4 and codeset.m4Max Kellermann2-298/+0
Both are unused.
2008-10-16configure.ac: check if "struct ucred" is availableMax Kellermann1-0/+32
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-16configure.ac: find more libraries with pkg-configMax Kellermann2-212/+0
Detect the following libraries with pkg-config: libshout, libid3tag, libmad.
2008-10-15fixing several imports to work via pkg-configEnrico Weigelt6-846/+0
This patch fixes several imports to use pkg-config instead of certain esoteric tests.
2008-10-06autotools: add pthreads linker supportEric Wong1-0/+275
This is needed for people that don't use any of the following: JACK, ALSA, libmikmod, Shout.
2008-09-12shout: added mp3 encoderEric Wollesen1-0/+108
[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-08-25quote "=" in the CFLAGS checkMax Kellermann1-1/+1
Previously, it was not possible to check for e.g. "-std=c99".
2008-04-12configure: better CFLAGS checkingEric Wong1-0/+18
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
2007-05-28Updating libFLAC.m4 so that -L isn't erroneously specified without anJ. Alexander Treuman1-18/+8
argument. git-svn-id: https://svn.musicpd.org/mpd/trunk@6324 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-12-04inputPlugins/flac_plugin: switch to the new (1.1.3) APIEric Wong1-7/+17
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-09-14m4: add pkg.m4 so users can run autogen.sh without pkg-configEric Wong1-0/+157
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-12m4/lib*FLAC.m4: fix typos, -INONE/include no longer mis-added to CFLAGSEric Wong2-2/+2
git-svn-id: https://svn.musicpd.org/mpd/trunk@4763 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-18Some more autotools fixes/hacks/workaroundsEric Wong1-0/+11
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-15Fix underquoted defintion warnings from newer automakeEric Wong5-5/+5
git-svn-id: https://svn.musicpd.org/mpd/trunk@4352 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-03-16merge with mpd/trunk up to r3925Eric Wong1-0/+104
git-svn-id: https://svn.musicpd.org/mpd/trunk@3926 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-13add codeset.m4, OS X doesn't have thisWarren Dukes1-0/+23
git-svn-id: https://svn.musicpd.org/mpd/trunk@3066 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-12add audiofile.m4Warren Dukes1-0/+179
git-svn-id: https://svn.musicpd.org/mpd/trunk@3061 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-01use alsa m4 stuff to generate configureWarren Dukes1-0/+142
git-svn-id: https://svn.musicpd.org/mpd/trunk@2916 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-14add non-standard m4's to mpd svn repositoryWarren Dukes6-0/+726
git-svn-id: https://svn.musicpd.org/mpd/trunk@2655 09075e82-0dd4-0310-85a5-a0d7c8717e4f