X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=travis%2Fbrotli.sh;fp=travis%2Fbrotli.sh;h=322a3c3d7d31cff9cc28c8c903ef15342f6b4369;hp=4fec33ea4fd7999c3e65fad55138ecba60070c89;hb=b44bd8e1efb2518380b95220818d8643c7cfd845;hpb=a216cc2910ae493e82a01a8f552c9586839f69fa diff --git a/travis/brotli.sh b/travis/brotli.sh index 4fec33e..322a3c3 100755 --- a/travis/brotli.sh +++ b/travis/brotli.sh @@ -1,9 +1,11 @@ #!/bin/bash -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 +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