File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,12 @@ AS_IF([test "x${found_snappy}" = xyes], [
25
25
AS_IF ( [ test "x${with_snappy}" = xauto -o "x${with_snappy}" = xbundled] , [
26
26
with_snappy=bundled
27
27
] , [
28
- # snappy not found, with-snappy=system
29
- AC_MSG_ERROR ( [ Cannot find system installed snappy. try --with-snappy=bundled] )
30
- ]
31
- ) ] )
28
+ AS_IF ( [ test "x${with_snappy}" = xno ] , [ ] , [
29
+ # snappy not found, with-snappy=system
30
+ AC_MSG_ERROR ( [ Cannot find system installed snappy. try --with-snappy=bundled] )
31
+ ] )
32
+ ] )
33
+ ] )
32
34
33
35
# If we are using the bundled snappy, recurse into its configure.
34
36
AS_IF ( [ test "x${with_snappy}" = xbundled] ,[
Original file line number Diff line number Diff line change @@ -29,10 +29,12 @@ AS_IF([test "x${found_zlib}" = "xyes"], [
29
29
AS_IF ( [ test "x${with_zlib}" = xauto -o "x${with_zlib}" = xbundled] , [
30
30
with_zlib=bundled
31
31
] , [
32
- # zlib not found, with-zlib=system
33
- AC_MSG_ERROR ( [ Cannot find system installed zlib. try --with-zlib=bundled] )
34
- ]
35
- ) ] )
32
+ AS_IF ( [ test "x${with_zlib}" = xno] , [ ] , [
33
+ # zlib not found, with-zlib=system
34
+ AC_MSG_ERROR ( [ Cannot find system installed zlib. try --with-zlib=bundled] )
35
+ ] )
36
+ ] )
37
+ ] )
36
38
37
39
38
40
# If we are using the bundled zlib, recurse into its configure.
You can’t perform that action at this time.
0 commit comments