https://bugzilla.novell.com/show_bug.cgi?id=382344 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=382344#c4 Stanislav Brabec <sbrabec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|sbrabec@novell.com | --- Comment #4 from Stanislav Brabec <sbrabec@novell.com> 2009-03-02 11:11:59 MST --- /usr/lib64 vs. /usr/lib is controlled by package maintainers. It's possible and easy to activate this logic for more prefixes or globally (with solution 1 below). There are two ways to configure /usr/local: 1. Set CONFIG_SITE variable to the path of the CONFIG_SITE file. Setting CONFIG_SITE allows to define prefix independent policy. 2. Create /usr/local/share/config.site or /usr/local/etc/config.site. It has effect only for prefix where it belongs. If we do 1. then we can place config.site anywhere. I can create and test config.site for solution 1. It will be basically the same as 2. plus a code resourcing original locations: If ${prefix} is set, search in ${prefix}/share/config.site and ${prefix}/etc/config.site. else search in ${ac_default_prefix}/share/config.site and ${ac_default_prefix}/etc/config.site, where ac_default_prefix=/usr/local. Here is the logic in configure file: ac_default_prefix=/usr/local .. # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then ac_site_file1=$CONFIG_SITE elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.