Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. |