summaryrefslogtreecommitdiff
path: root/build_tools/make_buildopts_h
diff options
context:
space:
mode:
authorSteve Murphy <murf@digium.com>2007-12-20 22:28:35 +0000
committerSteve Murphy <murf@digium.com>2007-12-20 22:28:35 +0000
commit2679575473a3fc44c8e25c34c6081b3ab0aeab4d (patch)
treeb42341ea85a9a688a4a9d5e17546bb7b80207fa8 /build_tools/make_buildopts_h
parent3de7bc9ae3adbf2aff6795019c193b4da6edcc97 (diff)
closes issue #11287; thanks to snuffy for this fix, which will surely make all solaris owners shout praises to his name.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'build_tools/make_buildopts_h')
-rwxr-xr-xbuild_tools/make_buildopts_h3
1 files changed, 3 insertions, 0 deletions
diff --git a/build_tools/make_buildopts_h b/build_tools/make_buildopts_h
index b98d875a0..ace404555 100755
--- a/build_tools/make_buildopts_h
+++ b/build_tools/make_buildopts_h
@@ -26,6 +26,9 @@ 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`
;;