--- smage/trunk/include/mcore.sminc 2010/01/04 15:07:57 57 +++ smage/trunk/include/mcore.sminc 2011/11/09 12:47:46 1911 @@ -4,6 +4,8 @@ # some global includes sminclude cleanutils mtools +INHERITS="${INHERITS} mcore" + # injects files to given path (defaults to /usr/bin) # mcinjectfile file {/path/to/dest} mcinjectfile() @@ -125,7 +127,12 @@ done < ${configurefile} fi - mc_oldmconfigure --disable-nls ${myconf} $@ ${MCORE_CONFIGURE_OPTS} || die + case "${MCORE_NO_DISABLE_NLS}" in + 1|true|TRUE|yes|YES) ;; + *) myconf="${myconf} --disable-nls" ;; + esac + + mc_oldmconfigure ${myconf} $@ ${MCORE_CONFIGURE_OPTS} || die } # get custom mcore functions