[PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/configure.in trunk/configure.in

2010-04-13 Thread Antony Dovgal
tony2001 Tue, 13 Apr 2010 12:41:46 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=297961

Log:
simplify configure check for nanosleep()

Changed paths:
U   php/php-src/branches/PHP_5_3/configure.in
U   php/php-src/trunk/configure.in

Modified: php/php-src/branches/PHP_5_3/configure.in
===
--- php/php-src/branches/PHP_5_3/configure.in   2010-04-13 12:16:26 UTC (rev 
297960)
+++ php/php-src/branches/PHP_5_3/configure.in   2010-04-13 12:41:46 UTC (rev 
297961)
@@ -611,7 +611,7 @@
 )

 dnl Some systems (like OpenSolaris) do not have nanosleep in libc
-AC_CACHE_CHECK([for nanosleep], ac_cv_func_nanosleep, 
[PHP_CHECK_FUNC_LIB(nanosleep, rt)])
+PHP_CHECK_FUNC(nanosleep, rt)

 dnl Check for getaddrinfo, should be a better way, but...
 dnl Also check for working getaddrinfo

Modified: php/php-src/trunk/configure.in
===
--- php/php-src/trunk/configure.in  2010-04-13 12:16:26 UTC (rev 297960)
+++ php/php-src/trunk/configure.in  2010-04-13 12:41:46 UTC (rev 297961)
@@ -611,7 +611,7 @@
 )

 dnl Some systems (like OpenSolaris) do not have nanosleep in libc
-AC_CACHE_CHECK([for nanosleep], ac_cv_func_nanosleep, 
[PHP_CHECK_FUNC_LIB(nanosleep, rt)])
+PHP_CHECK_FUNC(nanosleep, rt)

 dnl Check for getaddrinfo, should be a better way, but...
 dnl Also check for working getaddrinfo

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/configure.in trunk/configure.in

2010-01-12 Thread David Soria Parra
dsp  Tue, 12 Jan 2010 09:28:02 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=293442

Log:
Revert commit 29. It's not needed anymore to specify c99.

Changed paths:
U   php/php-src/branches/PHP_5_3/configure.in
U   php/php-src/trunk/configure.in

Modified: php/php-src/branches/PHP_5_3/configure.in
===
--- php/php-src/branches/PHP_5_3/configure.in   2010-01-12 08:38:13 UTC (rev 
293441)
+++ php/php-src/branches/PHP_5_3/configure.in   2010-01-12 09:28:02 UTC (rev 
293442)
@@ -202,14 +202,9 @@
 ;;
   sparc*)
 if test $SUNCC = yes; then
-  CFLAGS=$CFLAGS -xc99=all -xmemalign=8s
+  CFLAGS=$CFLAGS -xmemalign=8s
 fi
 ;;
-  i386)
-if test $SUNCC = yes; then
-  CFLAGS=$CFLAGS -xc99=all
-fi
-;;
 esac

 dnl activate some gcc specific optimizations for gcc = 4

Modified: php/php-src/trunk/configure.in
===
--- php/php-src/trunk/configure.in  2010-01-12 08:38:13 UTC (rev 293441)
+++ php/php-src/trunk/configure.in  2010-01-12 09:28:02 UTC (rev 293442)
@@ -204,13 +204,9 @@
 ;;
   sparc*)
 if test $SUNCC = yes; then
-  CFLAGS=$CFLAGS -xc99=all -xmemalign=8s
+  CFLAGS=$CFLAGS -xmemalign=8s
 fi
 ;;
-  i386)
-if test $SUNCC = yes; then
-  CFLAGS=$CFLAGS -xc99=all
-fi
 esac

 dnl activate some gcc specific optimizations for gcc = 4

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/configure.in trunk/configure.in

2009-09-24 Thread Antony Dovgal
tony2001 Thu, 24 Sep 2009 10:43:13 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=288649

Log:
save LDFLAGS in EXTRA_LDFLAGS before unsetting
this patch makes sure that LDFLAGS are taken into account when
configuring the build

Changed paths:
U   php/php-src/branches/PHP_5_3/configure.in
U   php/php-src/trunk/configure.in

Modified: php/php-src/branches/PHP_5_3/configure.in
===
--- php/php-src/branches/PHP_5_3/configure.in   2009-09-24 10:29:22 UTC (rev 
288648)
+++ php/php-src/branches/PHP_5_3/configure.in   2009-09-24 10:43:13 UTC (rev 
288649)
@@ -994,6 +994,7 @@
 esac

 EXTRA_LIBS=$EXTRA_LIBS $DLIBS $LIBS
+EXTRA_LDFLAGS=$EXTRA_LDFLAGS $LDFLAGS

 dnl this has to be here to prevent the openssl crypt() from
 dnl overriding the system provided crypt().

Modified: php/php-src/trunk/configure.in
===
--- php/php-src/trunk/configure.in  2009-09-24 10:29:22 UTC (rev 288648)
+++ php/php-src/trunk/configure.in  2009-09-24 10:43:13 UTC (rev 288649)
@@ -983,6 +983,7 @@
 esac

 EXTRA_LIBS=$EXTRA_LIBS $DLIBS $LIBS
