#29561 [Opn->Csd]: config.m4 path fix
| From: | andrei@php.net | Date: | Sat, 07 Aug 2004 05:13:40 +0000 |
| Subject: | #29561 [Opn->Csd]: config.m4 path fix | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-693@lists.php.net to get a copy of this message | ||
ID: 29561
Updated by: andrei@php.net
Reported By: eric at php-oop dot net
-Status: Open
+Status: Closed
Bug Type: PHP-GTK related
Operating System: Linux
PHP Version: Irrelevant
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Will be in PHP-GTK 1.0.1 release.
Previous Comments:
------------------------------------------------------------------------
[2004-08-07 06:25:25] eric at php-oop dot net
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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29561&edit=1