X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=travis%2Fbrotli.sh;h=322a3c3d7d31cff9cc28c8c903ef15342f6b4369;hb=b44bd8e1efb2518380b95220818d8643c7cfd845;hp=1a9f6cd93670fcd08457f73bdae5907e60a1ed7a;hpb=e0fd24ca37f96c144242a5da6378b68ff3debbe9;p=m6w6%2Fext-http diff --git a/travis/brotli.sh b/travis/brotli.sh index 1a9f6cd..322a3c3 100755 --- a/travis/brotli.sh +++ b/travis/brotli.sh @@ -1,9 +1,11 @@ #!/bin/bash -git clone https://github.com/google/brotli.git -cd brotli -git checkout v1.0.2 -./bootstrap -./configure --prefix=/home/travis/brotli -make -j2 -make install +if test -n "$with_http_libbrotli_dir" && test "$with_http_libbrotli_dir" != "no"; then + git clone https://github.com/google/brotli.git /home/travis/brotli.git + cd /home/travis/brotli.git + git checkout v1.0.2 + ./bootstrap + ./configure --prefix=/home/travis/brotli + make -j2 + make install +fi