fix SM_FIXEDSLCNUM_SLICE bug, add SM_AUTO_SLICE mode
modify configure files
Merge pull request #471 from ruil2/encoder_slice

fix SM_FIXEDSLCNUM_SLICE bug, add SM_AUTO_SLICE mode