Building svn avahi in Debian unstable produced an error in autogen.sh[1]; I investigated it a bit and reported this as a bug against autoconf (Debian unstable shipping a CVS snapshot), this is bug #368712 [2].
Debian autoconf maintainer then tested it and acknowledged the failure but pointed the error in doxygen.m4 to actually be real. He also provided a patch so it works with both autoconf versions. It is copied below.
Regards,
Frederic
--- avahi-0.6.10/common/doxygen.m4 2005-08-04 02:45:33.000000000 +0200
+++ avahi-0.6.10/common/doxygen.m4 2006-05-24 14:40:25.000000000 +0200
@@ -78,7 +78,7 @@
AC_PATH_TOOL([$1], [$2])
if test "$DX_FLAG_[]DX_CURRENT_FEATURE$$1" = 1; then
AC_MSG_WARN([$2 not found - will not DX_CURRENT_DESCRIPTION])
- AC_SUBST([DX_FLAG_[]DX_CURRENT_FEATURE], 0)
+ AC_SUBST([DX_FLAG_]DX_CURRENT_FEATURE, 0)
fi
])
@@ -101,7 +101,7 @@
# ----------------------------------------------------------
# Turn off the DX_CURRENT_FEATURE if the required feature is off.
AC_DEFUN([DX_CLEAR_DEPEND], [
-test "$DX_FLAG_$1" = "$2" || AC_SUBST([DX_FLAG_[]DX_CURRENT_FEATURE], 0)
+test "$DX_FLAG_$1" = "$2" || AC_SUBST([DX_FLAG_]DX_CURRENT_FEATURE, 0)
])
# DX_FEATURE_ARG(FEATURE, DESCRIPTION,