On Tue, Nov 04, 2008 at 12:49:28AM -0500, Daniel Macks wrote: > libcanberra-0.10 configure.ac allows disabling of the gtk module and > conditions its test for the GCONFTOOL program on gtk being enabled. > However, the schema for the gtk module is always installed by a > Makefile.am fragment that uses GCONFTOOL. That leads to two questions > for the case when gtk is disabled. First, why install a schema if the > gtk module doesn't exist? Second, how can Makefile.am use a variable > that isn't set? Seems like either all gconf stuff should always happen > (not conditional on gtk) or else gconf should be fully restricted to > the case where gtk is enabled.
Following up, AM_GCONF_SOURCE_2 is always done also even if gtk is disabled. If the schemas get conditionalized on gtk being enabled, that too should be done iff gtk is enabled. Just need to make sure a default GCONF_SCHEMAS_INSTALL automake variable is set even if not gtk (else configure crashes, I just learned by experience:/). Something like: AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL], [false]) should work if "gtk being disabled" is used to disable gconf. dan -- Daniel Macks [EMAIL PROTECTED] http://www.netspace.org/~dmacks _______________________________________________ libcanberra-discuss mailing list [email protected] https://tango.0pointer.de/mailman/listinfo/libcanberra-discuss
