@@ -5,27 +5,13 @@ PHP_ARG_WITH([mongodb-ssl],
5
5
[ auto] ,
6
6
[ no] )
7
7
8
- PHP_ARG_ENABLE([ mongodb-crypto-system-profile] ,
9
- [ whether to use system crypto profile] ,
10
- [ AC_HELP_STRING ([ --enable-mongodb-crypto-system-profile] ,
11
- [ MongoDB: Use system crypto profile (OpenSSL only) [ default=no] ] )] ,
12
- [ no] ,
13
- [ no] )
14
-
15
8
PHP_ARG_WITH([ openssl-dir] ,
16
9
[ deprecated option for OpenSSL library path] ,
17
10
[ AC_HELP_STRING ([ --with-openssl-dir=@<:@ auto/DIR@:>@ ] ,
18
11
[ MongoDB: OpenSSL library path (deprecated for pkg-config) [ default=auto] ] )] ,
19
12
[ auto] ,
20
13
[ no] )
21
14
22
- PHP_ARG_WITH([ system-ciphers] ,
23
- [ deprecated option for whether to use system crypto profile] ,
24
- AC_HELP_STRING ([ --enable-system-ciphers] ,
25
- [ MongoDB: whether to use system crypto profile (deprecated for --enable-mongodb-crypto-system-profile) [ default=no] ] ),
26
- [ no] ,
27
- [ no] )
28
-
29
15
AS_IF ( [ test "$PHP_MONGODB_SSL" = "openssl" -o "$PHP_MONGODB_SSL" = "auto"] ,[
30
16
found_openssl="no"
31
17
@@ -206,6 +192,20 @@ else
206
192
AC_SUBST ( MONGOC_HAVE_ASN1_STRING_GET0_DATA , 0 )
207
193
fi
208
194
195
+ PHP_ARG_ENABLE([ mongodb-crypto-system-profile] ,
196
+ [ whether to use system crypto profile] ,
197
+ [ AC_HELP_STRING ([ --enable-mongodb-crypto-system-profile] ,
198
+ [ MongoDB: Use system crypto profile (OpenSSL only) [ default=no] ] )] ,
199
+ [ no] ,
200
+ [ no] )
201
+
202
+ PHP_ARG_WITH([ system-ciphers] ,
203
+ [ deprecated option for whether to use system crypto profile] ,
204
+ AC_HELP_STRING ([ --enable-system-ciphers] ,
205
+ [ MongoDB: whether to use system crypto profile (deprecated for --enable-mongodb-crypto-system-profile) [ default=no] ] ),
206
+ [ no] ,
207
+ [ no] )
208
+
209
209
dnl Also consider the deprecated --enable-system-ciphers option
210
210
if test "$PHP_MONGODB_CRYPTO_SYSTEM_PROFILE" = "yes" -o "$PHP_SYSTEM_CIPHERS" = "yes"; then
211
211
if test "$PHP_MONGODB_SSL" = "openssl"; then
0 commit comments