subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1509168 - in /subversion/trunk: build/ac-macros/svn-macros.m4 configure.ac subversion/svn_private_config.hw
Date Thu, 01 Aug 2013 10:58:09 GMT
Author: danielsh
Date: Thu Aug  1 10:58:09 2013
New Revision: 1509168

URL: http://svn.apache.org/r1509168
Log:
Remove detection of __builtin_constant_p from the build system.  It is unused
as of r1509166.

* build/ac-macros/svn-macros.m4
  (SVN_CHECK_FOR_ATOMIC_BUILTINS): Remove.

* configure.ac
  (SVN_HAS_DUNDER_BUILTINS): Remove.

* subversion/svn_private_config.hw
  (SVN_HAS_DUNDER_BUILTINS): Remove.

Modified:
    subversion/trunk/build/ac-macros/svn-macros.m4
    subversion/trunk/configure.ac
    subversion/trunk/subversion/svn_private_config.hw

Modified: subversion/trunk/build/ac-macros/svn-macros.m4
URL: http://svn.apache.org/viewvc/subversion/trunk/build/ac-macros/svn-macros.m4?rev=1509168&r1=1509167&r2=1509168&view=diff
==============================================================================
--- subversion/trunk/build/ac-macros/svn-macros.m4 (original)
+++ subversion/trunk/build/ac-macros/svn-macros.m4 Thu Aug  1 10:58:09 2013
@@ -163,25 +163,3 @@ AC_DEFUN([SVN_CHECK_FOR_ATOMIC_BUILTINS]
       return 0;
   }], [svn_cv_atomic_builtins=yes], [svn_cv_atomic_builtins=no], [svn_cv_atomic_builtins=no])])
 ])
-
-AC_DEFUN([SVN_CHECK_FOR_DUNDER_BUILTINS],
-[
-  AC_CACHE_CHECK([whether the compiler provides dunder builtins], [svn_cv_dunder_builtins],
-  [
-    AC_RUN_IFELSE([AC_LANG_SOURCE([[
-      int main(int argc)
-      {
-        return (!__builtin_constant_p(argc) && __builtin_constant_p("foobar"))
-               ? 0 /* EXIT_SUCCESS */ : 1 /* EXIT_FAILURE */;
-      }]])],
-      svn_cv_dunder_builtins="yes",
-      svn_cv_dunder_builtins="no",
-      [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
-        int main(void){
-      	  return __builtin_constant_p("foobar") ? 0 : 1;
-        }]])],
-        svn_cv_dunder_builtins="yes",
-        svn_cv_dunder_builtins="no")
-      ])
-  ])
-])

Modified: subversion/trunk/configure.ac
URL: http://svn.apache.org/viewvc/subversion/trunk/configure.ac?rev=1509168&r1=1509167&r2=1509168&view=diff
==============================================================================
--- subversion/trunk/configure.ac (original)
+++ subversion/trunk/configure.ac Thu Aug  1 10:58:09 2013
@@ -171,11 +171,6 @@ if test "$svn_cv_atomic_builtins" = "yes
     AC_DEFINE(SVN_HAS_ATOMIC_BUILTINS, 1, [Define if compiler provides atomic builtins])
 fi
 
-SVN_CHECK_FOR_DUNDER_BUILTINS
-if test "$svn_cv_dunder_builtins" = "yes"; then
-    AC_DEFINE(SVN_HAS_DUNDER_BUILTINS, 1, [Define if compiler provides __builtin_constant_p])
-fi
-
 dnl Set up a number of directories ---------------------
 
 dnl Create SVN_BINDIR for proper substitution

Modified: subversion/trunk/subversion/svn_private_config.hw
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn_private_config.hw?rev=1509168&r1=1509167&r2=1509168&view=diff
==============================================================================
--- subversion/trunk/subversion/svn_private_config.hw (original)
+++ subversion/trunk/subversion/svn_private_config.hw Thu Aug  1 10:58:09 2013
@@ -48,9 +48,6 @@
 #define SVN_FS_WANT_DB_MINOR    0
 #define SVN_FS_WANT_DB_PATCH    14
 
-/* No support for __builtin_constant_p */
-#define SVN_HAS_DUNDER_BUILTINS 0
-
 /* Path separator for local filesystem */
 #define SVN_PATH_LOCAL_SEPARATOR '\\'
 



Mime
View raw message