kalle                                    Mon, 08 Mar 2010 15:51:08 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=295968

Log:
Rename the HAVE_LIBICONV_IN_LIBICONV macro to ICONV_ALIASED_LIBICONV, making it 
less cryptic

Changed paths:
    U   php/php-src/branches/PHP_5_2/acinclude.m4
    U   php/php-src/branches/PHP_5_2/ext/iconv/config.w32
    U   php/php-src/branches/PHP_5_2/ext/iconv/iconv.c
    U   php/php-src/branches/PHP_5_2/ext/iconv/php_iconv.h
    U   php/php-src/branches/PHP_5_3/acinclude.m4
    U   php/php-src/branches/PHP_5_3/ext/iconv/config.w32
    U   php/php-src/branches/PHP_5_3/ext/iconv/iconv.c
    U   php/php-src/branches/PHP_5_3/ext/iconv/php_iconv.h
    U   php/php-src/trunk/acinclude.m4
    U   php/php-src/trunk/ext/iconv/config.w32
    U   php/php-src/trunk/ext/iconv/iconv.c
    U   php/php-src/trunk/ext/iconv/php_iconv.h

Modified: php/php-src/branches/PHP_5_2/acinclude.m4
===================================================================
--- php/php-src/branches/PHP_5_2/acinclude.m4	2010-03-08 15:42:26 UTC (rev 295967)
+++ php/php-src/branches/PHP_5_2/acinclude.m4	2010-03-08 15:51:08 UTC (rev 295968)
@@ -2424,7 +2424,7 @@
   echo > ext/iconv/php_have_libiconv.h
   echo > ext/iconv/php_have_iconv.h
   echo > ext/iconv/php_php_iconv_impl.h
-  echo > ext/iconv/php_have_libiconv_in_libiconv.h
+  echo > ext/iconv/php_iconv_aliased_libiconv.h
   echo > ext/iconv/php_php_iconv_h_path.h
   echo > ext/iconv/php_iconv_supports_errno.h

@@ -2472,8 +2472,8 @@
         found_iconv=yes
         PHP_DEFINE(HAVE_LIBICONV,1,[ext/iconv])
         AC_DEFINE(HAVE_LIBICONV,1,[ ])
