summaryrefslogtreecommitdiff
path: root/m4
AgeCommit message (Collapse)Author
2014-10-25decoder/faad: remove workaround for ancient libfaad2 ABI bugMax Kellermann
Many years ago, FAAD had a serious ABI bug: the NeAACDecInit() prototype in its header declared the "samplerate" parameter to be "unsigned long *", but internally, the function assumed it was "uint32_t *" instead. On 32 bit machines, that was no difference, but on 64 bit, this left one portion of the return value uninitialized; and worse, on big-endian, the wrong word was filled. This bug had to be worked around in MPD (commit 9c4e97a6). A few months later, the bug was fixed in the FAAD CVS in commit 1.117 on file libfaad/decoder.c; the commit message was: "Use public headers internally to prevent duplicate declarations" The commit message was too brief at best; the problem was not duplicate declarations, but a prototype mismatch. No mention of the bug fix in the ChangeLog. The MPD project never learned about this bug fix, and so MPD would always pass a "uin32_t *" dressed up as a "unsigned long *". Nearly 6 years later, it's about time to fix this second ABI problem. Let's kill the workaround!
2014-10-24configure.ac: improve database dependency checksMax Kellermann
Abort if --enable-libmpdclient or --enable-upnp are used with --disable-database, instead of ignoring the mismatch silently.
2014-06-11configure.ac: check for BoostMax Kellermann
2014-06-11m4: update to pkg-config 0.28Max Kellermann
2014-06-11m4: update to autoconf-archive 20140228Max Kellermann
2014-03-15m4/ucred.m4: don't define _GNU_SOURCEMax Kellermann
Not necessary anymore, because we enable this flag unconditionally now.
2014-03-01m4: add missing file ax_pthread.m4 from autoconf-archiveMax Kellermann
2013-11-27Add infrastructure for using multiple event loopsDenis Krjuchkov
This change adds two configuration options: --with-eventloop=[glib|internal|auto] --with-pollmethod=[epoll|auto] First allows switching between GLib event loop and internal one. Second chooses backend to use for internal event loop. Conditional compilation symbols are changed accordingly. Additional helper macro MPD_OPTIONAL_FUNC_NODEF is added as well.
2013-10-17configure.ac: add function MPD_AUTO_LIB and use itMax Kellermann
2013-08-07configure.ac: pass option name to MPD_OPTIONAL_FUNC()Max Kellermann
2013-08-06configure.ac: add option --enable-eventfdMax Kellermann
Remove the runtime check for eventfd(), hard-code the feature once it's been selected at compile time. The class WakeFD is splitted into EventFD and EventPipe, using WakeFD as a macro diversion.
2013-01-29decoder/faad: use the newer NeAAC* APIMax Kellermann
Drop support for the old faacDec* API.
2013-01-29faad.m4: clear FAAD_LIBS if faad got auto-disabledMax Kellermann
Fixes build errors on systems without libfaad, when --disable-aac was not specified.
2013-01-29faad.m4: don't add -I. to temporary CFLAGSMax Kellermann
2013-01-29faad.m4: remove faad --with-* optionsMax Kellermann
Some of these are not implemented properly and never worked. And the others are not useful; you can easily set environment variables instead.
2013-01-28decoder/mp4ff: delete obsolete pluginMax Kellermann
The underlying library has been obsolete for many years.
2013-01-03Merge branch 'v0.17.x'Max Kellermann
2013-01-03mpd_auto.m4: Pass libraries to AC_CHECK_LIB in MPD_AUTO_PKG_LIBDenis Krjuchkov
Rationale: vanilla libid3tag does not have any pkg-config stuff and fails to detect because symbols from libz are not found.
2012-08-03configure.ac: copy missing file m4/ax_check_link_flag.m4Max Kellermann
Needed by ax_append_link_flags.m4.
2012-08-02configure.ac: enable --gc-sectionsMax Kellermann
Produce a smaller binary by removing all unused functions.
2012-08-01configure.ac: require C++11 compilerMax Kellermann
We'll add some C++11 code soon.
2012-07-30configure.ac: replace MPD_CHECK_FLAG with autoconf-archive scriptsMax Kellermann
Use standard scripts instead of MPD's custom implementation.
2011-10-09configure.ac: use $LIBS instead of $MPD_LIBSMax Kellermann
2011-10-09configure.ac: substitute FAAD_CFLAGS, FAAD_LIBSMax Kellermann
Don't use MPC_CFLAGS, MPD_LIBS.
2011-09-01configure.ac: fail if libid3tag was enabled explicitly, but not foundMax Kellermann
Add M4 function MPD_AUTO_PKG_LIB for pkg-config with AC_CHECK_LIB fallback.
2011-01-07Merge branch 'v0.15.x' into v0.16.xMax Kellermann
Conflicts: NEWS configure.ac src/directory.h
2011-01-07configure.ac: eliminate bashism "echo -n"Max Kellermann
Use "printf" instead.
2011-01-07configure.ac: avoid GNU extension in "expr match" callMax Kellermann
2011-01-07configure.ac: use AC_LANG_SOURCEMax Kellermann
Fixes autotools warnings.
2010-04-21configure.ac: Add optional third variable to results.Avuton Olrich
Add optional third value to results() to allow for non "yes" answers which are considered positive.
2010-04-21libOggFLAC.m4: Remove libOggFLAC.m4 as it's buggy.Avuton Olrich
2010-04-21configure.ac: New pretty print results menu.Avuton Olrich
This commit adds a new pretty print menu, we've (far) outgrown the old menu which because hard to traverse.
2010-04-15lame.m4: Remove unused macro fileAvuton Olrich
2010-01-20configure.ac: new libwrap autoconf testMax Kellermann
Use MPD_AUTO_RESULT(). Don't force libwrap by default.
2010-01-20client: optionally use libwrapDavide Camurri
2009-05-26configure.ac: use $FAAD_LIBS in libmp4ff checkMax Kellermann
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 Kellermann
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 Olrich
2009-04-15configure.ac: added function MPD_AUTO_PREMax Kellermann
This function checks whether a prerequisite for a feature was found.
2009-04-15configure.ac: print feature name in error messageMax Kellermann
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 Kellermann
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 Kellermann
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 Kellermann
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 Olrich
2009-03-06configure: No capitalization on beginning of help strings.Avuton Olrich
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 Olrich
2009-03-06configure: trim down the line length for the lame argumentsAvuton Olrich
2009-02-25configure.ac: declare AM_CFLAGSMax Kellermann
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 Kellermann
Both are unused.
2008-10-16configure.ac: check if "struct ucred" is availableMax Kellermann
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