aboutsummaryrefslogtreecommitdiff
path: root/m4
Commit message (Collapse)AuthorAge
* decoder/faad: use the newer NeAAC* APIMax Kellermann2013-01-29
| | | | Drop support for the old faacDec* API.
* faad.m4: clear FAAD_LIBS if faad got auto-disabledMax Kellermann2013-01-29
| | | | | Fixes build errors on systems without libfaad, when --disable-aac was not specified.
* faad.m4: don't add -I. to temporary CFLAGSMax Kellermann2013-01-29
|
* faad.m4: remove faad --with-* optionsMax Kellermann2013-01-29
| | | | | | Some of these are not implemented properly and never worked. And the others are not useful; you can easily set environment variables instead.
* decoder/mp4ff: delete obsolete pluginMax Kellermann2013-01-28
| | | | The underlying library has been obsolete for many years.
* Merge branch 'v0.17.x'Max Kellermann2013-01-03
|\
| * mpd_auto.m4: Pass libraries to AC_CHECK_LIB in MPD_AUTO_PKG_LIBDenis Krjuchkov2013-01-03
| | | | | | | | | | Rationale: vanilla libid3tag does not have any pkg-config stuff and fails to detect because symbols from libz are not found.
* | configure.ac: copy missing file m4/ax_check_link_flag.m4Max Kellermann2012-08-03
| | | | | | | | Needed by ax_append_link_flags.m4.
* | configure.ac: enable --gc-sectionsMax Kellermann2012-08-02
| | | | | | | | Produce a smaller binary by removing all unused functions.
* | configure.ac: require C++11 compilerMax Kellermann2012-08-01
|/ | | | We'll add some C++11 code soon.
* configure.ac: replace MPD_CHECK_FLAG with autoconf-archive scriptsMax Kellermann2012-07-30
| | | | Use standard scripts instead of MPD's custom implementation.
* configure.ac: use $LIBS instead of $MPD_LIBSMax Kellermann2011-10-09
|
* configure.ac: substitute FAAD_CFLAGS, FAAD_LIBSMax Kellermann2011-10-09
| | | | Don't use MPC_CFLAGS, MPD_LIBS.
* configure.ac: fail if libid3tag was enabled explicitly, but not foundMax Kellermann2011-09-01
| | | | | Add M4 function MPD_AUTO_PKG_LIB for pkg-config with AC_CHECK_LIB fallback.
* Merge branch 'v0.15.x' into v0.16.xMax Kellermann2011-01-07
|\ | | | | | | | | | | | | Conflicts: NEWS configure.ac src/directory.h
| * configure.ac: use AC_LANG_SOURCEMax Kellermann2011-01-07
| | | | | | | | Fixes autotools warnings.
* | configure.ac: eliminate bashism "echo -n"Max Kellermann2011-01-07
| | | | | | | | Use "printf" instead.
* | configure.ac: avoid GNU extension in "expr match" callMax Kellermann2011-01-07
| |
* | configure.ac: Add optional third variable to results.Avuton Olrich2010-04-21
| | | | | | | | | | Add optional third value to results() to allow for non "yes" answers which are considered positive.
* | libOggFLAC.m4: Remove libOggFLAC.m4 as it's buggy.Avuton Olrich2010-04-21
| |
* | configure.ac: New pretty print results menu.Avuton Olrich2010-04-21
| | | | | | | | | | This commit adds a new pretty print menu, we've (far) outgrown the old menu which because hard to traverse.
* | lame.m4: Remove unused macro fileAvuton Olrich2010-04-15
| |
* | configure.ac: new libwrap autoconf testMax Kellermann2010-01-20
| | | | | | | | Use MPD_AUTO_RESULT(). Don't force libwrap by default.
* | client: optionally use libwrapDavide Camurri2010-01-20
|/
* configure.ac: use $FAAD_LIBS in libmp4ff checkMax Kellermann2009-05-26
| | | | | Append $FAAD_LIBS to $LIBS when detecting libmp4ff. $FAAD_LIBS may contain an important -L flag.
* configure.ac: removed the --disable-lametest optionMax Kellermann2009-05-15
| | | | | | | | 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.
* configure: Fix where mp4 was not explicitly disabled.Avuton Olrich2009-04-29
|
* configure.ac: added function MPD_AUTO_PREMax Kellermann2009-04-15
| | | | This function checks whether a prerequisite for a feature was found.
* configure.ac: print feature name in error messageMax Kellermann2009-04-15
| | | | | | 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.
* configure.ac: fix error on disabled featuresMax Kellermann2009-03-29
| | | | | In the MPD_AUTO_DISABLED() function, I forgot to check for "explicitly disabled".
* configure.ac: added M4 function MPD_AUTO_PKG() for ALSAMax Kellermann2009-03-28
| | | | | MPD_AUTO_PKG() runs pkg-config and then forwards control to MPD_AUTO_RESULT(). This is a commonly used short cut.
* configure.ac: fail when ALSA is enabled but not foundMax Kellermann2009-03-28
| | | | | | | | | 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.
* configure: Move the faad stuff to m4/faad.m4Avuton Olrich2009-03-06
|
* configure: No capitalization on beginning of help strings.Avuton Olrich2009-03-06
| | | | | Most strings have no capitalization at the beinning, make all strings non-capital.
* configure: trim down the line length for the libOggFLAC help stringsAvuton Olrich2009-03-06
|
* configure: trim down the line length for the lame argumentsAvuton Olrich2009-03-06
|
* configure.ac: declare AM_CFLAGSMax Kellermann2009-02-25
| | | | | Moved generic compiler options to AM_CFLAGS. MPD_CFLAGS/MPD_LIBS will hopefully fade away one day, in favor of more fine-grained variables.
* m4: deleted acx_pthread.m4 and codeset.m4Max Kellermann2009-01-05
| | | | Both are unused.
* configure.ac: check if "struct ucred" is availableMax Kellermann2008-10-16
| | | | | | | | | | | 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
* configure.ac: find more libraries with pkg-configMax Kellermann2008-10-16
| | | | | Detect the following libraries with pkg-config: libshout, libid3tag, libmad.
* fixing several imports to work via pkg-configEnrico Weigelt2008-10-15
| | | | | This patch fixes several imports to use pkg-config instead of certain esoteric tests.
* autotools: add pthreads linker supportEric Wong2008-10-06
| | | | | This is needed for people that don't use any of the following: JACK, ALSA, libmikmod, Shout.
* shout: added mp3 encoderEric Wollesen2008-09-12
| | | | | | | | | | | | | [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".
* quote "=" in the CFLAGS checkMax Kellermann2008-08-25
| | | | Previously, it was not possible to check for e.g. "-std=c99".
* configure: better CFLAGS checkingEric Wong2008-04-12
| | | | | | | 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
* Updating libFLAC.m4 so that -L isn't erroneously specified without anJ. Alexander Treuman2007-05-28
| | | | | argument. git-svn-id: https://svn.musicpd.org/mpd/trunk@6324 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* inputPlugins/flac_plugin: switch to the new (1.1.3) APIEric Wong2006-12-04
| | | | | | 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
* m4: add pkg.m4 so users can run autogen.sh without pkg-configEric Wong2006-09-14
| | | | | 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
* m4/lib*FLAC.m4: fix typos, -INONE/include no longer mis-added to CFLAGSEric Wong2006-09-12
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4763 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Some more autotools fixes/hacks/workaroundsEric Wong2006-07-18
| | | | | | | | | | | | | | | | | 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