|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-08-07 07:13 UTC] andrei@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 07:00:01 2025 UTC |
Description: ------------ When compiling PHP-GTK and using --with-php-config=/path/to/php-config the configure script fails to read the proper install prefix and could potentally cause problems later on with make. The line causing the problem is PHP_PREFIX=`php-config --prefix` I have included a cvs diff from the latest source in CVS that seems to cure the problem by changing php-config to $PHP_CONFIG. I havn't tested it myself, but after greping configure source the problem line was fixed. Index: config.m4 =================================================================== RCS file: /repository/php-gtk/config.m4,v retrieving revision 1.9 diff -u -r1.9 config.m4 --- config.m4 6 Dec 2003 20:47:10 -0000 1.9 +++ config.m4 7 Aug 2004 04:17:23 -0000 @@ -9,7 +9,7 @@ if test "$PHP_PHP_GTK" != "no"; then - PHP_PREFIX=`php-config --prefix` + PHP_PREFIX=`$PHP_CONFIG --prefix` AC_MSG_CHECKING(for PHP executable in $PHP_PREFIX/bin) if test -x $PHP_PREFIX/bin/php; then PHP_VERSION=`$PHP_CONFIG --version`