在配置文件中使用 /opt/v8,而不是 /usr

use /opt/v8, instead of /usr in configure file

我遵循这个指南:https://github.com/phpv8/v8js/blob/master/README.Linux.md

我有一个问题:

If you don't want to overwrite the system copy of v8, replace /usr in the above commands with some other path like /opt/v8 and then add --with-v8js=/opt/v8 to the php-v8js ./configure command below.

我应该把 --with-v8js=/opt/v8 放在配置文件的什么地方?

这是配置文件:http://expirebox.com/download/85d34ccf80cc75afc5fb41b3ae0ceec2.html

and then add --with-v8js=/opt/v8 to the php-v8js ./configure command

cd /tmp
git clone https://github.com/phpv8/v8js.git
cd v8js
phpize
./configure --with-v8js=/opt/v8 <---this is where you add it
make
make test
sudo make install