--- a/configure.ac.old 2012-08-29 01:08:43.401494114 +0100 +++ b/configure.ac 2012-08-29 01:14:18.310729106 +0100 @@ -110,10 +110,10 @@ must disable with --disable-versioning ] fi if test "$prefix" != "NONE" ; then if test "$WANTS_VERSIONING" -eq 1 ; then - DEFAULTPATH=$prefix/Modules/default - NODEFAULTPATH=$prefix/Modules/$VERSION + DEFAULTPATH=$prefix/share/Modules/default + NODEFAULTPATH=$prefix/share/Modules/$VERSION BASEPREFIX=$prefix - prefix=$BASEPREFIX/Modules/$VERSION + prefix=$BASEPREFIX/share/Modules/$VERSION export prefix else DEFAULTPATH=$prefix/Modules @@ -125,10 +125,10 @@ if test "$prefix" != "NONE" ; then PREFIX=$prefix else if test "$WANTS_VERSIONING" -eq 1 ; then - DEFAULTPATH=$ac_default_prefix/Modules/default - NODEFAULTPATH=$ac_default_prefix/Modules/$VERSION + DEFAULTPATH=$ac_default_prefix/share/Modules/default + NODEFAULTPATH=$ac_default_prefix/share/Modules/$VERSION BASEPREFIX=$ac_default_prefix - ac_default_prefix=$BASEPREFIX/Modules/$VERSION + ac_default_prefix=$BASEPREFIX/share/Modules/$VERSION export ac_default_prefix else DEFAULTPATH=$ac_default_prefix/Modules