Hi Max,

when building libmpdclient with --disable-documentation,
the configure script fails:

 checking whether C compiler accepts -Wwrite-strings... yes
 configure: error: conditional "DOXYGEN" was never defined.
 Usually this means the macro was only invoked conditionally.


The following patch could be one solution for the problem, 
although probably there are better ways to solve it.
Please consider to add the following (or a similar) patch to the libmpdclient 
git.
Thx in advance, best regards



Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarm...@gmail.com>
---
 configure.ac |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index 22e11ac..daaea3b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,6 +64,8 @@ AC_ARG_ENABLE(documentation,
        AS_HELP_STRING([--disable-documentation],
                [Disable API doc generation @<:@default=enabled@:>@]),,
        [enable_documentation=yes])
+    AM_CONDITIONAL(DOXYGEN, test "x$enable_documentation" = xyes)
+
 if test "x$enable_documentation" = xyes; then
        AC_PATH_PROG(DOXYGEN, doxygen)
        AM_CONDITIONAL(DOXYGEN, test x$DOXYGEN != x)
-- 
1.7.10.4


------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to