10 test -e "$1" && return
11 echo "$prog: missing $1"
12 echo "$prog: run this script from the top of a gmqcc source tree"
21 # y/_ABCDEFGHIJKLMNOPQRSTUVWXYZ/-abcdefghijklmnopqrstuvwxyz/;
27 '/^#ifdef GMQCC_TYPE_'${opt_def_name}'$/,/^#endif/{
29 s/^.*GMQCC_DEFINE_FLAG(\([^,)]*\)[),].*$/\1/;p;
33 opt=$(echo "$i" | tr -- '_A-Z' '-a-z')
34 grep -qF -- ".It Fl "${arg_char}" Ns Cm $opt" \
35 doc/gmqcc.1 || echo "doc/gmqcc.1: missing: -${arg_char}$opt"
36 grep -q -- "[^a-zA-Z_]$i[^a-zA-Z_]" \
37 gmqcc.ini.example || echo "gmqcc.ini.example: missing: $i"
43 check_opt OPTIMIZATIONS O