fix that predefined CFLAGS etc. are ignored default tip

add detection for invalid option values - fixes #518

(0) -100 -30 -10 -2 tip

mercurial