0
我想避免使用fileinfo,ereg和parch编译php。 --disable和--without和configure之间有什么区别?使用./configure(php)--disable- [name]和--without- [name]之间有什么区别?
我想避免使用fileinfo,ereg和parch编译php。 --disable和--without和configure之间有什么区别?使用./configure(php)--disable- [name]和--without- [name]之间有什么区别?
根据the manual of Autoconf,并且更具体地,下列两个部分:如果一个包需要,或可以任选使用
--with
,应使用其他已安装的软件。
而--enable
应该使用,如果一个软件包提供某些功能,而不依赖于任何其他外部软件。
基本上,我想这意味着--with
应该用于依赖于另一个外部库的扩展;在其他情况下应使用--enable
。
之后,我会说--disable
和--without
只是这两者的负面形式。