+EXTRA_LDFLAGS=$EXTRA_LDFLAGS $LDFLAGS

 dnl this has to be here to prevent the openssl crypt() from
 dnl overriding the system provided crypt().

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/configure.in trunk/configure.in

2009-09-24 Thread Antony Dovgal
Ilia, let me know if you want this merged into 5_2.
Jani thinks it should be ok, but I prefer to hear from you first.

On 24.09.2009 14:43, Antony Dovgal wrote:
 tony2001 Thu, 24 Sep 2009 10:43:13 +
 
 Revision: http://svn.php.net/viewvc?view=revisionrevision=288649
 
 Log:
 save LDFLAGS in EXTRA_LDFLAGS before unsetting
 this patch makes sure that LDFLAGS are taken into account when
 configuring the build
 
 Changed paths:
 U   php/php-src/branches/PHP_5_3/configure.in
 U   php/php-src/trunk/configure.in
 
 Modified: php/php-src/branches/PHP_5_3/configure.in
 ===
 --- php/php-src/branches/PHP_5_3/configure.in 2009-09-24 10:29:22 UTC (rev 
 288648)
 +++ php/php-src/branches/PHP_5_3/configure.in 2009-09-24 10:43:13 UTC (rev 
 288649)
 @@ -994,6 +994,7 @@
  esac
 
  EXTRA_LIBS=$EXTRA_LIBS $DLIBS $LIBS
 +EXTRA_LDFLAGS=$EXTRA_LDFLAGS $LDFLAGS
 
  dnl this has to be here to prevent the openssl crypt() from
  dnl overriding the system provided crypt().
 
 Modified: php/php-src/trunk/configure.in
 ===
 --- php/php-src/trunk/configure.in2009-09-24 10:29:22 UTC (rev 288648)
 +++ php/php-src/trunk/configure.in2009-09-24 10:43:13 UTC (rev 288649)
 @@ -983,6 +983,7 @@
  esac
 
  EXTRA_LIBS=$EXTRA_LIBS $DLIBS $LIBS
 +EXTRA_LDFLAGS=$EXTRA_LDFLAGS $LDFLAGS
 
  dnl this has to be here to prevent the openssl crypt() from
  dnl overriding the system provided crypt().
 
 


-- 
Wbr, 
Antony Dovgal
---
http://pinba.org - realtime statistics for PHP

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/configure.in trunk/configure.in

2009-09-24 Thread Ilia Alshanetsky

Go ahead, looks like a good fix.

On 2009-09-24, at 6:50 AM, Antony Dovgal wrote:


Ilia, let me know if you want this merged into 5_2.
Jani thinks it should be ok, but I prefer to hear from you first.

On 24.09.2009 14:43, Antony Dovgal wrote:
tony2001 Thu, 24 Sep 2009 10:43:13  
+


Revision: http://svn.php.net/viewvc?view=revisionrevision=288649

Log:
save LDFLAGS in EXTRA_LDFLAGS before unsetting
this patch makes sure that LDFLAGS are taken into account when
configuring the build

Changed paths:
   U   php/php-src/branches/PHP_5_3/configure.in
   U   php/php-src/trunk/configure.in

Modified: php/php-src/branches/PHP_5_3/configure.in
===
--- php/php-src/branches/PHP_5_3/configure.in	2009-09-24 10:29:22  
UTC (rev 288648)
+++ php/php-src/branches/PHP_5_3/configure.in	2009-09-24 10:43:13  
UTC (rev 288649)

@@ -994,6 +994,7 @@
esac

EXTRA_LIBS=$EXTRA_LIBS $DLIBS $LIBS
+EXTRA_LDFLAGS=$EXTRA_LDFLAGS $LDFLAGS

dnl this has to be here to prevent the openssl crypt() from
dnl overriding the system provided crypt().

Modified: php/php-src/trunk/configure.in
===
--- php/php-src/trunk/configure.in	2009-09-24 10:29:22 UTC (rev  
288648)
+++ php/php-src/trunk/configure.in	2009-09-24 10:43:13 UTC (rev  
288649)

@@ -983,6 +983,7 @@
esac

EXTRA_LIBS=$EXTRA_LIBS $DLIBS $LIBS
+EXTRA_LDFLAGS=$EXTRA_LDFLAGS $LDFLAGS

dnl this has to be here to prevent the openssl crypt() from
dnl overriding the system provided crypt().





--
Wbr,
Antony Dovgal
---
http://pinba.org - realtime statistics for PHP

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/configure.in trunk/configure.in

2009-09-01 Thread Antony Dovgal
tony2001 Tue, 01 Sep 2009 15:13:02 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=287945

Log:
add -g along with -O0

Changed paths:
U   php/php-src/branches/PHP_5_3/configure.in
U   php/php-src/trunk/configure.in

