Invitation to connect on LinkedIn

2011-02-23 Thread Lyre Li
LinkedIn I'd like to add you to my professional network on LinkedIn. - Lyre Lyre Li Engineer at Skybility China Confirm that you know Lyre Li https://www.linkedin.com/e/-7umkqx-gkj40zup-b/isd/2389916061/NqE8qxp4/ -- (c) 2011, LinkedIn Corpor

Re: Use pipe and sed in configure.ac

2011-02-10 Thread Lyre
Thanks to peter and Eric. Yes, the problem is the square backect. It should be \([[^ ]]*\). After I put it in set -vx/set +vx block, I notice the command exactly executed was: php-config --configure-options | sed -n 's|.*--with-config-file-scan-dir=\(^ *\).*|\1|p' both backet were missing.

Use pipe and sed in configure.ac

2011-02-10 Thread Lyre
I tried to exact an option from php-config using: php-config --configure-options | sed -n 's|.*--with-config-file-scan-dir=\([^ ]*\).*|\1|p' It works on shell, and outputs "/etc/php5/conf.d/" on opensuse. And I tired it in configure.ac, as following: PHPINC=`php-config --includes` PHPCDIR=`php-