Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: openssl/util/domd

Issue 9254031: Upgrade chrome's OpenSSL to same version Android ships with. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/openssl/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « openssl/util/deltree.com ('k') | openssl/util/fipslink.pl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 # Do a makedepend, only leave out the standard headers 2 # Do a makedepend, only leave out the standard headers
3 # Written by Ben Laurie <ben@algroup.co.uk> 19 Jan 1999 3 # Written by Ben Laurie <ben@algroup.co.uk> 19 Jan 1999
4 4
5 TOP=$1 5 TOP=$1
6 shift 6 shift
7 if [ "$1" = "-MD" ]; then 7 if [ "$1" = "-MD" ]; then
8 shift 8 shift
9 MAKEDEPEND=$1 9 MAKEDEPEND=$1
10 shift 10 shift
11 fi 11 fi
12 if [ "$MAKEDEPEND" = "" ]; then MAKEDEPEND=makedepend; fi 12 if [ "$MAKEDEPEND" = "" ]; then MAKEDEPEND=makedepend; fi
13 13
14 cp Makefile Makefile.save 14 cp Makefile Makefile.save
15 # fake the presence of Kerberos 15 # fake the presence of Kerberos
16 touch $TOP/krb5.h 16 touch $TOP/krb5.h
17 if expr "$MAKEDEPEND" : '.*gcc$' > /dev/null; then 17 if expr "$MAKEDEPEND" : '.*gcc$' > /dev/null; then
18 args="" 18 args=""
19 while [ $# -gt 0 ]; do 19 while [ $# -gt 0 ]; do
20 if [ "$1" != "--" ]; then args="$args $1"; fi 20 if [ "$1" != "--" ]; then args="$args $1"; fi
21 shift 21 shift
22 done 22 done
23 sed -e '/^# DO NOT DELETE.*/,$d' < Makefile > Makefile.tmp 23 sed -e '/^# DO NOT DELETE.*/,$d' < Makefile > Makefile.tmp
24 echo '# DO NOT DELETE THIS LINE -- make depend depends on it.' >> Makefile.t mp 24 echo '# DO NOT DELETE THIS LINE -- make depend depends on it.' >> Makefile.t mp
25 ${CC:-gcc} -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp 25 ${MAKEDEPEND} -Werror -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp | | exit 1
26 ${PERL} $TOP/util/clean-depend.pl < Makefile.tmp > Makefile.new 26 ${PERL} $TOP/util/clean-depend.pl < Makefile.tmp > Makefile.new
27 RC=$?
27 rm -f Makefile.tmp 28 rm -f Makefile.tmp
28 else 29 else
29 ${MAKEDEPEND} -D OPENSSL_DOING_MAKEDEPEND $@ 30 ${MAKEDEPEND} -D OPENSSL_DOING_MAKEDEPEND $@ && \
30 ${PERL} $TOP/util/clean-depend.pl < Makefile > Makefile.new 31 ${PERL} $TOP/util/clean-depend.pl < Makefile > Makefile.new
32 RC=$?
31 fi 33 fi
32 mv Makefile.new Makefile 34 mv Makefile.new Makefile
33 # unfake the presence of Kerberos 35 # unfake the presence of Kerberos
34 rm $TOP/krb5.h 36 rm $TOP/krb5.h
37
38 exit $RC
OLDNEW
« no previous file with comments | « openssl/util/deltree.com ('k') | openssl/util/fipslink.pl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698