aboutsummaryrefslogtreecommitdiffstats
path: root/m4/mpd_auto.m4 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* configure.ac: add macro MPD_DEFINE_CONDITIONALMax Kellermann2014-12-221-5/+1
|
* m4/mpd_auto: fix description in AC_DEFINE()Max Kellermann2014-12-221-1/+1
|
* configure.ac: add macro MPD_ENABLE_AUTO_LIBMax Kellermann2014-12-091-0/+10
|
* 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_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.
* configure.ac: add function MPD_AUTO_LIB and use itMax Kellermann2013-10-171-0/+17
|
* 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: 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.
* configure.ac: added function MPD_AUTO_PREMax Kellermann2009-04-151-0/+15
| | | | This function checks whether a prerequisite for a feature was found.
* configure.ac: print feature name in error messageMax Kellermann2009-04-151-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 featuresMax Kellermann2009-03-291-1/+1
| | | | | 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-281-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 foundMax Kellermann2009-03-281-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.