|
16 | 16 | # when attempting to read from an fopen'ed directory. |
17 | 17 | # |
18 | 18 | # Define NO_OPENSSL environment variable if you do not have OpenSSL. |
19 | | -# This also implies MOZILLA_SHA1. |
| 19 | +# This also implies BLK_SHA1. |
20 | 20 | # |
21 | 21 | # Define NO_CURL if you do not have libcurl installed. git-http-pull and |
22 | 22 | # git-http-push are not built, and you cannot use http:// and https:// |
|
91 | 91 | # Define PPC_SHA1 environment variable when running make to make use of |
92 | 92 | # a bundled SHA1 routine optimized for PowerPC. |
93 | 93 | # |
94 | | -# Define ARM_SHA1 environment variable when running make to make use of |
95 | | -# a bundled SHA1 routine optimized for ARM. |
96 | | -# |
97 | | -# Define MOZILLA_SHA1 environment variable when running make to make use of |
98 | | -# a bundled SHA1 routine coming from Mozilla. It is GPL'd and should be fast |
99 | | -# on non-x86 architectures (e.g. PowerPC), while the OpenSSL version (default |
100 | | -# choice) has very fast version optimized for i586. |
101 | | -# |
102 | 94 | # Define NEEDS_SSL_WITH_CRYPTO if you need -lcrypto with -lssl (Darwin). |
103 | 95 | # |
104 | 96 | # Define NEEDS_LIBICONV if linking with libc is not enough (Darwin). |
@@ -925,10 +917,6 @@ else |
925 | 917 | NO_PTHREADS = YesPlease |
926 | 918 | endif |
927 | 919 | endif |
928 | | -ifneq (,$(findstring arm,$(uname_M))) |
929 | | - ARM_SHA1 = YesPlease |
930 | | - NO_MKSTEMPS = YesPlease |
931 | | -endif |
932 | 920 |
|
933 | 921 | -include config.mak.autogen |
934 | 922 | -include config.mak |
@@ -1021,7 +1009,7 @@ ifndef NO_OPENSSL |
1021 | 1009 | endif |
1022 | 1010 | else |
1023 | 1011 | BASIC_CFLAGS += -DNO_OPENSSL |
1024 | | - MOZILLA_SHA1 = 1 |
| 1012 | + BLK_SHA1 = 1 |
1025 | 1013 | OPENSSL_LIBSSL = |
1026 | 1014 | endif |
1027 | 1015 | ifdef NEEDS_SSL_WITH_CRYPTO |
@@ -1177,21 +1165,11 @@ else |
1177 | 1165 | ifdef PPC_SHA1 |
1178 | 1166 | SHA1_HEADER = "ppc/sha1.h" |
1179 | 1167 | LIB_OBJS += ppc/sha1.o ppc/sha1ppc.o |
1180 | | -else |
1181 | | -ifdef ARM_SHA1 |
1182 | | - SHA1_HEADER = "arm/sha1.h" |
1183 | | - LIB_OBJS += arm/sha1.o arm/sha1_arm.o |
1184 | | -else |
1185 | | -ifdef MOZILLA_SHA1 |
1186 | | - SHA1_HEADER = "mozilla-sha1/sha1.h" |
1187 | | - LIB_OBJS += mozilla-sha1/sha1.o |
1188 | 1168 | else |
1189 | 1169 | SHA1_HEADER = <openssl/sha.h> |
1190 | 1170 | EXTLIBS += $(LIB_4_CRYPTO) |
1191 | 1171 | endif |
1192 | 1172 | endif |
1193 | | -endif |
1194 | | -endif |
1195 | 1173 | ifdef NO_PERL_MAKEMAKER |
1196 | 1174 | export NO_PERL_MAKEMAKER |
1197 | 1175 | endif |
|
0 commit comments