new aclocal macro with controles all the enable-debug/optimization/warning in a unified manner and still keeps packages independent of each other.
Note that Ralf suggested specifying optimizations in CFLAGS directly, due to the load of activateable warnings, i saw it rather fit to make such a configure option.