<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/73b8087002b2c017c650a6d0730c1dc70ee01a8a">https://github.com/macports/macports-base/commit/73b8087002b2c017c650a6d0730c1dc70ee01a8a</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 73b8087002b2c017c650a6d0730c1dc70ee01a8a
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Fri May 12 16:38:41 2017 +0200
<span style='display:block; white-space:pre;color:#404040;'> Remove MP_COMPILER_ATTRIBUTE_LF_PRIVATE check
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> There is no code in base making use of the MP_PRIVATE define
</span><span style='display:block; white-space:pre;color:#404040;'> (or LF_PRIVATE, as incorrectly documented).
</span>---
aclocal.m4 | 1 -
configure.ac | 1 -
m4/foundation.m4 | 51 ---------------------------------------------------
3 files changed, 53 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aclocal.m4 b/aclocal.m4
</span><span style='display:block; white-space:pre;color:#808080;'>index 2eaffb1..9b6dc26 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aclocal.m4
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aclocal.m4
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,5 +1,4 @@
</span> builtin(include,m4/tcl.m4)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-builtin(include,m4/foundation.m4)
</span>
dnl Search for a variable in a list. Run ACTION-IF-FOUND if it is in the list,
dnl ACTION-IF-NOT-FOUND otherwise.
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/configure.ac b/configure.ac
</span><span style='display:block; white-space:pre;color:#808080;'>index 3ea757e..1a61812 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/configure.ac
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/configure.ac
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -194,7 +194,6 @@ AC_SUBST(CFLAGS_PEDANTIC)
</span> MP_WERROR
MP_COMPILER_ATTRIBUTE_UNUSED
<span style='display:block; white-space:pre;background:#ffe0e0;'>-MP_COMPILER_ATTRIBUTE_LF_PRIVATE
</span>
ACX_PTHREAD
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/m4/foundation.m4 b/m4/foundation.m4
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index af0b43f..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/m4/foundation.m4
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,51 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#------------------------------------------------------------------------
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# MP_COMPILER_ATTRIBUTE_LF_PRIVATE
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Determines whether the compiler supports the symbol
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# 'visibility("hidden")' attribute
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Arguments:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# None.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Requires:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Depends:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Results:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Defines the following macros:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# LF_PRIVATE
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#------------------------------------------------------------------------
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-AC_DEFUN([MP_COMPILER_ATTRIBUTE_LF_PRIVATE], [
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- AC_MSG_CHECKING([for gcc symbol visibility attribute])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- AC_CACHE_VAL(mp_cv_attribute_mp_private, [
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- AC_COMPILE_IFELSE([
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- AC_LANG_SOURCE([
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #if defined(__GNUC__) && defined(__APPLE__) && __GNUC__ < 4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # error Darwin does not support the visibility attribute with gcc releases prior to 4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #elif defined(WIN32) && __GNUC__ < 4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # error MinGW/Cygwin do not support the visibility attribute with gcc releases prior to 4.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int a __attribute__ ((visibility("hidden")));
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ],[
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mp_cv_attribute_mp_private="__attribute__((visibility(\"hidden\")))"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ],[
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mp_cv_attribute_mp_private="no"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- AC_MSG_RESULT([$mp_cv_attribute_mp_private])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if test x"$mp_cv_attribute_mp_private" = "xno"; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- MP_PRIVATE=""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- MP_PRIVATE="$mp_cv_attribute_mp_private"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- AC_DEFINE_UNQUOTED(MP_PRIVATE, $MP_PRIVATE, [Mark private symbols])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-])
</span></pre><pre style='margin:0'>
</pre>