#29561 [NEW]: config.m4 path fix
| From: | eric at php-oop dot net | Date: | Sat, 07 Aug 2004 04:25:27 +0000 |
| Subject: | #29561 [NEW]: config.m4 path fix | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-692@lists.php.net to get a copy of this message | ||
From: eric at php-oop dot net
Operating system: Linux
PHP version: Irrelevant
PHP Bug Type: PHP-GTK related
Bug description: config.m4 path fix
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 bug report at http://bugs.php.net/?id=29561&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29561&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29561&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29561&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29561&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29561&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29561&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29561&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29561&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29561&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29561&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29561&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29561&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29561&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29561&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29561&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29561&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29561&r=float