diff options
Diffstat (limited to 'build_tools/make_buildopts_h')
-rwxr-xr-x | build_tools/make_buildopts_h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/build_tools/make_buildopts_h b/build_tools/make_buildopts_h index 8409f805f..5159688af 100755 --- a/build_tools/make_buildopts_h +++ b/build_tools/make_buildopts_h @@ -27,17 +27,7 @@ then TMP="${TMP} AST_DEVMODE" fi -case ${OSARCH} in # actually we should check build_os -*BSD|mingw|darwin*) - BUILDSUM=`echo ${TMP} | md5 | cut -c1-32` - ;; -SunOS) - BUILDSUM=`echo ${TMP} | digest -a md5 | cut -c1-32` - ;; -*) - BUILDSUM=`echo ${TMP} | md5sum | cut -c1-32` - ;; -esac +BUILDSUM=`echo ${TMP} | ${MD5} | cut -c1-32` echo "#define AST_BUILDOPT_SUM \"${BUILDSUM}\"" |