[libsigcplusplus/variadic_mem_fun3: 92/148] Remove unused SIGC_CXX_SELF_REFERENCE_IN_MEMBER_INITIALIZATION() configure check.



commit d9beb4ff554d5c5f1d7635b43267af99e44c456f
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Mar 3 10:21:15 2016 +0100

    Remove unused SIGC_CXX_SELF_REFERENCE_IN_MEMBER_INITIALIZATION() configure check.

 build/cxx.m4 |   25 -------------------------
 configure.ac |    1 -
 2 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/build/cxx.m4 b/build/cxx.m4
index cd49255..f1f80ee 100644
--- a/build/cxx.m4
+++ b/build/cxx.m4
@@ -1,28 +1,3 @@
-AC_DEFUN([SIGC_CXX_SELF_REFERENCE_IN_MEMBER_INITIALIZATION], [
-AC_MSG_CHECKING([if C++ compiler allows usage of member function in initialization of static member field.])
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
-[[
-  struct test
-  {
-    static char  test_function();
-
-    // Doesn't work with e.g. GCC 3.2.  However, if test_function()
-    // is wrapped in a nested structure, it works just fine.
-    static const bool  test_value
-      = (sizeof(test_function()) == sizeof(char));
-  };
-]],
-[[]])],
-[
-  sigcm_cxx_self_reference_in_member_initialization=yes
-  AC_DEFINE([SIGC_SELF_REFERENCE_IN_MEMBER_INITIALIZATION],[1],
-            [does the C++ compiler allow usage of member function in initialization of static member field.])
-],[
-  sigcm_cxx_self_reference_in_member_initialization=no
-])
-AC_MSG_RESULT([$sigcm_cxx_self_reference_in_member_initialization])
-])
-
 dnl
 dnl SIGC_CXX_PRAGMA_PUSH_POP_MACRO
 dnl
diff --git a/configure.ac b/configure.ac
index a17029d..2259fcb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,7 +50,6 @@ MM_ARG_ENABLE_DOCUMENTATION
 MM_ARG_WITH_TAGFILE_DOC([libstdc++.tag], [mm-common-libstdc++])
 
 AC_LANG([C++])
-SIGC_CXX_SELF_REFERENCE_IN_MEMBER_INITIALIZATION
 SIGC_CXX_PRAGMA_PUSH_POP_MACRO
 SIGC_CXX_HAS_SUN_REVERSE_ITERATOR
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]