• Michal Privoznik's avatar
    m4: Check for php modules more wisely · 7fda3ec6
    Michal Privoznik authored
    I've got two version of PHP installed on my system, however one
    of them has imagick the other one doesn't. During configure I've
    noticed that wrong assumption has been made. Configure script
    wrongly assumed the plugin missing. This is because for detecting
    php plugins we use plain 'php -m | grep $module'. On my system,
    php is a symlink and it defaults to the version without the
    plugin. However, I am explicitly supplying 'php-config' from the
    version that has the plugin installed:
      ./configure --with-php-config=/usr/lib64/php5.6/bin/php-config
    The trick is to query provided php-config for path to php binary.
    Signed-off-by: 's avatarMichal Privoznik <mprivozn@redhat.com>
Last commit
Last update
virt-php-confdir.m4 Loading commit data...
virt-php-extension.m4 Loading commit data...
virt-php-extensiondir.m4 Loading commit data...