19fb158 use autosetup macro

Authored and Committed by Peng Wu 6 years ago
    use autosetup macro