aboutsummaryrefslogtreecommitdiffstats
path: root/m4 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* configure.ac: add macro MPD_DEFINE_CONDITIONALMax Kellermann2014-12-222-5/+9
|
* m4/mpd_auto: fix description in AC_DEFINE()Max Kellermann2014-12-221-1/+1
|
* configure.ac: use MPD_ENABLE_AUTO_LIB for libfaadMax Kellermann2014-12-091-73/+0
|
* configure.ac: add macro MPD_ENABLE_AUTO_LIBMax Kellermann2014-12-091-0/+10
|
* m4/mpd_with_flags: add macro MPD_WITH_FLAGSMax Kellermann2014-12-091-0/+23
|
* m4/mpd_auto.m4: fix option description in MPD_ARG_ENABLEMax Kellermann2014-12-091-1/+1
| | | | Was using the wrong variable. Regression by commit 16f870aa
* m4/mpd_auto.m4: move code to MPD_ARG_ENABLEMax Kellermann2014-12-081-20/+20
|
* m4/mpd_auto.m4: fix displayed default valueMax Kellermann2014-12-081-2/+7
| | | | | Was hard-coded to "auto", and the macro parameter was ignored (in the help text).
* m4/mpd_func.m4: fix typoMax Kellermann2014-12-081-1/+1
|
* m4/pretty_print.m4: eliminate "eval"Max Kellermann2014-12-081-3/+1
|
* m4/pretty_print.m4: drop support for "with_*" variablesMax Kellermann2014-12-081-9/+1
| | | | Not used.
* m4/mpd_auto.m4: fix inverted assignment after auto-detectionMax Kellermann2014-11-241-1/+1
| | | | Broken by commit cdbdcec
* configure.ac: add macro MPD_AUTOMax Kellermann2014-11-231-17/+16
|
* configure.ac: add macro MPD_ENABLE_AUTO_PKG_LIBMax Kellermann2014-11-221-0/+19
|
* configure.ac: add macro MPD_ENABLE_AUTO_PKGMax Kellermann2014-11-211-0/+27
| | | | Simplify the definition of many build options.
* m4/mpd_auto.m4: reduce "eval" bloatMax Kellermann2014-11-211-44/+25
| | | | Don't assign bash variables; instead, use the m4 parameters directly.
* decoder/faad: remove workaround for ancient libfaad2 ABI bugMax Kellermann2014-10-251-30/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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!
* configure.ac: improve database dependency checksMax Kellermann2014-10-241-0/+9
| | | | | Abort if --enable-libmpdclient or --enable-upnp are used with --disable-database, instead of ignoring the mismatch silently.
* configure.ac: check for BoostMax Kellermann2014-06-111-0/+272
|
* m4: update to pkg-config 0.28Max Kellermann2014-06-111-30/+87
|
* m4: update to autoconf-archive 20140228Max Kellermann2014-06-115-10/+55
|
* m4/ucred.m4: don't define _GNU_SOURCEMax Kellermann2014-03-151-15/+1
| | | | | Not necessary anymore, because we enable this flag unconditionally now.
* m4: add missing file ax_pthread.m4 from autoconf-archiveMax Kellermann2014-03-011-0/+332
|
* Add infrastructure for using multiple event loopsDenis Krjuchkov2013-11-271-0/+13
| | | | | | | | | | | | 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.
* configure.ac: add function MPD_AUTO_LIB and use itMax Kellermann2013-10-171-0/+17
|
* configure.ac: pass option name to MPD_OPTIONAL_FUNC()Max Kellermann2013-08-071-5/+5
|
* configure.ac: add option --enable-eventfdMax Kellermann2013-08-061-0/+12
| | | | | | 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.
* decoder/faad: use the newer NeAAC* APIMax Kellermann2013-01-291-53/+12
| | | | Drop support for the old faacDec* API.
* faad.m4: clear FAAD_LIBS if faad got auto-disabledMax Kellermann2013-01-291-0/+3
| | | | | Fixes build errors on systems without libfaad, when --disable-aac was not specified.
* faad.m4: don't add -I. to temporary CFLAGSMax Kellermann2013-01-291-1/+1
|
* faad.m4: remove faad --with-* optionsMax Kellermann2013-01-291-26/+2
| | | | | | 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-281-34/+0
| | | | The underlying library has been obsolete for many years.
* Merge branch 'v0.17.x'Max Kellermann2013-01-031-1/+2
|\
| * mpd_auto.m4: Pass libraries to AC_CHECK_LIB in MPD_AUTO_PKG_LIBDenis Krjuchkov2013-01-031-1/+2
| | | | | | | | | | 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-031-0/+71
| | | | | | | | Needed by ax_append_link_flags.m4.
* | configure.ac: enable --gc-sectionsMax Kellermann2012-08-021-0/+61
| | | | | | | | Produce a smaller binary by removing all unused functions.
* | configure.ac: require C++11 compilerMax Kellermann2012-08-011-0/+107
|/ | | | We'll add some C++11 code soon.
* configure.ac: replace MPD_CHECK_FLAG with autoconf-archive scriptsMax Kellermann2012-07-304-18/+204
| | | | Use standard scripts instead of MPD's custom implementation.
* configure.ac: use $LIBS instead of $MPD_LIBSMax Kellermann2011-10-092-5/+5
|
* configure.ac: substitute FAAD_CFLAGS, FAAD_LIBSMax Kellermann2011-10-091-2/+8
| | | | Don't use MPC_CFLAGS, MPD_LIBS.
* configure.ac: fail if libid3tag was enabled explicitly, but not foundMax Kellermann2011-09-011-0/+15
| | | | | 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-072-8/+8
|\ | | | | | | | | | | | | Conflicts: NEWS configure.ac src/directory.h
| * configure.ac: use AC_LANG_SOURCEMax Kellermann2011-01-072-8/+8
| | | | | | | | Fixes autotools warnings.
* | configure.ac: eliminate bashism "echo -n"Max Kellermann2011-01-071-5/+5
| | | | | | | | Use "printf" instead.
* | configure.ac: avoid GNU extension in "expr match" callMax Kellermann2011-01-071-1/+1
| |
* | configure.ac: Add optional third variable to results.Avuton Olrich2010-04-211-4/+6
| | | | | | | | | | 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-211-116/+0
| |
* | configure.ac: New pretty print results menu.Avuton Olrich2010-04-211-0/+17
| | | | | | | | | | 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-151-111/+0
| |
* | configure.ac: new libwrap autoconf testMax Kellermann2010-01-201-32/+9
| | | | | | | | Use MPD_AUTO_RESULT(). Don't force libwrap by default.