diff options
author | Murray Cumming <murrayc@murrayc.com> | 2016-03-03 10:21:15 +0100 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2016-03-07 10:45:40 +0100 |
commit | d9beb4ff554d5c5f1d7635b43267af99e44c456f (patch) | |
tree | d80c0864e45daed5aafe9b764db21e238edfb89e | |
parent | f4b2871e9178aaf7751d25e8684a833be5302372 (diff) | |
download | sigc++-d9beb4ff554d5c5f1d7635b43267af99e44c456f.tar.gz |
Remove unused SIGC_CXX_SELF_REFERENCE_IN_MEMBER_INITIALIZATION() configure check.
-rw-r--r-- | build/cxx.m4 | 25 | ||||
-rw-r--r-- | 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 |