Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/248.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用./configure(php)时--disable-[name]和--without-[name]有什么区别?_Php_Autoconf_Configure - Fatal编程技术网

使用./configure(php)时--disable-[name]和--without-[name]有什么区别?

使用./configure(php)时--disable-[name]和--without-[name]有什么区别?,php,autoconf,configure,Php,Autoconf,Configure,我希望避免使用fileinfo、ereg和parch编译php。使用配置时--disable和--withconfigure之间有什么区别?根据以下两个部分,更具体地说: 及 ——如果软件包需要或可以选择使用已安装的其他软件,则应使用with 如果软件包提供某些功能,而不依赖于任何其他外部软件,则应使用--enable 基本上,我认为这意味着--with应该用于依赖于另一个外部库的扩展;而--enable应该在其他情况下使用 在那之后,我想说,--禁用和--不使用只是这两种形式的否定形式

我希望避免使用fileinfo、ereg和parch编译php。使用配置时--disable和--withconfigure之间有什么区别?

根据以下两个部分,更具体地说:

——如果软件包需要或可以选择使用已安装的其他软件,则应使用with

如果软件包提供某些功能,而不依赖于任何其他外部软件,则应使用
--enable

基本上,我认为这意味着
--with
应该用于依赖于另一个外部库的扩展;而
--enable
应该在其他情况下使用

在那之后,我想说,
--禁用
--不使用
只是这两种形式的否定形式