Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | m4: add MPD_ENABLE_AUTO() | Max Kellermann | 2015-03-20 | 1 | -0/+9 |
| | |||||
* | m4: add API documentation | Max Kellermann | 2015-03-19 | 1 | -0/+18 |
| | |||||
* | configure.ac: add macro MPD_DEFINE_CONDITIONAL | Max Kellermann | 2014-12-22 | 1 | -5/+1 |
| | |||||
* | m4/mpd_auto: fix description in AC_DEFINE() | Max Kellermann | 2014-12-22 | 1 | -1/+1 |
| | |||||
* | configure.ac: add macro MPD_ENABLE_AUTO_LIB | Max Kellermann | 2014-12-09 | 1 | -0/+10 |
| | |||||
* | m4/mpd_auto.m4: fix option description in MPD_ARG_ENABLE | Max Kellermann | 2014-12-09 | 1 | -1/+1 |
| | | | | Was using the wrong variable. Regression by commit 16f870aa | ||||
* | m4/mpd_auto.m4: move code to MPD_ARG_ENABLE | Max Kellermann | 2014-12-08 | 1 | -20/+20 |
| | |||||
* | m4/mpd_auto.m4: fix displayed default value | Max Kellermann | 2014-12-08 | 1 | -2/+7 |
| | | | | | Was hard-coded to "auto", and the macro parameter was ignored (in the help text). | ||||
* | m4/mpd_auto.m4: fix inverted assignment after auto-detection | Max Kellermann | 2014-11-24 | 1 | -1/+1 |
| | | | | Broken by commit cdbdcec | ||||
* | configure.ac: add macro MPD_AUTO | Max Kellermann | 2014-11-23 | 1 | -17/+16 |
| | |||||
* | configure.ac: add macro MPD_ENABLE_AUTO_PKG_LIB | Max Kellermann | 2014-11-22 | 1 | -0/+19 |
| | |||||
* | configure.ac: add macro MPD_ENABLE_AUTO_PKG | Max Kellermann | 2014-11-21 | 1 | -0/+27 |
| | | | | Simplify the definition of many build options. | ||||
* | m4/mpd_auto.m4: reduce "eval" bloat | Max Kellermann | 2014-11-21 | 1 | -44/+25 |
| | | | | Don't assign bash variables; instead, use the m4 parameters directly. | ||||
* | configure.ac: add function MPD_AUTO_LIB and use it | Max Kellermann | 2013-10-17 | 1 | -0/+17 |
| | |||||
* | mpd_auto.m4: Pass libraries to AC_CHECK_LIB in MPD_AUTO_PKG_LIB | Denis Krjuchkov | 2013-01-03 | 1 | -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: fail if libid3tag was enabled explicitly, but not found | Max Kellermann | 2011-09-01 | 1 | -0/+15 |
| | | | | | Add M4 function MPD_AUTO_PKG_LIB for pkg-config with AC_CHECK_LIB fallback. | ||||
* | configure.ac: added function MPD_AUTO_PRE | Max Kellermann | 2009-04-15 | 1 | -0/+15 |
| | | | | This function checks whether a prerequisite for a feature was found. | ||||
* | configure.ac: print feature name in error message | Max Kellermann | 2009-04-15 | 1 | -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. | ||||
* | configure.ac: fix error on disabled features | Max Kellermann | 2009-03-29 | 1 | -1/+1 |
| | | | | | In the MPD_AUTO_DISABLED() function, I forgot to check for "explicitly disabled". | ||||
* | configure.ac: added M4 function MPD_AUTO_PKG() for ALSA | Max Kellermann | 2009-03-28 | 1 | -0/+10 |
| | | | | | 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 found | Max Kellermann | 2009-03-28 | 1 | -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. |