mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +00:00
Merged revisions 157600 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r157600 | seanbright | 2008-11-18 19:27:45 -0500 (Tue, 18 Nov 2008) | 10 lines Fix a few build problems on Solaris (and check for an md5 utility in configure instead of the icky loop I was doing before). (closes issue #13842) Reported by: snuffy Patches: bug13842_20081106.diff uploaded by snuffy (license 35) 13842.diff uploaded by seanbright (license 71) Tested by: snuffy ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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}\""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user