There is a check to see if acpaths is 'default' or something else, but since it is hardcoded to default, that has no use. I've seen at least one case where the automatic searching of M4 files did not do the right thing. How about the patch below: Index: meta/classes/autotools.bbclass =================================================================== --- meta/classes/autotools.bbclass (revision 78) +++ meta/classes/autotools.bbclass (revision 79) @@ -24,7 +24,7 @@ EXTRA_OEMAKE = "" DEPENDS_prepend = "${@autotools_dep_prepend(d)}" -acpaths = "default" +acpaths ?= "default" EXTRA_AUTORECONF = "--exclude=autopoint" def autotools_set_crosscompiling(d):
Hmm, it seems I should have looked a bit further... Apparently my colleague who made this change to autotools.bbclass did not see that other packages are also overriding, simply by redefining acpaths _after_ inheriting autotools. You may close this entry :)
Yes, you just need to change the value after the "inherit autotools".