summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2003-01-20 16:46:34 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2003-01-20 16:46:34 +0000
commit22bd17cb15eb3a4003410a606be97076e65ed41c (patch)
treec5e44bdf26272d5e22328f01d3eaae8d86805455
parentee9cff71de431ba8501d821832be7dfd07e4d67b (diff)
downloadxine-lib-22bd17cb15eb3a4003410a606be97076e65ed41c.tar.gz
xine-lib-22bd17cb15eb3a4003410a606be97076e65ed41c.tar.bz2
fix compilation when libFLAC is not installed:
now it is not trying to build the plugin I hope I haven't broken compilation for those having libFLAC installed... CVS patchset: 3982 CVS date: 2003/01/20 16:46:34
-rw-r--r--configure.ac7
1 files changed, 3 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index e7392cd42..eccda25cc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -563,10 +563,9 @@ AM_CONDITIONAL(HAVE_VORBIS, [test x"$no_ogg" != "xyes" -a x"$no_vorbis" != "xyes
dnl ---------------------------------------------
dnl check for libFLAC
dnl ---------------------------------------------
-AM_PATH_LIBFLAC(,
- AC_DEFINE(HAVE_FLAC,1,[Define this if you have FLAC library installed]),
- [])
-AM_CONDITIONAL(HAVE_FLAC, [test x"$no_flac" != x"yes"])
+AM_PATH_LIBFLAC([],
+ AC_MSG_RESULT([*** All FLAC dependent parts will be disabled ***]))
+AM_CONDITIONAL(HAVE_FLAC, [test x"$no_libFLAC" != "xyes"])
dnl ---------------------------------------------
dnl XviD libs.