インストール済みPCREのconfigureオプションが知りたい
configureのオプション
いわゆる./configure
、make
、make install
の手順で既にビルドされたプログラムがあって、それの./configure
に指定したオプションを後から知りたいことがたまにある。例えばnginxならnginx -V
で確認可能だ。
$ nginx -V
nginx version: nginx/1.5.13
built by clang 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
TLS SNI support enabled
configure arguments: --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/lib/nginx/body --http-proxy-temp-path=/var/lib/nginx/proxy --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --with-debug --with-http_gzip_static_module --with-http_spdy_module --with-http_ssl_module --with-http_stub_status_module --with-cc-opt=-Wno-deprecated-declarations --with-pcre=../pcre-8.34 --with-pcre-jit --with-cc-opt='-W -g -Wno-deprecated-declarations -Wno-unused-parameter' --add-module=../ngx_devel_kit --add-module=../echo-nginx-module --add-module=../ngx_info --add-module=../ngx_small_light --add-module=../lua-nginx-module
PCREの場合
追記(2014/04/12)
PCREの作者から「pcretest -C
使えば同じようなことできるよ」と連絡が来たので、これからはそっちを使うことにする。
$ pcretest -C
PCRE version 8.34 2013-12-15
Compiled with
8-bit support
UTF-8 support
Unicode properties support
Just-in-time compiler support: x86 64bit (little endian + unaligned)
Newline sequence is LF
\R matches all Unicode newlines
Internal link size = 2
POSIX malloc threshold = 10
Parentheses nest limit = 250
Default match limit = 10000000
Default recursion depth limit = 10000000
Match recursion uses stack
$
Author And Source
この問題について(インストール済みPCREのconfigureオプションが知りたい), 我々は、より多くの情報をここで見つけました https://qiita.com/cubicdaiya/items/1dc451b907d0f254ff82著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .