Ticket #42 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

doxygen.m4 must be updated to work with newer autoconf

Reported by: fpeters@… Owned by: lennart
Milestone: Component: avahi-common
Keywords: Cc:

Description

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,

Change History

Changed 7 years ago by lennart

  • status changed from new to closed
  • resolution set to fixed

(In [1221]) Merge patch from Frederic Peters, fixing doxygen.m4 for newer autoconf versions (closes #42)

Thanks, Frederic!

Note: See TracTickets for help on using tickets.