[PHP-BUG] Req #60518 [NEW]: Support --program-transform-name

2011-12-13 Thread php-bugs-2011 at ryandesign dot com
From: 
Operating system: 
PHP version:  5.4.0RC3
Package:  *Compile Issues
Bug Type: Feature/Change Request
Bug description:Support --program-transform-name

Description:

PHP's configure script supports --program-prefix and --program-suffix... 
Would it be possible to also support --program-transform-name?

http://www.gnu.org/s/hello/manual/automake/Renaming.html

I want to be able to install and keep multiple PHP versions 
in the same prefix, and being able to do something like 
--program-transform-name=s/php/php54/ would be helpful.


-- 
Edit bug report at https://bugs.php.net/bug.php?id=60518&edit=1
-- 
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=60518&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=60518&r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=60518&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=60518&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60518&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=60518&r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=60518&r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=60518&r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=60518&r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=60518&r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=60518&r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=60518&r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=60518&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=60518&r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=60518&r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=60518&r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=60518&r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=60518&r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=60518&r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=60518&r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=60518&r=mysqlcfg



[PHP-BUG] Bug #71672 [NEW]: Function time_nanosleep() is undefined on OS X

2011-10-08 Thread php-bugs-2011 at ryandesign dot com
From: 
Operating system: OS X 10.6.8
PHP version:  5.3.8
Package:  *Compile Issues
Bug Type: Bug
Bug description:Function time_nanosleep() is undefined on OS X

Description:

Between PHP 5.3.3 and 5.3.4 the detection of the C nanosleep function
got broken on OS X, such that the time_nanosleep PHP function is no
longer available.

This problem was previously reported on Stack Overflow:

http://stackoverflow.com/questions/7503250

And to the MacPorts project:

https://trac.macports.org/ticket/31530

The fix for PHP bug 50345 seems to be the culprit. I fixed it in
MacPorts by reverting the change that resolved that bug (this is
what's in the attached patch), but this probably re-opens bug 50345.

PHP is looking for the nanosleep C function in the "rt" library, but 
there is no such library on Mac OS X, leading to this error in the
config.log:

ld: library not found for -lrt

Thus the test for existence of the nanosleep C function fails, and
therefore PHP gets built without the time_nanosleep PHP function.


Test script:
---
php -r 'echo (int)function_exists("time_nanosleep")."\n";'


Expected result:

1

Actual result:
--
0

-- 
Edit bug report at https://bugs.php.net/bug.php?id=71672&edit=1
-- 
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=71672&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=71672&r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=71672&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=71672&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=71672&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=71672&r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=71672&r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=71672&r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=71672&r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=71672&r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=71672&r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=71672&r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=71672&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=71672&r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=71672&r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=71672&r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=71672&r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=71672&r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=71672&r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=71672&r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=71672&r=mysqlcfg