-        PHP_DEFINE([HAVE_LIBICONV_IN_LIBICONV],1,[ext/iconv])
-        AC_DEFINE([HAVE_LIBICONV_IN_LIBICONV],1,[iconv() is aliased to libiconv() in -liconv])
+        PHP_DEFINE([ICONV_ALIASED_LIBICONV],1,[ext/iconv])
+        AC_DEFINE([ICONV_ALIASED_LIBICONV],1,[iconv() is aliased to libiconv() in -liconv])
       ], [
         PHP_CHECK_LIBRARY($iconv_lib_name, iconv, [
           found_iconv=yes

Modified: php/php-src/branches/PHP_5_2/ext/iconv/config.w32
===================================================================
--- php/php-src/branches/PHP_5_2/ext/iconv/config.w32	2010-03-08 15:42:26 UTC (rev 295967)
+++ php/php-src/branches/PHP_5_2/ext/iconv/config.w32	2010-03-08 15:51:08 UTC (rev 295968)
@@ -10,7 +10,7 @@

 		AC_DEFINE("HAVE_ICONV", 1, "Define if iconv extension is enabled");
 		AC_DEFINE("HAVE_LIBICONV", 1, "Define if libiconv is available");
-		AC_DEFINE("HAVE_LIBICONV_IN_LIBICONV", 1, "The iconv function is called iconv() in libiconv");
+		AC_DEFINE("ICONV_ALIASED_LIBICONV", 1, "The iconv function is called iconv() in libiconv");
 		AC_DEFINE("PHP_ICONV_IMPL", "\"libiconv\"", "Which iconv implementation to use");
 		AC_DEFINE("ICONV_SUPPORTS_ERRNO", 1, "Whether iconv supports errno or not");
 		ADD_FLAG("CFLAGS_ICONV", "/D PHP_ICONV_EXPORTS ");

Modified: php/php-src/branches/PHP_5_2/ext/iconv/iconv.c
===================================================================
--- php/php-src/branches/PHP_5_2/ext/iconv/iconv.c	2010-03-08 15:42:26 UTC (rev 295967)
+++ php/php-src/branches/PHP_5_2/ext/iconv/iconv.c	2010-03-08 15:51:08 UTC (rev 295968)
@@ -193,7 +193,7 @@
 }
 /* }}} */

-#if defined(HAVE_LIBICONV) && defined(HAVE_LIBICONV_IN_LIBICONV)
+#if defined(HAVE_LIBICONV) && defined(ICONV_ALIASED_LIBICONV)
 #define iconv libiconv
 #endif


Modified: php/php-src/branches/PHP_5_2/ext/iconv/php_iconv.h
===================================================================
--- php/php-src/branches/PHP_5_2/ext/iconv/php_iconv.h	2010-03-08 15:42:26 UTC (rev 295967)
+++ php/php-src/branches/PHP_5_2/ext/iconv/php_iconv.h	2010-03-08 15:51:08 UTC (rev 295968)
@@ -35,7 +35,7 @@
 #ifdef PHP_ATOM_INC
 #include "ext/iconv/php_have_iconv.h"
 #include "ext/iconv/php_have_libiconv.h"
-#include "ext/iconv/php_have_libiconv_in_libiconv.h"
+#include "ext/iconv/php_iconv_aliased_libiconv.h"
 #include "ext/iconv/php_have_glibc_iconv.h"
 #include "ext/iconv/php_have_bsd_iconv.h"
 #include "ext/iconv/php_iconv_supports_errno.h"

Modified: php/php-src/branches/PHP_5_3/acinclude.m4
===================================================================
--- php/php-src/branches/PHP_5_3/acinclude.m4	2010-03-08 15:42:26 UTC (rev 295967)
+++ php/php-src/branches/PHP_5_3/acinclude.m4	2010-03-08 15:51:08 UTC (rev 295968)
@@ -2424,7 +2424,7 @@
   echo > ext/iconv/php_have_libiconv.h
   echo > ext/iconv/php_have_iconv.h
   echo > ext/iconv/php_php_iconv_impl.h
-  echo > ext/iconv/php_have_libiconv_in_libiconv.h
+  echo > ext/iconv/php_iconv_aliased_libiconv.h
   echo > ext/iconv/php_php_iconv_h_path.h
   echo > ext/iconv/php_iconv_supports_errno.h

@@ -2472,8 +2472,8 @@
         found_iconv=yes
         PHP_DEFINE(HAVE_LIBICONV,1,[ext/iconv])
         AC_DEFINE(HAVE_LIBICONV,1,[ ])
-        PHP_DEFINE([HAVE_LIBICONV_IN_LIBICONV],1,[ext/iconv])
-        AC_DEFINE([HAVE_LIBICONV_IN_LIBICONV],1,[iconv() is aliased to libiconv() in -liconv])
+        PHP_DEFINE([ICONV_ALIASED_LIBICONV],1,[ext/iconv])
+        AC_DEFINE([ICONV_ALIASED_LIBICONV],1,[iconv() is aliased to libiconv() in -liconv])
       ], [
         PHP_CHECK_LIBRARY($iconv_lib_name, iconv, [
           found_iconv=yes

Modified: php/php-src/branches/PHP_5_3/ext/iconv/config.w32
===================================================================
--- php/php-src/branches/PHP_5_3/ext/iconv/config.w32	2010-03-08 15:42:26 UTC (rev 295967)
+++ php/php-src/branches/PHP_5_3/ext/iconv/config.w32	2010-03-08 15:51:08 UTC (rev 295968)
@@ -12,7 +12,7 @@

 		AC_DEFINE("HAVE_ICONV", 1, "Define if iconv extension is enabled");
 		AC_DEFINE("HAVE_LIBICONV", 1, "Define if libiconv is available");
-		AC_DEFINE("HAVE_LIBICONV_IN_LIBICONV", 1, "The iconv function is called iconv() in libiconv");
+		AC_DEFINE("ICONV_ALIASED_LIBICONV", 1, "The iconv function is called iconv() in libiconv");
 		AC_DEFINE("PHP_ICONV_IMPL", "\"libiconv\"", "Which iconv implementation to use");
 		AC_DEFINE("ICONV_SUPPORTS_ERRNO", 1, "Whether iconv supports errno or not");
 		ADD_FLAG("CFLAGS_ICONV", "/D PHP_ICONV_EXPORTS ");

Modified: php/php-src/branches/PHP_5_3/ext/iconv/iconv.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/iconv/iconv.c	2010-03-08 15:42:26 UTC (rev 295967)
+++ php/php-src/branches/PHP_5_3/ext/iconv/iconv.c	2010-03-08 15:51:08 UTC (rev 295968)
@@ -182,7 +182,7 @@
 }
 /* }}} */

-#if defined(HAVE_LIBICONV) && defined(HAVE_LIBICONV_IN_LIBICONV)
+#if defined(HAVE_LIBICONV) && defined(ICONV_ALIASED_LIBICONV)
 #define iconv libiconv
 #endif


Modified: php/php-src/branches/PHP_5_3/ext/iconv/php_iconv.h
===================================================================
--- php/php-src/branches/PHP_5_3/ext/iconv/php_iconv.h	2010-03-08 15:42:26 UTC (rev 295967)
+++ php/php-src/branches/PHP_5_3/ext/iconv/php_iconv.h	2010-03-08 15:51:08 UTC (rev 295968)
@@ -37,7 +37,7 @@
 #ifdef PHP_ATOM_INC
 #include "ext/iconv/php_have_iconv.h"
 #include "ext/iconv/php_have_libiconv.h"
-#include "ext/iconv/php_have_libiconv_in_libiconv.h"
+#include "ext/iconv/php_iconv_aliased_libiconv.h"
 #include "ext/iconv/php_have_glibc_iconv.h"
 #include "ext/iconv/php_have_bsd_iconv.h"
 #include "ext/iconv/php_have_ibm_iconv.h"

Modified: php/php-src/trunk/acinclude.m4
===================================================================
--- php/php-src/trunk/acinclude.m4	2010-03-08 15:42:26 UTC (rev 295967)
+++ php/php-src/trunk/acinclude.m4	2010-03-08 15:51:08 UTC (rev 295968)
@@ -2424,7 +2424,7 @@
   echo > ext/iconv/php_have_libiconv.h
   echo > ext/iconv/php_have_iconv.h
   echo > ext/iconv/php_php_iconv_impl.h
-  echo > ext/iconv/php_have_libiconv_in_libiconv.h
+  echo > ext/iconv/php_iconv_aliased_libiconv.h
   echo > ext/iconv/php_php_iconv_h_path.h
   echo > ext/iconv/php_iconv_supports_errno.h

@@ -2472,8 +2472,8 @@
         found_iconv=yes
         PHP_DEFINE(HAVE_LIBICONV,1,[ext/iconv])
         AC_DEFINE(HAVE_LIBICONV,1,[ ])
-        PHP_DEFINE([HAVE_LIBICONV_IN_LIBICONV],1,[ext/iconv])
-        AC_DEFINE([HAVE_LIBICONV_IN_LIBICONV],1,[iconv() is aliased to libiconv() in -liconv])
+        PHP_DEFINE([ICONV_ALIASED_LIBICONV],1,[ext/iconv])
+        AC_DEFINE([ICONV_ALIASED_LIBICONV],1,[iconv() is aliased to libiconv() in -liconv])
       ], [
         PHP_CHECK_LIBRARY($iconv_lib_name, iconv, [
           found_iconv=yes

Modified: php/php-src/trunk/ext/iconv/config.w32
===================================================================
--- php/php-src/trunk/ext/iconv/config.w32	2010-03-08 15:42:26 UTC (rev 295967)
+++ php/php-src/trunk/ext/iconv/config.w32	2010-03-08 15:51:08 UTC (rev 295968)
@@ -12,7 +12,7 @@

 		AC_DEFINE("HAVE_ICONV", 1, "Define if iconv extension is enabled");
 		AC_DEFINE("HAVE_LIBICONV", 1, "Define if libiconv is available");
-		AC_DEFINE("HAVE_LIBICONV_IN_LIBICONV", 1, "The iconv function is called iconv() in libiconv");
+		AC_DEFINE("ICONV_ALIASED_LIBICONV", 1, "The iconv function is called iconv() in libiconv");
 		AC_DEFINE("PHP_ICONV_IMPL", "\"libiconv\"", "Which iconv implementation to use");
 		AC_DEFINE("ICONV_SUPPORTS_ERRNO", 1, "Whether iconv supports errno or not");
 		ADD_FLAG("CFLAGS_ICONV", "/D PHP_ICONV_EXPORTS ");

Modified: php/php-src/trunk/ext/iconv/iconv.c
===================================================================
--- php/php-src/trunk/ext/iconv/iconv.c	2010-03-08 15:42:26 UTC (rev 295967)
+++ php/php-src/trunk/ext/iconv/iconv.c	2010-03-08 15:51:08 UTC (rev 295968)
@@ -176,7 +176,7 @@
 }
 /* }}} */

-#if defined(HAVE_LIBICONV) && defined(HAVE_LIBICONV_IN_LIBICONV)
+#if defined(HAVE_LIBICONV) && defined(ICONV_ALIASED_LIBICONV)
 #define iconv libiconv
 #endif


Modified: php/php-src/trunk/ext/iconv/php_iconv.h
===================================================================
--- php/php-src/trunk/ext/iconv/php_iconv.h	2010-03-08 15:42:26 UTC (rev 295967)
+++ php/php-src/trunk/ext/iconv/php_iconv.h	2010-03-08 15:51:08 UTC (rev 295968)
@@ -37,7 +37,7 @@
 #ifdef PHP_ATOM_INC
 #include "ext/iconv/php_have_iconv.h"
 #include "ext/iconv/php_have_libiconv.h"
-#include "ext/iconv/php_have_libiconv_in_libiconv.h"
+#include "ext/iconv/php_iconv_aliased_libiconv.h"
 #include "ext/iconv/php_have_glibc_iconv.h"
 #include "ext/iconv/php_have_bsd_iconv.h"
 #include "ext/iconv/php_have_ibm_iconv.h"
-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to