Add a DEBUG option to scons, use it for debugging info and stricter compiler warnings. For issue #96: add the -Wmissing-prototypes flag to cc in DEBUG mode.
Add a DEBUG option to scons, use it for debugging info and stricter
compiler warnings.
For issue #96: add the -Wmissing-prototypes flag to cc in DEBUG mode.

* SConstruct: Add DEBUG argument. Move option reading before setting the build
     parameters. Set -g and -Wmissing-prototypes only in DEBUG mode, -O2 only
     in !DEBUG mode.

justinweb/serf,Manouchehri/serf,idomon/serf,idomon/serf,liuzongquan/serf,Manouchehri/serf,krime/serf,idomon/serf,wzugang/serf,justinweb/serf,muthusuba/serf,TommyU/serf,justinweb/serf,krime/serf,blueszhangsh/serf,krime/serf,Manouchehri/serf,wzugang/serf,justinweb/serf,liuzongquan/serf,idomon/serf,TommyU/serf,blueszhangsh/serf,sworda/serf,muthusuba/serf,liuzongquan/serf,sworda/serf,sworda/serf,muthusuba/serf,wzugang/serf,TommyU/serf,blueszhangsh/serf,blueszhangsh/serf,liuzongquan/serf,Manouchehri/serf,muthusuba/serf,krime/serf,TommyU/serf,wzugang/serf,sworda/serf