aboutsummaryrefslogtreecommitdiffstats
path: root/m4/mpd_auto.m4 (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-10-17configure.ac: add function MPD_AUTO_LIB and use itMax Kellermann1-0/+17
2013-01-03mpd_auto.m4: Pass libraries to AC_CHECK_LIB in MPD_AUTO_PKG_LIBDenis Krjuchkov1-1/+2
Rationale: vanilla libid3tag does not have any pkg-config stuff and fails to detect because symbols from libz are not found.
2011-09-01configure.ac: fail if libid3tag was enabled explicitly, but not foundMax Kellermann1-0/+15
Add M4 function MPD_AUTO_PKG_LIB for pkg-config with AC_CHECK_LIB fallback.
2009-04-15configure.ac: added function MPD_AUTO_PREMax Kellermann1-0/+15
This function checks whether a prerequisite for a feature was found.
2009-04-15configure.ac: print feature name in error messageMax Kellermann1-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.
2009-03-29configure.ac: fix error on disabled featuresMax Kellermann1-1/+1
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 Kellermann1-0/+10
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 Kellermann1-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.