Add --enable-strict to configure.



Output effects

Adds --enable-strict to the command line. If this is enabled, then if no compiler has been set, set CC to gcc. If the compiler is gcc, COPTIONS is set to include
     -O -Wall -Wstrict-prototypes -Wmissing-prototypes -DGCC_WALL

If the value all is given to --enable-strict, additional warning options are included. These are

 -Wunused -Wshadow -Wmissing-declarations -Wno-long-long -Wpointer-arith

This only works where gcc is available. In addition, it exports the variable enable_strict_done. This ensures that subsidiary configures do not add the above flags to COPTIONS once the top level configure sees --enable-strict. To ensure this, COPTIONS is also exported.

Not yet available: options when using other compilers. However, here are some possible choices Solaris cc -fd -v -Xc IRIX -ansi -DEBUG:trap_uninitialized=ON:varargs_interface_check=ON:verbose_runtime=ON