From:             cox at idecnet dot com
Operating system: RH 7.3
PHP version:      4.3.2
PHP Bug Type:     Unknown/Other Function
Bug description:  phpize wrong exit code

Description:
------------
phpize does not check for:
aclocal
autoconf
autoheader
libtoolize -f -c

and neither register the exit code of this tools. This is useful for
running phpize from automated tools like the "pear build" command.

Reproduce code:
---------------
[EMAIL PROTECTED] xdebug-1.2.0]$ phpize ; echo "exit code: $?"

Expected result:
----------------
[EMAIL PROTECTED] xdebug-1.2.0]$ phpize ; echo "exit code: $?"
/usr/bin/phpize: aclocal: command not found
Execution of 'aclocal' failed
exit code: 1


Actual result:
--------------
[EMAIL PROTECTED] xdebug-1.2.0]$ phpize ; echo "exit code: $?"
/usr/bin/phpize: aclocal: command not found
/usr/bin/phpize: autoconf: command not found
/usr/bin/phpize: autoheader: command not found
/usr/bin/phpize: libtoolize: command not found
Configuring for:
  PHP Api Version:   20020918
  Zend Module Api No:   20020429
  Zend Extension Api No:   20021010
exit code: 0


-- 
Edit bug report at http://bugs.php.net/?id=24207&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=24207&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=24207&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24207&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24207&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24207&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24207&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24207&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24207&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24207&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24207&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24207&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24207&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24207&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24207&r=gnused

Reply via email to