File tree Expand file tree Collapse file tree 3 files changed +156
-53
lines changed Expand file tree Collapse file tree 3 files changed +156
-53
lines changed Original file line number Diff line number Diff line change @@ -10,18 +10,28 @@ set -o errexit # Exit the script with error if any of the commands fail
10
10
11
11
12
12
CONFIGURE_FLAGS=" -DENABLE_AUTOMATIC_INIT_AND_CLEANUP:BOOL=OFF"
13
- if [ " $SASL " = " no" ]; then
14
- CONFIGURE_FLAGS=" $CONFIGURE_FLAGS -DENABLE_SASL:BOOL=OFF"
15
- else
13
+ case " $SASL " in
14
+ no)
15
+ CONFIGURE_FLAGS=" $CONFIGURE_FLAGS -DENABLE_SASL:BOOL=OFF"
16
+ ;;
17
+ sasl)
16
18
case " $CC " in
17
19
* Win64)
18
- CONFIGURE_FLAGS=" $CONFIGURE_FLAGS "
20
+ CONFIGURE_FLAGS=" $CONFIGURE_FLAGS -DENABLE_SASL=CYRUS "
19
21
;;
20
22
* )
21
- CONFIGURE_FLAGS=" $CONFIGURE_FLAGS -DENABLE_SASL:BOOL=OFF"
23
+ CONFIGURE_FLAGS=" $CONFIGURE_FLAGS -DENABLE_SASL:BOOL=OFF"
22
24
;;
23
25
esac
24
- fi
26
+ ;;
27
+ sspi)
28
+ CONFIGURE_FLAGS=" $CONFIGURE_FLAGS -DENABLE_SASL=SSPI"
29
+ ;;
30
+ * )
31
+ CONFIGURE_FLAGS=" $CONFIGURE_FLAGS -DENABLE_SASL:BOOL=OFF"
32
+ ;;
33
+ esac
34
+
25
35
case " $SSL " in
26
36
openssl)
27
37
CONFIGURE_FLAGS=" $CONFIGURE_FLAGS -DENABLE_SSL=OPENSSL"
You can’t perform that action at this time.
0 commit comments