warning in ./configure generated by phpize
| From: | KaiGai Kohei | Date: | Thu, 05 Mar 2009 01:27:33 +0000 |
| Subject: | warning in ./configure generated by phpize | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-6194@lists.php.net to get a copy of this message | ||
When I run ./configure script generated by phpize, it shows us a warning.
[kaigai@saba selinux]$ phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
[kaigai@saba selinux]$ ./configure --enable-selinux
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
:
checking for PHP installed headers prefix... /usr/include/php
checking for re2c... no
configure: WARNING: You will need re2c 0.12.0 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
:
configure: creating ./config.status
config.status: creating config.h
[kaigai@saba selinux]$
It notices "re2c" could not found, but unnecessary as far as the module
does not want to regenerate PHP parsers.
The selinux module does not need to touch PHP parsers.
Is it possible to consider it is a ignorable warning?
Thanks,
---- config.m4 ------------
PHP_ARG_ENABLE(selinux,whether to enable libselinux binding support,
[ --enable-selinux Enable SELinux support])
if test "$PHP_SELINUX" != "no"; then
PHP_NEW_EXTENSION(selinux, selinux.c, $ext_shared)
AC_CHECK_LIB(selinux, is_selinux_enabled,
AC_DEFINE(HAVE_SELINUX,1, [Enable PHP/SELinux binding])
PHP_ADD_LIBRARY_WITH_PATH(selinux),
AC_MSG_ERROR("libselinux is not available hoge"))
fi
---------------------------
Thanks,
--
OSS Platform Development Division, NEC
KaiGai Kohei <kaigai@ak.jp.nec.com>