我的 Bash 似乎没有使用--enable-net-redirectionsoption编译。
现在我想知道:有没有办法让 Bash 列出其启用/禁用的编译时选项?
(bash --extra-verbose-version可能是什么?我找不到任何东西。我尝试了Bash 手册、Google,甚至strings bash在启用和未启用的版本上。)
我找到了这个cygwin:
1) 您可以下载适合您版本的源代码bash(例如bash-4.4.11.2)。
2)解压并打开文件bash.cygport:
$ tar -xJf bash-4.4.11-2-src.tar.xz
$ cd bash-4.4.11-2.src/
$ less bash.cygport
Run Code Online (Sandbox Code Playgroud)
3) 查找以CYGCONF_ARGS=(配置 bash 端口选项cygwin)开头的字符串:
CYGCONF_ARGS="
--without-libintl-prefix --without-libiconv-prefix
--with-installed-readline
bash_cv_dev_stdin=present
bash_cv_dev_fd=standard
bash_cv_termcap_lib=libncurses
"
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
152 次 |
| 最近记录: |