Modified: php/php-src/branches/PHP_5_3/configure.in
===
--- php/php-src/branches/PHP_5_3/configure.in   2009-09-01 14:44:08 UTC (rev 
287944)
+++ php/php-src/branches/PHP_5_3/configure.in   2009-09-01 15:13:02 UTC (rev 
287945)
@@ -779,8 +779,8 @@
   changequote([,])
   dnl add -O0 only if GCC or ICC is used
   if test $GCC = yes || test $ICC = yes; then
-CFLAGS=$CFLAGS -O0
-CXXFLAGS=$CXXFLAGS -O0
+CFLAGS=$CFLAGS -g -O0
+CXXFLAGS=$CXXFLAGS -g -O0
   fi
   if test $SUNCC = yes; then
 if test -n $auto_cflags; then

Modified: php/php-src/trunk/configure.in
===
--- php/php-src/trunk/configure.in  2009-09-01 14:44:08 UTC (rev 287944)
+++ php/php-src/trunk/configure.in  2009-09-01 15:13:02 UTC (rev 287945)
@@ -779,8 +779,8 @@
   changequote([,])
   dnl add -O0 only if GCC or ICC is used
   if test $GCC = yes || test $ICC = yes; then
-CFLAGS=$CFLAGS -O0
-CXXFLAGS=$CXXFLAGS -O0
+CFLAGS=$CFLAGS -g -O0
+CXXFLAGS=$CXXFLAGS -g -O0
   fi
   if test $SUNCC = yes; then
 if test -n $auto_cflags; then

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/configure.in trunk/configure.in

2009-08-06 Thread Jani Taskinen

On 08/05/2009 11:01 PM, Scott MacVicar wrote:

scottmac Wed, 05 Aug 2009 20:01:33 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=286852

Log:
res_search is already checked within ext/standard/config.m4
also check for arpa/nameser_compat.h, OSX puts some old defines in there (not 
used yet)


These are cached, it doesn't matter if res_search is there. Now this 
file differs even more with other branches..


--Jani


Changed paths:
 U   php/php-src/branches/PHP_5_3/configure.in
 U   php/php-src/trunk/configure.in

Modified: php/php-src/branches/PHP_5_3/configure.in
===
--- php/php-src/branches/PHP_5_3/configure.in   2009-08-05 19:45:13 UTC (rev 
286851)
+++ php/php-src/branches/PHP_5_3/configure.in   2009-08-05 20:01:33 UTC (rev 
286852)
@@ -424,6 +424,7 @@
  alloca.h \
  arpa/inet.h \
  arpa/nameser.h \
+arpa/nameser_compat.h \
  assert.h \
  crypt.h \
  fcntl.h \
@@ -599,7 +600,6 @@
  realpath \
  random \
  rand_r \
-res_search \
  scandir \
  setitimer \
  setlocale \

Modified: php/php-src/trunk/configure.in
===
--- php/php-src/trunk/configure.in  2009-08-05 19:45:13 UTC (rev 286851)
+++ php/php-src/trunk/configure.in  2009-08-05 20:01:33 UTC (rev 286852)
@@ -424,6 +424,7 @@
  alloca.h \
  arpa/inet.h \
  arpa/nameser.h \
+arpa/nameser_compat.h \
  assert.h \
  crypt.h \
  fcntl.h \
@@ -599,7 +600,6 @@
  realpath \
  random \
  rand_r \
-res_search \
  scandir \
  setitimer \
  setlocale \





--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/configure.in trunk/configure.in

2009-08-05 Thread Scott MacVicar
scottmac Wed, 05 Aug 2009 20:01:33 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=286852

Log:
res_search is already checked within ext/standard/config.m4
also check for arpa/nameser_compat.h, OSX puts some old defines in there (not 
used yet)

Changed paths:
U   php/php-src/branches/PHP_5_3/configure.in
U   php/php-src/trunk/configure.in

Modified: php/php-src/branches/PHP_5_3/configure.in
===
--- php/php-src/branches/PHP_5_3/configure.in   2009-08-05 19:45:13 UTC (rev 
286851)
+++ php/php-src/branches/PHP_5_3/configure.in   2009-08-05 20:01:33 UTC (rev 
286852)
@@ -424,6 +424,7 @@
 alloca.h \
 arpa/inet.h \
 arpa/nameser.h \
+arpa/nameser_compat.h \
 assert.h \
 crypt.h \
 fcntl.h \
@@ -599,7 +600,6 @@
 realpath \
 random \
 rand_r \
-res_search \
 scandir \
 setitimer \
 setlocale \

Modified: php/php-src/trunk/configure.in
===
--- php/php-src/trunk/configure.in  2009-08-05 19:45:13 UTC (rev 286851)
+++ php/php-src/trunk/configure.in  2009-08-05 20:01:33 UTC (rev 286852)
@@ -424,6 +424,7 @@
 alloca.h \
 arpa/inet.h \
 arpa/nameser.h \
+arpa/nameser_compat.h \
 assert.h \
 crypt.h \
 fcntl.h \
@@ -599,7 +600,6 @@
 realpath \
 random \
 rand_r \
-res_search \
 scandir \
 setitimer \
 setlocale \

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php