Created
February 10, 2018 19:39
-
-
Save TysonAndre/b7be05ab3e10f668b49afdde4a83764e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# invoke this inside a downloaded php 7.1.14/7.1.x directory(https://secure.php.net/downloads.php#v7.1.14) | |
# Build tidy according to the instructions in https://github.com/htacg/tidy-html5/blob/next/README/BUILD.md with an installation directory of $HOME/tidy-5.6.0-install | |
# You may have to install some dependencies such as pcre. `--disable-all` minimizes the number of dependencies | |
TS=""; | |
#TS="--enable-maintainer-zts"; | |
DEBUG=""; | |
#DEBUG="--enable-debug --without-pcre-valgrind"; | |
#./buildconf --force | |
./configure \ | |
--prefix=/$HOME/php-7.1.14-tidy-nts-install \ | |
--disable-all \ | |
--with-tidy=$HOME/tidy-5.6.0-install | |
make -j9 | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment