Merged revisions 89325 via svnmerge from
[asterisk/asterisk.git] / build_tools / make_buildopts_h
index 0be0117..fc7fdd2 100755 (executable)
@@ -19,4 +19,7 @@ done
 if ${GREP} AST_DEVMODE makeopts | ${GREP} -q yes
 then
        echo "#define AST_DEVMODE 1"
 if ${GREP} AST_DEVMODE makeopts | ${GREP} -q yes
 then
        echo "#define AST_DEVMODE 1"
+       TMP="${TMP} AST_DEVMODE"
 fi
 fi
+BUILDSUM=`echo ${TMP} | md5sum`
+echo "#define AST_BUILDOPT_SUM {0x${BUILDSUM:0:8}, 0x${BUILDSUM:8:8}, 0x${BUILDSUM:16:8}, 0x${BUILDSUM:24:8}}"