On Wed, May 18, 2011 at 7:45 PM, Rasmus Lerdorf <ras...@lerdorf.com> wrote:
> On 05/18/2011 10:37 AM, Ferenc Kovacs wrote: > > On Wed, May 18, 2011 at 7:27 PM, Rasmus Lerdorf <ras...@php.net> wrote: > > > >> rasmus Wed, 18 May 2011 17:27:41 +0000 > >> > >> Revision: http://svn.php.net/viewvc?view=revision&revision=311202 > >> > >> Log: > >> Fix autoconf version check script to make sure people are > >> not using 2.60 or higher here. It might actually work up to > >> 2.62 or 2.64. If someone could verify that these versions > >> still work I can massage this further. > >> > >> > > debian squeeze has 2.64 and 2.67, so it should be easy to test it. > > if nobody else are up for it, I can check this also. > > should be ./configure --disable-all --enable-cli && make && make test > enough > > to verify this? > > Yes, ./buildconf (with my check removed or modified to allow those > versions) and then try to run your configure line. 2.65-2.67 definitely > don't work, so no need to test those. > > -Rasmus > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > just noticed that I've tested this on trunk, when you patched the 5.3 branch. :/ to be able to run the buildconf with autoconf2.64 I had to change the build/buildcheck.sh and replace the 59 with 64 in the version check obviously. here is the result: tyrael@chronos:~/checkouts/php/src/php/php-src/branches/PHP_5_3$ PHP_AUTOCONF=autoconf2.64 PHP_AUTOHEADER=autoheader2.64 ./buildconf buildconf: checking installation... buildconf: autoconf version 2.64 (ok) rebuilding aclocal.m4 rebuilding configure ext/pdo_dblib/config.m4:56: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... aclocal.m4:2747: PHP_CHECK_PDO_INCLUDES is expanded from... ext/pdo_firebird/config.m4:48: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/pdo_mysql/config.m4:138: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/pdo_oci/config.m4:211: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/pdo_odbc/config.m4:44: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/pdo_pgsql/config.m4:107: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/pdo_sqlite/config.m4:16: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/sqlite/config.m4:50: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached rebuilding acconfig.h rebuilding main/php_config.h.in autoheader2.64: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader2.64: WARNING: and `config.h.top', to define templates for ` config.h.in' autoheader2.64: WARNING: is deprecated and discouraged. autoheader2.64: autoheader2.64: WARNING: Using the third argument of `AC_DEFINE' and autoheader2.64: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without autoheader2.64: WARNING: `acconfig.h': autoheader2.64: autoheader2.64: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader2.64: [Define if a function `main' is needed.]) autoheader2.64: autoheader2.64: WARNING: More sophisticated templates can also be produced, see the autoheader2.64: WARNING: documentation. ext/pdo_dblib/config.m4:56: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... aclocal.m4:2747: PHP_CHECK_PDO_INCLUDES is expanded from... ext/pdo_firebird/config.m4:48: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/pdo_mysql/config.m4:138: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/pdo_oci/config.m4:211: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/pdo_odbc/config.m4:44: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/pdo_pgsql/config.m4:107: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/pdo_sqlite/config.m4:16: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ext/sqlite/config.m4:50: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached I saw some discussion about this on irc, so I think that you are already aware of this. Tyrael