Ticket #34 (assigned enhancement)

Opened 3 years ago

Last modified 2 years ago

Avahi configure script is difficult for things like jhbuild to use

Reported by: james@jamesh.id.au Assigned to: lennart (accepted)
Priority: major Milestone:
Component: avahi-client Version:
Keywords: Cc: olav@bkor.dhs.org

Description

The Avahi configure script includes many checks for optional features, and bails out if the prerequisites for any of those optional features is missing.

It would be nice if after detecting that the prerequisites aren't available, avahi could disable the optional feature.

This makes it difficult to produce a single set of commands that will build avahi on a variety of platforms (as a buildscript like jhbuild would need to do), unless I explicitly disable all the optional features that may or may not be available on the target system.

Change History

04/23/06 12:41:09 changed by anonymous

  • cc set to olav@bkor.dhs.org.

04/23/06 15:04:29 changed by lennart

  • status changed from new to assigned.

Hmm, some people (notably package maintainers) detest such "automatic" configure scripts and are really thankful right now that Avahi doesn't do it that way.

I wonder how a good compromise could look like? Perhaps with configure options like "--enable-foo=auto" for the automatic behaviour?

04/23/06 15:12:45 changed by lathiat

Or even some kind of global flag, e.g. --automatic-disable or something - which influences the behavior of all non-crucial dependencies?

04/24/06 03:12:49 changed by anonymous

Being able to pass --enable-foo=auto to detect prerequisites for optional features would be fine. I understand the issues you are trying to address for package maintainers, so I'm not going to push for you to change the current defaults.

04/25/06 00:49:12 changed by lennart

  • type changed from defect to enhancement.

05/10/06 17:56:13 changed by sebest

  • milestone set to Avahi 0.7.

01/04/07 16:54:18 changed by lennart

  • milestone deleted.