lib/functions.in: changed to test for $base/architecture/share/config.cache before trying to access it